fleet/frontend/pages/schedule/ManageSchedulePage/_styles.scss
2021-11-10 13:46:16 -05:00

251 lines
4.4 KiB
SCSS

.manage-schedule-page {
&__header-wrap {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: $pad-xxlarge;
}
&__header {
display: flex;
align-items: center;
.form-field {
margin-bottom: 0;
}
}
&__text {
margin-right: $pad-large;
}
&__title {
font-size: $large;
.fleeticon {
color: $core-fleet-blue;
margin-right: 15px;
}
.fleeticon-success-check {
color: $ui-success;
}
.fleeticon-offline {
color: $ui-error;
}
.fleeticon-mia {
color: $core-fleet-black;
}
}
&__description {
margin: 0;
padding-top: $pad-xsmall;
h2 {
text-transform: uppercase;
color: $core-fleet-black;
font-weight: $regular;
font-size: $small;
}
p {
color: $core-dark-blue-grey;
margin: 0;
font-size: $x-small;
font-style: italic;
}
}
&__action-button-container {
display: flex;
align-items: flex-start;
}
.button {
font-size: $x-small;
img {
transform: scale(0.5);
}
}
&__advanced-button {
margin-right: $pad-medium;
}
&__modal-buttons {
width: 100%;
display: flex;
justify-content: flex-end;
.button:first-child {
margin-right: $pad-medium;
}
}
&__team-dropdown {
border: 0 !important;
position: relative;
:hover {
cursor: pointer !important;
}
&.is-focused {
.Select-control {
border: 0 !important;
height: 32px;
}
}
.Select-menu-outer {
position: absolute;
left: -12px;
border-radius: 6px;
}
}
.Select.is-open {
.Select-value-label {
color: $core-vibrant-blue !important;
}
}
&__header {
.Select-control {
background-color: #fff;
border: 0 !important;
border-radius: none;
position: none;
width: max-content; // move select arrow
height: 20px;
&:hover {
box-shadow: none;
}
&:hover .Select-value-label {
color: $core-vibrant-blue !important;
}
.Select-arrow-zone {
padding-left: $pad-small;
.Select-arrow {
top: 1px !important;
margin-top: 0 !important;
}
}
.Select-multi-value-wrapper {
width: max-content; // move select arrow
height: 20px;
margin-bottom: $pad-xsmall;
.Select-input {
display: none !important;
}
.Select-value {
position: relative; // move select arrow
display: inline-block; // move select arrow
line-height: 28px;
padding: 0;
border: 0 !important;
background-color: #fff !important;
right: 0;
left: 0;
bottom: 0;
top: 0;
&.is-focused {
border: 0 !important;
}
:hover {
border: 0 !important;
}
.Select-value-label {
font-size: $large !important;
}
}
}
}
}
&__inherited-queries-button {
margin: $pad-medium 0 0 0;
color: $core-vibrant-blue;
font-weight: $bold;
font-size: $x-small;
}
.rightcarat {
&::before {
content: url("../assets/images/icon-chevron-blue-16x16@2x.png");
transform: scale(0.5) rotate(-90deg);
width: 16px;
border-radius: 0px;
padding: 0px;
padding-right: 10px;
margin-top: 5px;
}
}
.upcarat {
&::before {
content: url("../assets/images/icon-chevron-blue-16x16@2x.png");
transform: scale(0.5) rotate(180deg);
width: 16px;
border-radius: 0px;
padding: 0px;
padding-right: 2px;
margin-right: $pad-small;
margin-top: 5px;
position: relative;
top: -4px;
left: 6px;
}
}
&__details {
display: inline-flex;
vertical-align: middle;
margin-left: $pad-small;
margin-top: -20px;
.hint {
color: $core-fleet-black;
&--brand {
color: $core-vibrant-blue;
}
}
}
&__all-teams-table {
.table-container__header {
height: 0;
}
th {
border-right: 1px solid #e2e4ea !important;
}
.query_name__header {
width: calc(50%);
}
.interval__header {
width: calc(20%);
}
.performance_header {
width: calc(30%);
max-width: none;
}
}
}