Difference between revisions of "MediaWiki:Common.css"
From MaxCard
(Нова страница: .top-bar, .top-bar-section ul, .top-bar-section ul li.active > a, .top-bar-section li a:not(.button), .top-bar-section .has-form, .top-bar.expanded .title-area { ba...) |
|||
Line 12: | Line 12: | ||
.top-bar-section > ul > [role="separator"] { | .top-bar-section > ul > [role="separator"] { | ||
border-color: #47B750; | border-color: #47B750; | ||
+ | } | ||
+ | |||
+ | @media only screen and (min-width: 58.75em | ||
+ | |||
+ | .top-bar input, .top-bar .button { | ||
+ | position: relative; | ||
+ |
color: #fff !important;
| ||
+ | background-color: #47B750; | ||
+ | border-color: #47B750; | ||
+ |
-webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.30); | ||
+ | -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.30); | ||
+ | box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.30); | ||
+ | -webkit-border-radius: 3px; | ||
+ | -moz-border-radius: 3px; | ||
+ | border-radius: 3px; | ||
+ | border: 0; | ||
+ | margin: 0 5px 5px 0; | ||
+ |
outline: none !important; | ||
+ | display: inline-block; | ||
+ | padding: 6px 12px; | ||
+ | font-size: 14px; | ||
+ | font-weight: normal; | ||
+ | line-height: 1.42857143; | ||
+ | text-align: center; | ||
+ | white-space: nowrap; | ||
+ | vertical-align: middle; | ||
+ | -ms-touch-action: manipulation; | ||
+ | touch-action: manipulation; | ||
+ | cursor: pointer; | ||
+ | -webkit-user-select: none; | ||
+ | } | ||
} | } |
Revision as of 11:40, 22 February 2015
.top-bar, .top-bar-section ul, .top-bar-section ul li.active > a, .top-bar-section li a:not(.button), .top-bar-section .has-form, .top-bar.expanded .title-area { background: #47B750; color: white; } .top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] { border-color: #47B750; } @media only screen and (min-width: 58.75em .top-bar input, .top-bar .button { position: relative; color: #fff !important; background-color: #47B750; border-color: #47B750; -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.30); -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.30); box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.30); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; border: 0; margin: 0 5px 5px 0; outline: none !important; display: inline-block; padding: 6px 12px; font-size: 14px; font-weight: normal; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; } }