MediaWiki:Common.css — различия между версиями
Designer (обсуждение | вклад) |
24pm (обсуждение | вклад) м (косметика) |
||
Строка 1: | Строка 1: | ||
/** | /** | ||
* Slide panel | * Slide panel | ||
− | * @author | + | * @author ALEX, based on code by mwjames |
*/ | */ | ||
#panelMain { | #panelMain { | ||
Строка 81: | Строка 81: | ||
overflow: hidden; | overflow: hidden; | ||
height: 100%; | height: 100%; | ||
− | + | background: transparent; | |
− | |||
background: #fff; | background: #fff; | ||
border: 0 solid #000; | border: 0 solid #000; | ||
Строка 90: | Строка 89: | ||
} | } | ||
− | table.slideTable { | + | table.slideTable { |
− | |||
background: #164eaf; | background: #164eaf; | ||
border: 1px solid black; | border: 1px solid black; | ||
Строка 104: | Строка 102: | ||
background: #fff; | background: #fff; | ||
position: relative | position: relative | ||
− | |||
} | } | ||
Строка 139: | Строка 136: | ||
text-indent: -15px; | text-indent: -15px; | ||
margin-left: 15px; | margin-left: 15px; | ||
− | } | + | } |
− | |||
.sticky { | .sticky { | ||
position: fixed; | position: fixed; | ||
top: 0px; | top: 0px; | ||
− | z-index: 101; | + | z-index: 101; |
− | |||
} | } | ||
Строка 152: | Строка 147: | ||
display: inline; | display: inline; | ||
position: relative; | position: relative; | ||
− | + | float: right; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
− | |||
.block1 { | .block1 { | ||
− | float: right; | + | float: right; |
width:50px | width:50px | ||
− | |||
} | } | ||
.block2 { | .block2 { | ||
− | float: right; | + | float: right; |
− | |||
} | } | ||
+ | /* end of slide panel section */ |
Версия 11:42, 30 сентября 2016
/** * Slide panel * @author ALEX, based on code by mwjames */ #panelMain { /*width: 500px;*/ /*height: 100%; */ background: transparent; /*float: right;*/ border: 2px solid red; } .panelMain{ padding: 10px; } .panelMain.fixed{ position: fixed; top: 3px; right: 3px; } #panelTabs { position: relative; width: 45px; /*height: 100%;*/ background-color: transparent; float: right; margin: 0; padding: 0; margin-right: -10px; margin-left: 10px; border: 2px solid green; } #tabInfo { top: 2px; } #tabTOC { top: 45px; left: 50px; } #panelContents { position: relative; float: right; width: 420px; border: 2px solid blue; } #contentInfo { width: 100%; } #contentTOC { width: 100%; } div.slideTab { color: white; float: right; margin: 0px; padding: 0px; background: #164EAF; display: block; cursor:pointer; border: 2px solid #fff; border-right: 0; -webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; border-radius: 5px 0 0 5px; box-shadow: 0px 1px 5px 0px #000; filter: progid:DXImageTransform.Microsoft.DropShadow(sProperties); -webkit-box-shadow: 0px 1px 5px 0px #000; -moz-box-shadow: 0px 1px 5px 0px #000; } div.slideContent { position: relative; overflow: hidden; height: 100%; background: transparent; background: #fff; border: 0 solid #000; float:right; width: 100%; margin-left: 10px; } table.slideTable { background: #164eaf; border: 1px solid black; margin: 0 0 0 0px; padding: 3px 3px 3px 3px; -moz-border-radius: 4px; border-radius: 4px; width: 100%; } table.slideTable tr { background: #fff; position: relative } table.slideTable td { padding: 5px; vertical-align: top !important; max-height:500px; } table.slideTable th { background: #164eaf; border: 0px; padding: 5px; font-size: 120%; font-weight: bold; font-family: Trebuchet MS, Helvetica, Arial, sans-serif; color: white; vertical-align: top !important; } table.slideTable th.smworange { background: #d57520; } table.slideTable th a { color: #fff; } table.slideTable th a { color: #164eaf; } #slideTable #toc.toc { text-indent: -15px; margin-left: 15px; } .sticky { position: fixed; top: 0px; z-index: 101; } .common { display: inline; position: relative; float: right; } .block1 { float: right; width:50px } .block2 { float: right; } /* end of slide panel section */