mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Clean up admin i18n css
<html> element has the lang attribute as a default. so, we can clean up
css files.
<html> 요소는 lang 속성을 가지고 있습니다. 이를 이용하면 css 파일을 정리할 수 있습니다.
{$lang_type} 에 따른 css 를 불러오도록 HTMLDisplayHandler.php 에 정의되어 있지만, 한국어, 영어
외에는 파일이 존재하지 않습니다. (일본어도 _ja.css 파일은 부재) 언어별로 파일을 만들지 않아도 충분히 표현할 수 있기
때문에 이를 하나의 파일로 합칩니다.
This commit is contained in:
parent
25de7998c2
commit
fab9e43c16
7 changed files with 33 additions and 20 deletions
|
|
@ -2389,3 +2389,36 @@ html[lang="mn"] .x .g11n.active>[disabled],
|
|||
height: 1px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* language specific styles */
|
||||
/* English admin_en.css */
|
||||
html:lang(en) body>.x,
|
||||
html:lang(en) .x table,
|
||||
html:lang(en) .x input,
|
||||
html:lang(en) .x textarea,
|
||||
html:lang(en) .x select,
|
||||
html:lang(en) .x button{font-family:Arial,Helvetica,sans-serif}
|
||||
@media all and (max-width:980px){
|
||||
html:lang(en) body>.x,
|
||||
html:lang(en) .x table,
|
||||
html:lang(en) .x input,
|
||||
html:lang(en) .x textarea,
|
||||
html:lang(en) .x select,
|
||||
html:lang(en) .x button{font-family:sans-serif}
|
||||
}
|
||||
|
||||
/* Korean admin_ko.css */
|
||||
html:lang(ko) body>.x,
|
||||
html:lang(ko) .x table,
|
||||
html:lang(ko) .x input,
|
||||
html:lang(ko) .x textarea,
|
||||
html:lang(ko) .x select,
|
||||
html:lang(ko) .x button{font-family:'나눔고딕',NanumGothic,'맑은 고딕','Apple SD Gothic Neo','돋움',Dotum,Arial,Helvetica,sans-serif}
|
||||
|
||||
/* Japanese admin_jp.css */
|
||||
html:lang(ja) body>.x,
|
||||
html:lang(ja) .x table,
|
||||
html:lang(ja) .x input,
|
||||
html:lang(ja) .x textarea,
|
||||
html:lang(ja) .x select,
|
||||
html:lang(ja) .x button{font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@charset "utf-8";
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-family:Arial,Helvetica,sans-serif}
|
||||
@media all and (max-width:980px){
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-family:sans-serif}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@charset "utf-8";
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif}
|
||||
@media all and (max-width:980px){
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'MS Pゴシック',sans-serif}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
@charset "utf-8";
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-family:나눔고딕,NanumGothic,돋움,Dotum,Arial,Helvetica,sans-serif}
|
||||
@media all and (max-width:980px){
|
||||
body>.x,.x table,.x input,.x textarea,.x select,.x button{font-family:sans-serif}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue