MediaWiki:Common.css: Difference between revisions
From Vintage Story Wiki
CreativeMD (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .treeview{margin-top:0.3em}.treeview ul,.treeview li{margin:0;padding:0;list-style-type:none;list-style-image:none}.treeview...") |
CreativeMD (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.treeview{margin-top:0.3em}.treeview ul,.treeview li{margin:0;padding:0;list-style-type:none;list-style-image:none}.treeview li{display:table}.treeview li li{position:relative;padding-left:13px;margin-left:7px;border-left:1px solid #636363}.treeview li li:before{content:"";position:absolute;top:0;left:0;width:11px;height:11px;border-bottom:1px solid #636363}.treeview li li.first:before{border-color:#636363;border-style:solid;border-width:1px 0 0 1px;height:100%;margin-top:11px;width:10px}.treeview li li.first,.treeview li li:last-child{border:0;padding-left:14px}.treeview li li:last-child:before{border-left:1px solid #636363;width:10px} | .treeview{margin-top:0.3em}.treeview ul,.treeview li{margin:0;padding:0;list-style-type:none;list-style-image:none}.treeview li{display:table}.treeview li li{position:relative;padding-left:13px;margin-left:7px;border-left:1px solid #636363}.treeview li li:before{content:"";position:absolute;top:0;left:0;width:11px;height:11px;border-bottom:1px solid #636363}.treeview li li.first:before{border-color:#636363;border-style:solid;border-width:1px 0 0 1px;height:100%;margin-top:11px;width:10px}.treeview li li.first,.treeview li li:last-child{border:0;padding-left:14px}.treeview li li:last-child:before{border-left:1px solid #636363;width:10px} | ||
.tt-table div.tt { | |||
display:inline-block; | |||
position:relative; | |||
} | |||
.tt-table div.tt div.content { | |||
border:1px gray solid; | |||
border-radius: 2px; | |||
z-index: 10; | |||
padding:0 4px 0 5px; | |||
position:relative; | |||
background-color: #dbffbe; | |||
} | |||
.tt-table div.tt div.tail { | |||
border:2px gray solid; | |||
border-right: 0; | |||
border-top: 0; | |||
position:absolute; | |||
border-radius: 2px; | |||
bottom: 11px; | |||
left: -10px; | |||
z-index: 0; | |||
} | |||
.tt-table div.tt-parent div.content { | |||
cursor:pointer; | |||
background-color: lightgray; | |||
} | |||
.tt-table tr.tt-hide { | |||
display:none; | |||
} |
Revision as of 10:30, 4 January 2017
/* CSS placed here will be applied to all skins */
.treeview{margin-top:0.3em}.treeview ul,.treeview li{margin:0;padding:0;list-style-type:none;list-style-image:none}.treeview li{display:table}.treeview li li{position:relative;padding-left:13px;margin-left:7px;border-left:1px solid #636363}.treeview li li:before{content:"";position:absolute;top:0;left:0;width:11px;height:11px;border-bottom:1px solid #636363}.treeview li li.first:before{border-color:#636363;border-style:solid;border-width:1px 0 0 1px;height:100%;margin-top:11px;width:10px}.treeview li li.first,.treeview li li:last-child{border:0;padding-left:14px}.treeview li li:last-child:before{border-left:1px solid #636363;width:10px}
.tt-table div.tt {
display:inline-block;
position:relative;
}
.tt-table div.tt div.content {
border:1px gray solid;
border-radius: 2px;
z-index: 10;
padding:0 4px 0 5px;
position:relative;
background-color: #dbffbe;
}
.tt-table div.tt div.tail {
border:2px gray solid;
border-right: 0;
border-top: 0;
position:absolute;
border-radius: 2px;
bottom: 11px;
left: -10px;
z-index: 0;
}
.tt-table div.tt-parent div.content {
cursor:pointer;
background-color: lightgray;
}
.tt-table tr.tt-hide {
display:none;
}