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

Материал из Ботвапедии
Перейти к: навигация, поиск
Строка 1: Строка 1:
−
.dtree {
+
/** Collapsible tables *********************************************************
−
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
+
*
−
font-size: 11px;
+
*  Description: Allows tables to be collapsed, showing only the header. See
−
color: #666;
+
*                        http://www.mediawiki.org/wiki/Manual:Collapsible_tables.
−
white-space: nowrap;
+
*  Maintainers: [[en:User:R. Koot]]
 +
*/
 +
 +
table.collapsed tr.collapsible {
 +
        display: none;
 
}
 
}
−
.dtree img {
+
−
border: 0px;
+
.collapseButton {               /* 'show'/'hide' buttons created dynamically by the            */
−
vertical-align: middle;
+
        float: right;           /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
−
}
+
        font-weight: normal;   /* are styled here so they can be customised.             */
−
.dtree a {
+
        text-align: right;
−
color: #333;
+
        width: auto;
−
text-decoration: none;
 
−
}
 
−
.dtree a.node, .dtree a.nodeSel {
 
−
white-space: nowrap;
 
−
padding: 1px 2px 1px 2px;
 
−
}
 
−
.dtree a.node:hover, .dtree a.nodeSel:hover {
 
−
color: #333;
 
−
text-decoration: underline;
 
−
}
 
−
.dtree a.nodeSel {
 
−
background-color: #c0d2ec;
 
−
}
 
−
.dtree .clip {
 
−
overflow: hidden;
 
−
padding-bottom: 1px;
 
 
}
 
}

Версия от 23:06, 5 сентября 2012

/** 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;
}