claire bontempo 2f2e0184bb
UI: Fix copy button for PKI ca_chain certificate card (#25399)
* use format-copy-value helper for copy text in Hds::Copy::Button

* delete helper and revert masked input

* update certificate card to format to string

* add test

* add changelog;
2024-02-14 11:04:20 -08:00

131 lines
1.7 KiB
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
/* This helper includes styles relating to: display, width, height, float, visibility, position, alignment. */
// display
.is-block {
display: block !important;
}
.is-hidden {
display: none !important;
}
.is-inline {
display: inline !important;
}
.is-inline-block {
display: inline-block !important;
}
// position
.top-right-absolute {
position: absolute;
top: 0.5rem;
right: 0.5rem;
z-index: 10;
}
.is-in-bottom-right {
position: absolute;
bottom: 1rem;
right: 1rem;
z-index: 10;
}
.is-relative {
position: relative;
}
.top-xxs {
top: $spacing-4;
}
// visibility
.is-invisible {
visibility: hidden;
}
// overflow
.is-overflow-hidden {
overflow: hidden;
}
// width and height
.is-fullwidth {
width: 100%;
}
.is-three-fourths-width {
width: 75%;
}
.is-two-thirds-width {
width: 66%;
}
.is-auto-width {
width: auto;
}
.is-min-width-0 {
min-width: 0;
}
.is-medium-width {
width: calc($desktop / 2.5);
}
.is-medium-height {
height: 125px;
}
.is-calc-large-height {
height: calc($desktop * 0.66);
}
// float
.is-pulled-left {
float: left !important;
}
.is-pulled-right {
float: right !important;
}
// alignment
.align-self-baseline {
align-self: baseline;
}
.is-v-centered {
vertical-align: middle;
}
// responsive css
@media screen and (min-width: 769px), print {
.is-hidden-tablet {
display: none !important;
}
}
@media screen and (max-width: 768px) {
.is-hidden-mobile {
display: none !important;
}
}
@media screen and (max-width: 1215px) {
.is-widescreen:not(.is-max-desktop) {
max-width: 1152px;
}
}
.has-margin-top-auto {
margin-top: auto;
}