mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-11 13:51:36 +01: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
74 lines
1.2 KiB
SCSS
74 lines
1.2 KiB
SCSS
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
@mixin stacked-grid {
|
|
grid-template-columns: 1fr;
|
|
grid-row: 1/1;
|
|
}
|
|
@mixin stacked-content {
|
|
margin-bottom: $spacing-24;
|
|
}
|
|
|
|
.action-block {
|
|
box-shadow: 0 0 0 1px rgba($grey-dark, 0.3);
|
|
grid-template-columns: 2fr 1fr;
|
|
display: grid;
|
|
padding: $spacing-16 $spacing-24;
|
|
line-height: inherit;
|
|
grid-gap: $spacing-16;
|
|
|
|
@include until($mobile) {
|
|
@include stacked-grid();
|
|
}
|
|
}
|
|
|
|
.action-block-info {
|
|
@include until($mobile) {
|
|
@include stacked-content();
|
|
}
|
|
}
|
|
|
|
.action-block.stacked {
|
|
@include stacked-grid();
|
|
}
|
|
.stacked > .action-block-info {
|
|
@include stacked-content();
|
|
}
|
|
|
|
.action-block-title {
|
|
font-size: $size-5;
|
|
font-weight: $font-weight-bold;
|
|
}
|
|
.action-block-action {
|
|
text-align: right;
|
|
@include until($mobile) {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
/* Action Block Grid */
|
|
.replication-actions-grid-layout {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: $spacing-16 0;
|
|
@include until($mobile) {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.replication-actions-grid-item {
|
|
flex-basis: 50%;
|
|
padding: $spacing-12;
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.replication-actions-grid-item .action-block {
|
|
width: 100%;
|
|
@include until($mobile) {
|
|
height: inherit;
|
|
}
|
|
}
|