Fleet UI: Fix styling on query modal buttons (#7756)

This commit is contained in:
RachelElysia 2022-09-14 12:38:25 -04:00 committed by GitHub
parent 26f210f3f6
commit b32f2b04aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 50 deletions

View file

@ -0,0 +1 @@
- Fix styling of select a query modal on the host details page

View file

@ -52,6 +52,16 @@ $base-class: "button";
outline: none;
}
.transparent-text {
opacity: 0;
}
.children-wrapper {
display: flex;
flex-direction: row;
align-items: center;
}
&--brand {
@include button-variant(
$core-vibrant-blue,
@ -324,6 +334,27 @@ $base-class: "button";
background-color: $ui-vibrant-blue-10;
box-shadow: none;
}
.children-wrapper {
display: flex;
width: 100%;
flex-direction: column;
.info {
&__header {
display: block;
width: 100%;
text-align: left;
}
&__data {
display: block;
width: 100%;
font-weight: normal;
text-align: left;
margin-top: 10px;
}
}
}
}
&--contextual-nav-item {
@ -331,14 +362,4 @@ $base-class: "button";
display: flex;
justify-content: space-between;
}
.transparent-text {
opacity: 0;
}
.children-wrapper {
display: flex;
flex-direction: row;
align-items: center;
}
}

View file

@ -5,27 +5,6 @@
width: 658px;
padding: $pad-xxlarge;
border-radius: $pad-small;
.info {
display: flex;
flex-direction: column;
&__header {
display: block;
color: $core-fleet-black;
font-weight: $bold;
font-size: $x-small;
text-align: left;
}
&__data {
display: block;
color: $core-fleet-black;
font-weight: normal;
font-size: $x-small;
text-align: left;
margin-top: 10px;
}
}
}
&__no-queries {
@ -72,6 +51,8 @@
}
&__create-query {
display: flex;
span {
margin: 15px;
font-weight: bold;

View file

@ -7,24 +7,5 @@
&__policy-selection {
padding: $pad-large 0;
.children-wrapper {
display: block;
}
.info {
display: flex;
&__header {
display: block;
text-align: left;
}
&__data {
display: block;
font-weight: normal;
text-align: left;
margin-top: 10px;
}
}
}
}