diff --git a/dist/base.css b/dist/base.css index edaa28ef91..4226264e3a 100644 --- a/dist/base.css +++ b/dist/base.css @@ -1455,6 +1455,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before, } .x-icon.b-font { margin: auto; + width: 100%; } .bi-file { opacity: 0; diff --git a/dist/bundle.css b/dist/bundle.css index 9b824d2797..df0dedd4e3 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -3502,6 +3502,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before, } .x-icon.b-font { margin: auto; + width: 100%; } .bi-file { opacity: 0; @@ -5473,7 +5474,8 @@ textarea::-webkit-scrollbar-thumb:hover { } @font-face { font-family: 'bi'; - src: url('https://fanruan.coding.me/fineui/dist/font/iconfont.eot'), /* IE6-IE8 */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('https://fanruan.coding.me/fineui/dist/font/iconfont.svg#svgFontName') format('svg'); + src: url('https://fanruan.coding.me/fineui/dist/font/iconfont.eot'); + src: url('https://fanruan.coding.me/fineui/dist/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('https://fanruan.coding.me/fineui/dist/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { diff --git a/dist/fineui.css b/dist/fineui.css index 21b2428b34..6b802a1057 100644 --- a/dist/fineui.css +++ b/dist/fineui.css @@ -3502,6 +3502,7 @@ body .bi-button.button-ignore.disabled.ghost .b-font:before, } .x-icon.b-font { margin: auto; + width: 100%; } .bi-file { opacity: 0; @@ -5473,7 +5474,8 @@ textarea::-webkit-scrollbar-thumb:hover { } @font-face { font-family: 'bi'; - src: url('decision/file?path=/com/fr/web/ui/font/iconfont.eot'), /* IE6-IE8 */ url('decision/file?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('decision/file?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('decision/file?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); + src: url('decision/file?path=/com/fr/web/ui/font/iconfont.eot'); + src: url('decision/file?path=/com/fr/web/ui/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('decision/file?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('decision/file?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('decision/file?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { diff --git a/dist/resource.css b/dist/resource.css index 6fd6c258fd..5ab06010e4 100644 --- a/dist/resource.css +++ b/dist/resource.css @@ -329,7 +329,8 @@ textarea::-webkit-scrollbar-thumb:hover { } @font-face { font-family: 'bi'; - src: url('font/iconfont.eot'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); + src: url('font/iconfont.eot'); + src: url('font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { diff --git a/public/css/font.css b/public/css/font.css index e9160b3a6c..be72d99353 100644 --- a/public/css/font.css +++ b/public/css/font.css @@ -1,6 +1,7 @@ @font-face { font-family: 'bi'; - src: url('https://fanruan.coding.me/fineui/dist/font/iconfont.eot'), /* IE6-IE8 */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('https://fanruan.coding.me/fineui/dist/font/iconfont.svg#svgFontName') format('svg'); + src: url('https://fanruan.coding.me/fineui/dist/font/iconfont.eot'); + src: url('https://fanruan.coding.me/fineui/dist/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('https://fanruan.coding.me/fineui/dist/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('https://fanruan.coding.me/fineui/dist/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { diff --git a/src/css/base/single/icon.css b/src/css/base/single/icon.css index a27b547736..03e445ad04 100644 --- a/src/css/base/single/icon.css +++ b/src/css/base/single/icon.css @@ -1,3 +1,4 @@ .x-icon.b-font { margin: auto; + width: 100%; } diff --git a/src/css/resource/font.css b/src/css/resource/font.css index 3a2ffee80a..31c5ce9232 100644 --- a/src/css/resource/font.css +++ b/src/css/resource/font.css @@ -1,6 +1,7 @@ @font-face { font-family: 'bi'; - src: url('font/iconfont.eot'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); + src: url('font/iconfont.eot'); + src: url('font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('font/iconfont.woff') format('woff'), /* chrome、firefox */ url('font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { diff --git a/src/less/base/single/icon.less b/src/less/base/single/icon.less index dce0c35351..080a14736c 100644 --- a/src/less/base/single/icon.less +++ b/src/less/base/single/icon.less @@ -1,3 +1,4 @@ .x-icon.b-font { margin: auto; + width: 100%; } \ No newline at end of file diff --git a/src/less/resource/font.less b/src/less/resource/font.less index 0d53ac15e5..91263acb27 100644 --- a/src/less/resource/font.less +++ b/src/less/resource/font.less @@ -4,7 +4,8 @@ @font-face { font-family: 'bi'; - src: url('@{fontUrl}iconfont.eot'), /* IE6-IE8 */ url('@{fontUrl}iconfont.woff') format('woff'), /* chrome、firefox */ url('@{fontUrl}iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('@{fontUrl}iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ + src: url('@{fontUrl}iconfont.eot'); + src: url('@{fontUrl}iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('@{fontUrl}iconfont.woff') format('woff'), /* chrome、firefox */ url('@{fontUrl}iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('@{fontUrl}iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font { diff --git a/ui/css/font.css b/ui/css/font.css index 0a2941acc2..524658c6cd 100644 --- a/ui/css/font.css +++ b/ui/css/font.css @@ -1,6 +1,7 @@ @font-face { font-family: 'bi'; - src: url('decision/file?path=/com/fr/web/ui/font/iconfont.eot'), /* IE6-IE8 */ url('decision/file?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('decision/file?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('decision/file?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); + src: url('decision/file?path=/com/fr/web/ui/font/iconfont.eot'); + src: url('decision/file?path=/com/fr/web/ui/font/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('decision/file?path=/com/fr/web/ui/font/iconfont.woff') format('woff'), /* chrome、firefox */ url('decision/file?path=/com/fr/web/ui/font/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('decision/file?path=/com/fr/web/ui/font/iconfont.svg#svgFontName') format('svg'); /* iOS 4.1- */ } .b-font {