MediaWiki:Common.css: различия между версиями

Материал из Ботвапедии
Перейти к: навигация, поиск
Строка 19: Строка 19:
 
/*Менюшка*/
 
/*Менюшка*/
  
ul#css3menu1,ul#css3menu1 ul{
+
 
margin:0;list-style:none;padding:0;background-color:#dedede;border-width:1px;border-style:solid;border-color:#5f5f5f;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}
+
#pcm{display:none;}
ul#css3menu1 ul{
+
ul.pureCssMenu ul{display:none}
display:none;position:absolute;left:0;top:100%;-moz-box-shadow:3.5px 3.5px 5px #000000;-webkit-box-shadow:3.5px 3.5px 5px #000000;box-shadow:3.5px 3.5px 5px #000000;background-color:#CDAA80;border-radius:6px;-moz-border-radius:6px;-webkit-border-radius:6px;border-color:#d4d4d4;padding:0 10px 10px;}
+
ul.pureCssMenu li:hover>ul{display:block}
ul#css3menu1 li:hover>*{
+
ul.pureCssMenu ul{position: absolute;left:-1px;top:98%;}
display:block;}
+
ul.pureCssMenu ul ul{position: absolute;left:98%;top:-2px;}
ul#css3menu1 li{
+
ul.pureCssMenu,ul.pureCssMenu ul {
position:relative;display:block;white-space:nowrap;font-size:0;float:left;}
+
margin:0px;
ul#css3menu1 li:hover{
+
list-style:none;
z-index:1;}
+
padding:0px 2px 2px 0px;
ul#css3menu1 ul ul{
+
background-color:#333333;
position:absolute;left:100%;top:0;}
+
background-repeat:repeat;
ul#css3menu1{
+
border-color:#cccccc #111111 #111111 #cccccc;
font-size:0;z-index:999;position:relative;display:inline-block;zoom:1;padding:0;
+
border-width:1px;
*display:inline;}
+
border-style:solid;
* html ul#css3menu1 li a{
+
}
display:inline-block;}
+
ul.pureCssMenu table {border-collapse:collapse}ul.pureCssMenu {
ul#css3menu1>li{
+
display:block;
margin:0;}
+
zoom:1;
ul#css3menu1 a:active, ul#css3menu1 a:focus{
+
float: left;
outline-style:none;}
+
}
ul#css3menu1 a{
+
ul.pureCssMenu ul{
display:block;vertical-align:middle;text-align:left;text-decoration:none;font:bold 14px Trebuchet MS;color:#000000;text-shadow:#FFF 0 0 1px;cursor:pointer;padding:10px;background-color:#CDAA80;background-image:url("mainbk.png");background-repeat:repeat;background-position:0 0;border-width:0 0 0 1px;border-style:solid;border-color:#C0C0C0;}
+
width:155.4px;
ul#css3menu1 ul li{
+
}
float:none;margin:10px 0 0;}
+
ul.pureCssMenu li{
ul#css3menu1 ul a{
+
display:block;
text-align:left;padding:4px;background-color:#CDAA80;background-image:none;border-width:0;border-radius:0px;-moz-border-radius:0px;-webkit-border-radius:0px;font:14px Tahoma;color:#000;text-decoration:none;}
+
margin:2px 0px 0px 2px;
ul#css3menu1 li:hover>a,ul#css3menu1 li a.pressed{
+
font-size:0px;
background-color:#f8ac00;border-color:#C0C0C0;border-style:solid;color:#000000;text-shadow:#FFF 0 0 1px;background-image:url("mainbk.png");background-position:0 100px;text-decoration:none;}
+
}
ul#css3menu1 span{
+
ul.pureCssMenu a:active, ul.pureCssMenu a:focus {
display:block;overflow:visible;background-position:right center;background-repeat:no-repeat;padding-right:0px;}
+
outline-style:none;
ul#css3menu1 ul span{
+
}
background-image:url("arrowsub.png");padding-right:12px;}
+
ul.pureCssMenu a, ul.pureCssMenu li.dis a:hover, ul.pureCssMenu li.sep a:hover {
ul#css3menu1 ul li:hover>a,ul#css3menu1 ul li a.pressed{
+
display:block;
background-image:none;color:#868686;text-decoration:none;}
+
vertical-align:middle;
ul#css3menu1 li.topfirst>a{
+
background-color:#333333;
border-radius:5px 0 0 5px;-moz-border-radius:5px 0 0 5px;-webkit-border-radius:5px;-webkit-border-top-right-radius:0;-webkit-border-bottom-right-radius:0;}
+
border-width:1px;
ul#css3menu1 li.toplast>a{
+
border-color:#333333;
border-radius:0 5px 5px 0;-moz-border-radius:0 5px 5px 0;-webkit-border-radius:0;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:5px;}
+
border-style:solid;
 +
text-align:left;
 +
text-decoration:none;
 +
padding:2px 5px 2px 10px;
 +
_padding-left:0;
 +
font:normal 12px Trebuchet MS,Tahoma;
 +
color: #cccccc;
 +
text-decoration:none;
 +
cursor:default;
 +
}
 +
ul.pureCssMenu span{
 +
overflow:hidden;
 +
}
 +
ul.pureCssMenu li {
 +
float:left;
 +
}
 +
ul.pureCssMenu ul li {
 +
float:none;
 +
}
 +
ul.pureCssMenu ul a {
 +
text-align:left;
 +
white-space:nowrap;
 +
}
 +
ul.pureCssMenu li.sep{
 +
text-align:left;
 +
padding:0px;
 +
line-height:0;
 +
height:100%;
 +
}
 +
ul.pureCssMenu li.sep span{
 +
float:none; padding-right:0;
 +
width:3px;
 +
height:100%;
 +
display:inline-block;
 +
background-color:#cccccc #111111 #111111 #cccccc; background-image:none;}
 +
ul.pureCssMenu ul li.sep span{
 +
width:100%;
 +
height:3px;
 +
}
 +
ul.pureCssMenu li:hover{
 +
position:relative;
 +
}
 +
ul.pureCssMenu li:hover>a{
 +
background-color:#377D9F;
 +
border-color:#377D9F;
 +
border-style:solid;
 +
font:normal 12px Trebuchet MS, Tahoma;
 +
color: #FFFFFF;
 +
text-decoration:none;
 +
}
 +
ul.pureCssMenu li a:hover{
 +
position:relative;
 +
background-color:#377D9F;
 +
border-color:#377D9F;
 +
border-style:solid;
 +
font:normal 12px Trebuchet MS, Tahoma;
 +
color: #FFFFFF;
 +
text-decoration:none;
 +
}
 +
ul.pureCssMenu li.dis a {
 +
color: #666 !important;
 +
}
 +
ul.pureCssMenu img {border: none;float:left;_float:none;margin-right:2px;width:16px;
 +
height:16px;
 +
}
 +
ul.pureCssMenu ul img {width:16px;
 +
height:16px;
 +
}
 +
ul.pureCssMenu img.over{display:none}
 +
ul.pureCssMenu li.dis a:hover img.over{display:none !important}
 +
ul.pureCssMenu li.dis a:hover img.def {display:inline !important}
 +
ul.pureCssMenu li:hover > a img.def  {display:none}
 +
ul.pureCssMenu li:hover > a img.over {display:inline}
 +
ul.pureCssMenu a:hover img.over,ul.pureCssMenu a:hover ul img.def,ul.pureCssMenu a:hover a:hover ul img.def,ul.pureCssMenu a:hover a:hover a:hover ul img.def,ul.pureCssMenu a:hover a:hover img.over,ul.pureCssMenu a:hover a:hover a:hover img.over,ul.pureCssMenu a:hover a:hover a:hover a:hover img.over{display:inline}
 +
ul.pureCssMenu a:hover img.def,ul.pureCssMenu a:hover ul img.over,ul.pureCssMenu a:hover a:hover ul img.over,ul.pureCssMenu a:hover a:hover a:hover ul img.over,ul.pureCssMenu a:hover a:hover img.def,ul.pureCssMenu a:hover a:hover a:hover img.def,ul.pureCssMenu a:hover a:hover a:hover a:hover img.def{display:none}
 +
ul.pureCssMenu a:hover ul,ul.pureCssMenu a:hover a:hover ul,ul.pureCssMenu a:hover a:hover a:hover ul{display:block}
 +
ul.pureCssMenu a:hover ul ul,ul.pureCssMenu a:hover a:hover ul ul{display:none}
 +
ul.pureCssMenu span{
 +
display:block;
 +
background-image:url(./images/arr_white.gif);
 +
background-position:right center;
 +
background-repeat: no-repeat;
 +
  padding-right:12px;}
 +
ul.pureCssMenu li:hover>a>span{ background-image:url(./images/arrv_white.gif);
 +
}
 +
ul.pureCssMenu a:hover span{ _background-image:url(./images/arrv_white.gif)}
 +
ul.pureCssMenu ul span,ul.pureCssMenu a:hover table span{background-image:url(./images/arr_white.gif)}

Версия 11:43, 23 сентября 2013

/** Collapsible tables *********************************************************
 *
 *  Description: Allows tables to be collapsed, showing only the header. See
 *                         http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
 *  Maintainers: [[en:User:R. Koot]]
 */
 
table.collapsed tr.collapsible {
        display: none;
}
 
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the             */
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;    /* are styled here so they can be customised.             */
        text-align: right;
        width: auto;
}

/*Менюшка*/


#pcm{display:none;}
ul.pureCssMenu ul{display:none}
ul.pureCssMenu li:hover>ul{display:block}
ul.pureCssMenu ul{position: absolute;left:-1px;top:98%;}
ul.pureCssMenu ul ul{position: absolute;left:98%;top:-2px;}
ul.pureCssMenu,ul.pureCssMenu ul {
	margin:0px;
	list-style:none;
	padding:0px 2px 2px 0px;
	background-color:#333333;
	background-repeat:repeat;
	border-color:#cccccc #111111 #111111 #cccccc;
	border-width:1px;
	border-style:solid;
}
ul.pureCssMenu table {border-collapse:collapse}ul.pureCssMenu {
	display:block;
	zoom:1;
	float: left;
}
ul.pureCssMenu ul{
	width:155.4px;
}
ul.pureCssMenu li{
	display:block;
	margin:2px 0px 0px 2px;
	font-size:0px;
}
ul.pureCssMenu a:active, ul.pureCssMenu a:focus {
outline-style:none;
}
ul.pureCssMenu a, ul.pureCssMenu li.dis a:hover, ul.pureCssMenu li.sep a:hover {
	display:block;
	vertical-align:middle;
	background-color:#333333;
	border-width:1px;
	border-color:#333333;
	border-style:solid;
	text-align:left;
	text-decoration:none;
	padding:2px 5px 2px 10px;
	_padding-left:0;
	font:normal 12px Trebuchet MS,Tahoma;
	color: #cccccc;
	text-decoration:none;
	cursor:default;
}
ul.pureCssMenu span{
	overflow:hidden;
}
ul.pureCssMenu li {
	float:left;
}
ul.pureCssMenu ul li {
	float:none;
}
ul.pureCssMenu ul a {
	text-align:left;
	white-space:nowrap;
}
ul.pureCssMenu li.sep{
	text-align:left;
	padding:0px;
	line-height:0;
	height:100%;
}
ul.pureCssMenu li.sep span{
	float:none;	padding-right:0;
	width:3px;
	height:100%;
	display:inline-block;
	background-color:#cccccc #111111 #111111 #cccccc;	background-image:none;}
ul.pureCssMenu ul li.sep span{
	width:100%;
	height:3px;
}
ul.pureCssMenu li:hover{
	position:relative;
}
ul.pureCssMenu li:hover>a{
	background-color:#377D9F;
	border-color:#377D9F;
	border-style:solid;
	font:normal 12px Trebuchet MS, Tahoma;
	color: #FFFFFF;
	text-decoration:none;
}
ul.pureCssMenu li a:hover{
	position:relative;
	background-color:#377D9F;
	border-color:#377D9F;
	border-style:solid;
	font:normal 12px Trebuchet MS, Tahoma;
	color: #FFFFFF;
	text-decoration:none;
}
ul.pureCssMenu li.dis a {
	color: #666 !important;
}
ul.pureCssMenu img {border: none;float:left;_float:none;margin-right:2px;width:16px;
height:16px;
}
ul.pureCssMenu ul img {width:16px;
height:16px;
}
ul.pureCssMenu img.over{display:none}
ul.pureCssMenu li.dis a:hover img.over{display:none !important}
ul.pureCssMenu li.dis a:hover img.def {display:inline !important}
ul.pureCssMenu li:hover > a img.def  {display:none}
ul.pureCssMenu li:hover > a img.over {display:inline}
ul.pureCssMenu a:hover img.over,ul.pureCssMenu a:hover ul img.def,ul.pureCssMenu a:hover a:hover ul img.def,ul.pureCssMenu a:hover a:hover a:hover ul img.def,ul.pureCssMenu a:hover a:hover img.over,ul.pureCssMenu a:hover a:hover a:hover img.over,ul.pureCssMenu a:hover a:hover a:hover a:hover img.over{display:inline}
ul.pureCssMenu a:hover img.def,ul.pureCssMenu a:hover ul img.over,ul.pureCssMenu a:hover a:hover ul img.over,ul.pureCssMenu a:hover a:hover a:hover ul img.over,ul.pureCssMenu a:hover a:hover img.def,ul.pureCssMenu a:hover a:hover a:hover img.def,ul.pureCssMenu a:hover a:hover a:hover a:hover img.def{display:none}
ul.pureCssMenu a:hover ul,ul.pureCssMenu a:hover a:hover ul,ul.pureCssMenu a:hover a:hover a:hover ul{display:block}
ul.pureCssMenu a:hover ul ul,ul.pureCssMenu a:hover a:hover ul ul{display:none}
ul.pureCssMenu span{
	display:block;
	background-image:url(./images/arr_white.gif);
	background-position:right center;
	background-repeat: no-repeat;
   padding-right:12px;}
ul.pureCssMenu li:hover>a>span{	background-image:url(./images/arrv_white.gif);
}
ul.pureCssMenu a:hover span{	_background-image:url(./images/arrv_white.gif)}
ul.pureCssMenu ul span,ul.pureCssMenu a:hover table span{background-image:url(./images/arr_white.gif)}