mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
.btn UI fix.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12597 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e94a6b4f4c
commit
7c8730f645
10 changed files with 68 additions and 57 deletions
|
|
@ -6,29 +6,31 @@ article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display
|
|||
body{word-wrap:break-word}
|
||||
a img{border:0}
|
||||
[hidden]{display:none}
|
||||
.xe_content img{max-width:100%;height:auto}
|
||||
@media \0screen{.xe_content img{max-width:none}}
|
||||
img{max-width:100%;height:auto}
|
||||
@media \0screen{img{max-width:none}}
|
||||
/* Button Area */
|
||||
.btnArea{margin:1em 0;text-align:right;zoom:1;clear:both}
|
||||
.btnArea:after{content:"";display:block;clear:both}
|
||||
.btnArea .etc{float:left}
|
||||
/* Button - Legacy Code (Don't use it. It will be removed as soon as possible.) */
|
||||
.btn{position:relative;display:inline-block;vertical-align:middle}
|
||||
.btn *{display:inline-block;padding:0 8px;height:24px;line-height:22px;margin:0;font-weight:bold !important;color:#fff;text-decoration:none !important;border:1px solid;cursor:pointer;overflow:visible;border-radius:3px;box-shadow:inset 0 0 1px #fff;background-color:#666;text-shadow:0 -1px 0 #333;zoom:1}
|
||||
.btn *[disabled=disabled]{opacity:.5;*filter:alpha(opacity=50)}
|
||||
.btn a,
|
||||
.btn *[type=button]{border-color:#ccc;color:#333 !important;background:#eee -webkit-gradient(linear,0% 0%,0% 100%,from(#fff),to(#ddd));background:#eee -moz-linear-gradient(top,#fff,#ddd);background-color:#eee;text-shadow:1px 1px 0 #fff;filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#ffffff, endColorStr=#dddddd)}
|
||||
.btn *[type=submit]{border-color:#666;background:#333 -webkit-gradient(linear,0% 0%,0% 100%,from(#777),to(#777),color-stop(0.5,#333),color-stop(0.5,#000)) !important;background:#333 -moz-linear-gradient(top,#777,#000) !important;background-color:#333 !important;color:#ffc !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorStr=#777777, endColorStr=#333333)}
|
||||
.btn a{height:22px}
|
||||
.btn.medium *{padding:0 12px;font-size:16px;height:30px;line-height:28px}
|
||||
.btn.medium a{height:28px}
|
||||
.btn.large *{padding:0 18px;font-size:22px;height:36px;line-height:34px}
|
||||
.btn.large a{height:34px}
|
||||
/* Text Button */
|
||||
input[type=submit].text,
|
||||
input[type=button].text,
|
||||
button[type=submit].text,
|
||||
button[type=button].text{border:0;overflow:visible;padding:0;margin:0 4px 0 0;color:#33a !important;background:none;text-decoration:underline;cursor:pointer}
|
||||
.btnArea>.etc{float:left}
|
||||
/* Button */
|
||||
.btn{text-decoration:none !important;display:inline-block;*display:inline;padding:0 12px;margin-bottom:0;*margin-left:.3em;font-size:12px;line-height:24px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:middle;cursor:pointer;background-color:#f5f5f5;*background-color:#e6e6e6;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(to bottom, #ffffff, #e6e6e6);background-repeat:repeat-x;border:1px solid #bbbbbb;*border:0;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);border-bottom-color:#a2a2a2;border-radius:2px;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);*zoom:1;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05)}
|
||||
.btn:hover,
|
||||
.btn:active,
|
||||
.btn[disabled]{color:#333333;background-color:#e6e6e6;*background-color:#d9d9d9}
|
||||
.btn>a,
|
||||
.btn>button,
|
||||
.btn>input{display:inline;margin:0;padding:0;text-decoration:none !important;width:auto;height:auto;line-height:normal !important;border:0;background:none;color:#333;font-size:12px}
|
||||
.btn-group{position:relative;display:inline-block;*display:inline;*margin-left:.3em;font-size:0;white-space:nowrap;vertical-align:middle;*zoom:1}
|
||||
.btn-group:first-child{*margin-left:0}
|
||||
.btn-group+.btn-group{margin-left:5px}
|
||||
.btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
|
||||
.btn-group>.btn+.btn{margin-left:-1px}
|
||||
.btn-group>.btn:first-child{margin-left:0;-webkit-border-bottom-left-radius:4px;border-bottom-left-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-topleft:4px}
|
||||
.btn-group>.btn:last-child{-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-right-radius:4px;-moz-border-radius-topright:4px;-moz-border-radius-bottomright:4px}
|
||||
.btn-group>.btn:hover,
|
||||
.btn-group>.btn:focus,
|
||||
.btn-group>.btn:active,
|
||||
.btn-group>.btn.active{z-index:2}
|
||||
/* Popup Menu Area */
|
||||
#popup_menu_area{position:absolute;background:#fff;border:1px solid #e9e9e9;border-radius:3px;margin:10px 0;padding:10px;font-size:12px;box-shadow:0 0 6px #666;filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=135, strength=5)}
|
||||
#popup_menu_area ul{list-style:none;margin:0;padding:0}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue