grafana/public/sass/components/_timepicker.scss

129 lines
2.1 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.timepicker-timestring {
font-weight: normal;
}
2017-12-01 08:56:08 -06:00
.gf-timepicker-nav {
flex-wrap: nowrap;
display: flex;
2016-02-15 08:27:41 -06:00
}
.gf-timepicker-nav-btn {
text-overflow: ellipsis;
overflow: hidden;
}
2016-02-15 08:27:41 -06:00
.gf-timepicker-dropdown {
position: absolute;
top: $navbarHeight;
right: 0;
2016-02-15 08:27:41 -06:00
padding: 10px 20px;
2017-12-08 07:38:33 -06:00
background-color: $page-bg;
border-radius: 0 0 0 4px;
box-shadow: $search-shadow;
2016-02-15 08:27:41 -06:00
}
.gf-timepicker-absolute-section {
width: 290px;
2016-02-15 08:27:41 -06:00
float: left;
padding: 0 10px;
2016-02-15 08:27:41 -06:00
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;
2017-12-08 07:38:33 -06:00
font-weight: 500;
2016-02-15 08:27:41 -06:00
margin-left: 4px;
}
.gf-timepicker-relative-section {
padding: 0 20px 0 30px;
min-height: 237px;
2016-02-15 08:27:41 -06:00
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;
2017-12-08 07:38:33 -06:00
font-weight: 500;
2016-02-15 08:27:41 -06:00
}
}
}
.gf-timepicker-component {
padding: $spacer/2 0 $spacer 0;
td {
padding: 1px;
}
button {
2016-02-19 07:21:57 -06:00
@include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl);
2016-02-15 08:27:41 -06:00
background-image: none;
border: none;
2016-02-16 02:42:46 -06:00
color: $text-color;
2016-02-15 08:27:41 -06:00
&.active span {
color: $blue;
2016-02-15 08:27:41 -06:00
font-weight: bold;
}
.text-info {
color: $orange;
font-weight: bold;
}
&.btn-sm {
font-size: $font-size-sm;
padding: 5px 11px;
}
2018-05-04 03:30:42 -05:00
&:hover {
color: $text-color-strong;
}
&[disabled] {
color: $text-color;
}
2016-02-15 08:27:41 -06:00
}
}
.input-datetime-format {
2017-12-19 09:22:41 -06:00
color: $link-color-disabled;
2016-02-15 08:27:41 -06:00
}
.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.fa-chevron-left::before {
content: '\f053';
}
.fa-chevron-right::before {
content: '\f054';
}
.glyphicon-chevron-right {
@extend .fa;
@extend .fa-chevron-right;
}
.glyphicon-chevron-left {
@extend .fa;
@extend .fa-chevron-left;
}