grafana/public/sass/components/_timepicker.scss
2016-02-16 09:42:46 +01:00

89 lines
1.5 KiB
SCSS

.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;
background-color: $panel-bg;
@include box-shadow($navbarDropdownShadow);
}
.gf-timepicker-absolute-section {
width: 300px;
float: left;
border-right: 1px solid $divider-border-color;
padding: 0 0 0 20px;
select {
width: 183px;
margin-bottom: 0;
}
}
.gf-timepicker-btn-apply {
margin: 0 0 0 15px;
}
.gf-timepicker-utc {
background-color: $tight-form-func-bg;
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;
color: $text-color;
&.active span {
color: $blue;
font-weight: bold;
}
.text-info {
color: $orange;
font-weight: bold;
}
}
}
.input-datetime-format {
color: $link-color-disabled
}