fleet/frontend/pages/queries/ManageQueriesPage/_styles.scss

282 lines
5.3 KiB
SCSS

.manage-queries-page {
a {
font-size: $x-small;
color: $core-vibrant-blue;
font-weight: $bold;
text-decoration: none;
}
&__header-wrap {
height: 38px;
display: flex;
align-items: center;
justify-content: space-between;
}
&__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 0 $pad-xxlarge;
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);
}
}
&__modal-buttons {
width: 100%;
display: flex;
justify-content: flex-end;
.button:first-child {
margin-right: $pad-medium;
}
}
.form-field--dropdown {
margin: 0;
}
&__platform_dropdown {
width: 159px;
.Select-menu-outer {
width: 364px;
max-height: 310px;
.Select-menu {
max-height: none;
}
}
.Select-value {
padding-left: $pad-medium;
padding-right: $pad-medium;
&::before {
display: inline-block;
position: absolute;
padding: 5px 0 0 0; // centers spin
content: url(../assets/images/icon-filter-black-16x16@2x.png);
transform: scale(0.5);
height: 26px;
left: 2px;
}
}
.Select-value-label {
padding-left: $pad-large;
}
}
.queries-list-wrapper {
.data-table-block {
.data-table__table {
thead {
.name__header {
width: $col-lg;
}
.platforms__header {
width: auto;
}
.author_name__header {
display: none;
width: 0;
}
.updated_at__header {
display: none;
width: 0;
}
@media (min-width: $break-990) {
.platforms__header {
width: $col-md;
}
.author_name__header {
display: table-cell;
width: auto;
}
}
@media (min-width: $break-1400) {
.author_name__header {
width: $col-md;
}
.updated_at__header {
display: table-cell;
width: auto;
}
}
}
tbody {
.name__cell {
max-width: $col-lg;
}
.platforms__cell {
max-width: $col-md;
}
.author_name__cell {
display: none;
max-width: $col-md;
img,
div,
span {
display: flex;
align-items: center;
}
div {
padding-right: $pad-small;
}
.author-name {
display: block;
}
}
.updated_at__cell {
display: none;
max-width: $col-md;
}
@media (min-width: $break-990) {
.author_name__cell {
display: table-cell;
}
}
@media (min-width: $break-1400) {
.updated_at__cell {
display: table-cell;
}
}
}
}
&__empty-table {
text-align: center;
font-size: $x-small;
color: $core-fleet-black;
}
}
.no-queries {
display: flex;
flex-direction: column;
align-items: center;
margin-top: $pad-xxxlarge;
h1 {
font-size: $large;
font-weight: $regular;
line-height: normal;
letter-spacing: normal;
color: $core-fleet-black;
}
h2 {
font-size: $small;
font-weight: $bold;
margin: 0 0 $pad-large;
line-height: 20px;
color: $core-fleet-black;
}
ul {
margin: 0;
padding: 0;
color: $core-fleet-black;
list-style: none;
li {
&::before {
content: "";
color: $core-vibrant-blue;
margin-right: $pad-medium;
}
}
}
&__inner {
display: flex;
flex-direction: row;
h1 {
font-size: $small;
font-weight: $bold;
margin-bottom: $pad-medium;
}
p {
color: $core-fleet-black;
font-weight: $regular;
font-size: $x-small;
margin: 0;
margin-bottom: $pad-large;
}
.no-filter-results {
display: flex;
flex-direction: column;
width: 350px;
}
}
&__inner-text {
width: 485px;
img {
width: 12px;
position: relative;
top: 1px;
}
}
}
}
}