ORIENT/modules/system/assets/ui/less/scoreboard.less

64 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-05-29 12:24:02 +00:00
//
// Dependencies
// --------------------------------------------------
@import "global.less";
@import "icon.less";
@import "chart.less";
@import "toolbar.less";
//
// Scoreboard
// --------------------------------------------------
2014-05-14 13:24:20 +00:00
div.scoreboard {
position: relative;
2014-05-18 02:50:13 +00:00
padding: 0;
2014-05-14 13:24:20 +00:00
.horizontal-scroll-indicators(@color-scroll-indicator);
&:before, &:after { margin-top: -10px; }
&:before { left: 7px; }
&:after { right: 10px; }
div.scoreboard-item {
display: inline-block;
margin-right: 40px;
2016-02-24 05:44:05 +00:00
margin-bottom: @padding-standard;
2014-05-14 13:24:20 +00:00
vertical-align: top;
&:last-child {
margin-right: 0;
}
}
.control-chart {
// Setup the chart height in the scoreboard
// and set offsets so that the elements do not
// "jump" when the chart script loads and
// adds the canvas and color indicator elements.
height: 67px;
ul {
margin-left: 77px;
top: -2px;
li {
2015-05-29 12:24:02 +00:00
padding-left: 18px;
2015-03-13 11:15:43 +00:00
& > i { margin-left: -18px; }
2014-05-14 13:24:20 +00:00
}
}
2015-03-13 11:15:43 +00:00
.canvas + ul { margin-left: 0; }
}
.scoreboard-offset {
padding-left: 20px;
2014-05-14 13:24:20 +00:00
}
2014-05-18 02:50:13 +00:00
}
body.slim-container {
div.scoreboard {
2016-02-24 05:44:05 +00:00
padding: 0 @padding-standard;
2014-05-18 02:50:13 +00:00
}
2014-05-14 13:24:20 +00:00
}