grafana/public/sass/components/_timepicker.scss

89 lines
1.5 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.nav.gf-timepicker-nav {
margin-right: 0;
}
.timepicker-timestring {
font-weight: normal;
}
.gf-timepicker-nav-btn {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.gf-timepicker-dropdown {
margin: -5px -10px 10px 5px;
padding: 10px 20px;
float: right;
2016-02-16 01:30:37 -06:00
background-color: $panel-bg;
2016-02-15 08:27:41 -06:00
@include box-shadow($navbarDropdownShadow);
}
.gf-timepicker-absolute-section {
width: 300px;
float: left;
2016-02-16 01:30:37 -06:00
border-right: 1px solid $divider-border-color;
2016-02-15 08:27:41 -06:00
padding: 0 0 0 20px;
select {
width: 183px;
margin-bottom: 0;
}
}
.gf-timepicker-btn-apply {
margin: 0 0 0 15px;
}
.gf-timepicker-utc {
2016-02-16 02:42:46 -06:00
background-color: $tight-form-func-bg;
2016-02-15 08:27:41 -06:00
color: $orange;
font-size: 75%;
padding: 3px;
border-radius: 2px;
font-weight: bold;
margin-left: 4px;
}
.gf-timepicker-relative-section {
padding: 0 20px 0 30px;
min-height: 258px;
float: left;
ul {
list-style: none;
float: left;
margin: 0 30px 10px 0px;
li {
line-height: 22px;
}
li.active {
border-bottom: 1px solid $blue;
margin: 3px 0;
font-weight: bold;
}
}
}
.gf-timepicker-component {
margin-bottom: 10px;
button.btn-sm {
@include buttonBackground($btnInverseBackground, $btnInverseBackgroundHighlight);
background-image: none;
border: none;
padding: 6px 9px;
2016-02-16 02:42:46 -06:00
color: $text-color;
2016-02-15 08:27:41 -06:00
&.active span {
color: $blue;
font-weight: bold;
}
.text-info {
color: $orange;
font-weight: bold;
}
}
}
.input-datetime-format {
2016-02-16 02:42:46 -06:00
color: $link-color-disabled
2016-02-15 08:27:41 -06:00
}