fleet/frontend/components/queries/ScheduledQueriesList/_styles.scss
Kyle Knight 38120b9fca Sidebar, titles, and descriptions should now force wrap or ellipsis (#905)
* Sidebar, titles, and descriptions should now force wrap or ellipsis

* Fixing lint issue
2017-01-11 14:35:45 -06:00

169 lines
3.1 KiB
SCSS

.scheduled-queries-list {
background-color: $white;
border: 1px solid $accent-dark;
border-radius: 3px;
box-shadow: inset 0 0 8px 0 rgba(0, 0, 0, 0.12);
box-sizing: border-box;
&__table {
border-collapse: collapse;
width: 100%;
border-radius: 3px;
thead {
height: 50px;
background-color: $bg-medium;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
th {
font-size: 14px;
font-weight: $bold;
letter-spacing: -0.5px;
text-align: left;
color: $link;
padding: 15px 10px;
.form-field {
margin: 0;
}
&:nth-child(1) {
border-top-left-radius: 3px;
width: 20px;
}
&:nth-child(2) {
width: calc(46% - 20px);
}
&:nth-child(3) {
width: 18%;
}
&:nth-child(4) {
width: 18%;
text-align: center;
}
&:nth-child(5) {
width: 18%;
text-align: center;
}
&:last-child {
border-top-right-radius: 3px;
text-align: center;
}
}
}
tbody {
td {
padding: 0 10px;
margin: 0;
border-bottom: 1px solid $accent-light;
.form-field {
margin: 0;
}
&:nth-child(1) {
text-align: center;
vertical-align: middle;
}
&:nth-child(2) {
font-size: 14px;
font-weight: $bold;
line-height: 2.71;
letter-spacing: -0.5px;
text-align: left;
color: $text-ultradark;
}
&:nth-child(3) {
font-size: 14px;
font-weight: $normal;
line-height: 2.71;
letter-spacing: -0.5px;
color: $text-ultradark;
}
&:nth-child(4) {
color: $text-light;
text-align: center;
font-size: 14px;
.kolidecon {
font-size: 18px;
}
}
&:nth-child(5) {
font-size: 14px;
font-weight: $normal;
line-height: 2.71;
letter-spacing: -0.5px;
text-align: center;
color: $text-ultradark;
}
&:nth-child(6) {
text-align: center;
font-size: 18px;
color: $text-ultradark;
}
}
}
}
&__first-query {
padding: 30px 15px 100px;
text-align: left;
h1 {
color: $text-dark;
font-size: 24px;
font-weight: $light;
line-height: 1.96;
letter-spacing: -0.5px;
margin: 0;
}
h2 {
font-size: 20px;
line-height: 2;
letter-spacing: -0.4px;
color: $text-dark;
font-weight: $light;
margin: 0;
}
p {
font-size: 16px;
font-weight: $normal;
line-height: 2.5;
color: $text-dark;
margin: 0;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
li {
margin-left: 15px;
font-size: 16px;
font-weight: $normal;
line-height: 2.5;
color: $text-dark;
}
}
&__query-name {
@include ellipsis(110px);
display: table-cell;
}
}