fleet/frontend/components/AddHostsModal/PlatformWrapper/_styles.scss
Jacob Shandling 41c2ebfb27
UI – Small adjustments to various Tooltipwrapper instances (#15170)
## Addresses #14244 

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-11-16 14:34:56 -08:00

178 lines
2.8 KiB
SCSS

@import "../../../../../../../node_modules/react-tabs/style/react-tabs.scss";
.platform-wrapper {
padding: 0; // different to pad sticky subnav properly
h1 {
margin-bottom: $pad-small;
}
p {
margin-top: 0;
}
.body-wrap {
padding: 0;
}
&__info {
margin-top: $pad-medium;
}
&__cta {
font-weight: $bold;
padding-top: $pad-xsmall;
margin: 0;
}
.fleet-checkbox {
display: flex;
align-items: center;
}
.form-field {
&--checkbox {
margin-bottom: $pad-medium;
}
&__label {
position: relative;
font-size: $x-small;
font-weight: $bold;
}
&--textarea {
margin-bottom: $pad-xsmall;
}
}
.input-field {
&__textarea {
min-height: 88px;
}
&__textarea,
&--disabled {
font-family: "SourceCodePro", $monospace;
font-weight: $bold;
font-size: 13px;
color: $core-fleet-blue;
line-height: 20px;
margin-bottom: 0;
padding: 12px $pad-large 12px $pad-medium;
}
}
&__advanced--installer {
.input-field {
height: 105px;
}
}
&__installer-copy-icon {
color: $core-vibrant-blue;
margin-left: $pad-small;
margin-right: $pad-medium;
}
&__copy-message {
font-weight: $regular;
vertical-align: top;
background-color: $ui-light-grey;
border: solid 1px #e2e4ea;
border-radius: 10px;
padding: 2px 6px;
}
.buttons {
display: flex;
flex-direction: row-reverse;
align-items: center;
position: relative;
top: 38px;
margin-right: $pad-medium;
height: 12px;
gap: $pad-small;
a {
display: flex;
align-items: center;
}
img {
width: 16px;
height: 16px;
}
}
&__run-osquery-input {
.buttons {
top: 34px;
}
}
&__certificate-loading {
color: $ui-fleet-black-50;
padding-top: $pad-xsmall;
}
&__certificate-error {
span,
em {
display: block;
padding: $pad-xsmall 0;
}
em {
color: $ui-error;
font-style: normal;
}
}
&__advanced {
padding-top: 6px;
.reveal-button {
margin: 8px 0;
}
}
&__advanced--heading,
&__chromeos--heading {
font-weight: $bold;
margin-bottom: $pad-small;
}
&__advanced--text {
font-weight: normal;
}
&__chromeos--instructions,
&__advanced--instructions {
margin-bottom: $pad-medium;
}
&__chromeos-extension-id,
&__chromeos-url {
.buttons {
top: 34px;
}
}
&__chromeos-policy-for-extension {
height: 230px;
.input-field--disabled {
height: 190px;
}
}
.download-certificate--tooltip {
margin-bottom: 0;
}
&__copy-message {
background-color: $ui-light-grey;
border: solid 1px #e2e4ea;
border-radius: 10px;
padding: 2px 6px;
}
}