some js rationnalization, new widgets: stack (contains other widgets), separator (separates, duh)

This commit is contained in:
jean-emmanuel 2015-04-11 12:20:45 +02:00 • committed by Jean-Emmanuel
parent 4590edd31e
commit b9bc3fc060
4 changed files with 327 additions and 234 deletions

View file

@ -161,7 +161,14 @@ a.on, a:active {
}
.separator {
width:20px;
display:inline-block;
background:linear-gradient(90deg,#222,#2A2A2A,#2A2A2A,#2A2A2A,#222);
height:100%;
position:relative;vertical-align:top;
}
.widget {
@ -173,8 +180,11 @@ a.on, a:active {
border:1px solid rgba(0,0,0,0.2);
padding:35px 0;
width:100px;
afloat:left;
vertical-align:top;
}
.widget .title {
font-variant:small-caps;
border-bottom:1px solid #2A2A2A;
@ -240,6 +250,23 @@ a.on, a:active {
background:rgba(20,240,250,.4);
}
/* STACK (contains any widgets) */
.stack {
width:auto;
}
.stack-wrapper {
height:100%;
}
.stack-wrapper .widget:last-child {
border-right:0;
}
.stack-wrapper .widget:first-child {
border-left:0;
}
/* STRIP (vertical fader) */