mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-03 13:01:12 +02:00
* fix button padding * rename spacing variables using numerical values * fix toggle aligment * remove unused toggle classes * replace margin and padding with spacing vars * increase base font size * remove switch css, use toggle consistently * remaining margin/padding size vars to spacing pixels * add deprecated note, rever changes to size vars * decrease console size * remove function * adjust card size for small selectable cards * fix select to fit to content width * fix toolbar-scroller height * add changelog; * fix checkbox styling
109 lines
1.6 KiB
SCSS
109 lines
1.6 KiB
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
.alert-title {
|
|
font-size: $size-5;
|
|
font-weight: $font-weight-bold;
|
|
}
|
|
|
|
.message {
|
|
background: $blue-010;
|
|
border: 1px solid $blue-100;
|
|
margin-bottom: $spacing-12;
|
|
padding: $spacing-12 $spacing-16 $spacing-16 $spacing-12;
|
|
position: relative;
|
|
|
|
&:not(:last-child) {
|
|
margin-bottom: $spacing-20;
|
|
}
|
|
|
|
.message-icon {
|
|
color: $blue;
|
|
margin-right: $spacing-8;
|
|
}
|
|
|
|
.message-title {
|
|
color: $blue-500;
|
|
font-size: 16px;
|
|
font-weight: $font-weight-bold;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.message-body {
|
|
border: 0;
|
|
padding: 1em 1.25em;
|
|
margin-top: $spacing-4;
|
|
}
|
|
|
|
// message types, see message-types.js
|
|
&.is-danger {
|
|
background: $red-010;
|
|
border: 1px solid $red-050;
|
|
|
|
.message-body {
|
|
color: $red-700;
|
|
}
|
|
|
|
.message-icon {
|
|
color: $red-500;
|
|
}
|
|
|
|
.message-title {
|
|
color: $red-700;
|
|
}
|
|
}
|
|
|
|
&.is-highlight {
|
|
background: $yellow-010;
|
|
border: 1px solid $yellow-100;
|
|
|
|
.message-body {
|
|
color: $ui-gray-900;
|
|
}
|
|
|
|
.message-icon {
|
|
color: $yellow-500;
|
|
}
|
|
|
|
.message-title {
|
|
color: $orange-700;
|
|
}
|
|
}
|
|
|
|
&.is-info {
|
|
background-color: $blue-010;
|
|
|
|
.message-body {
|
|
color: $blue-700;
|
|
}
|
|
|
|
.message-header {
|
|
background-color: $blue-500;
|
|
color: $white;
|
|
}
|
|
|
|
.message-title {
|
|
color: $blue-700;
|
|
}
|
|
}
|
|
|
|
&.is-success {
|
|
background: $green-010;
|
|
border: 1px solid $green-100;
|
|
|
|
.message-body {
|
|
color: $green-900;
|
|
}
|
|
|
|
.message-icon {
|
|
color: $green-500;
|
|
}
|
|
|
|
.message-title {
|
|
color: $green-700;
|
|
}
|
|
}
|
|
}
|