156 lines
2.3 KiB
CSS
156 lines
2.3 KiB
CSS
/* RESET */
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
html, body, div, span, applet, object, iframe,
|
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
a, abbr, acronym, address, big, cite, code,
|
|
del, dfn, em, img, ins, kbd, q, s, samp,
|
|
small, strike, strong, sub, sup, tt, var,
|
|
b, u, i, center,
|
|
dl, dt, dd, ol, ul, li,
|
|
fieldset, form, label, legend,
|
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
article, aside, canvas, details, embed,
|
|
figure, figcaption, footer, header, hgroup,
|
|
menu, nav, output, ruby, section, summary,
|
|
time, mark, audio, video {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 100%;
|
|
font: inherit;
|
|
vertical-align: baseline;
|
|
}
|
|
body {
|
|
line-height: 1;
|
|
}
|
|
ol, ul {
|
|
list-style: none;
|
|
}
|
|
blockquote, q {
|
|
quotes: none;
|
|
}
|
|
blockquote:before, blockquote:after,
|
|
q:before, q:after {
|
|
content: '';
|
|
content: none;
|
|
}
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
/* CLEARFIX */
|
|
.clearfix:after {
|
|
visibility: hidden;
|
|
display: block;
|
|
font-size: 0;
|
|
content: " ";
|
|
clear: both;
|
|
height: 0;
|
|
}
|
|
.clearfix { display: inline-block; }
|
|
* html .clearfix { height: 1%; }
|
|
.clearfix { display: block; }
|
|
|
|
/* FONTS */
|
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans:700,400);
|
|
|
|
|
|
|
|
|
|
/* STYLES */
|
|
|
|
/* GLOBAL */
|
|
body {
|
|
width: 640px;
|
|
padding: 0px 10px 10px 10px;
|
|
margin: 0;
|
|
font-family: Open sans;
|
|
}
|
|
|
|
|
|
/* Options panel appears on hove */
|
|
.options {
|
|
position: absolute;
|
|
top: -3px;
|
|
left: 0px;
|
|
display: none;
|
|
background-color: #fff;
|
|
padding: 3px;
|
|
border: 1px solid #aaa;
|
|
}
|
|
.options a {
|
|
font-size: 20px;
|
|
padding: 3px;
|
|
}
|
|
li:hover>.options, li:hover>span>.options {
|
|
display: block;
|
|
}
|
|
|
|
|
|
|
|
|
|
ul#root {
|
|
|
|
}
|
|
ul#root > li {
|
|
margin-bottom: 20px;
|
|
}
|
|
ul#root > li:nth-child(2n) {
|
|
background-color: rgba(0,0,0,0.05);
|
|
}
|
|
ul#root > li > span {
|
|
min-height: 25px;
|
|
display: block;
|
|
}
|
|
ul#root li {
|
|
position: relative;
|
|
min-height: 25px;
|
|
}
|
|
ul#root > li > ul {
|
|
margin-left: 30px;
|
|
}
|
|
|
|
ul#root > li > ul > li:nth-child(2n) {
|
|
background-color: rgba(0,0,0,0.05);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.wrapper {
|
|
|
|
}
|
|
|
|
|
|
ul#root > li {
|
|
margin-bottom: 10px;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
|
|
ul.window {
|
|
padding
|
|
padding-left: 25px;
|
|
/* list-style: disc;*/
|
|
}
|
|
|
|
|
|
|
|
|