8f5d62139c
* initial setup, modify toolbar header * footer buttons setup * setup first delete version delete method * clean up * handle destory all versions * handle undelete * conditional for modal and undelete * remove delete from version area * modelForData in permissions * setup for soft delete and modify adpater to allow DELETE in additon to POST * dropdown for soft delete * stuck * handle all soft deletes * conditional for destroy all versions * remove old functionality from secret-version-menu * glimmerize secret-version-menu * Updated secret version menu and version history * Updated icons and columns in version history * create new component * clean up * glimmerize secret delete menu * fix undelete * Fixed radio labels in version delete menu * handle v1 delete * refining * handle errors with flash messages * add changelog * fix test * add to test * amend test * address PR comments * whoopies * add urlEncoding Co-authored-by: Arnav Palnitkar <arnav@hashicorp.com>
93 lines
1.4 KiB
SCSS
93 lines
1.4 KiB
SCSS
.modal-background {
|
|
background: rgb(235, 238, 242, 0.9);
|
|
}
|
|
|
|
.modal-card {
|
|
box-shadow: $box-shadow-highest;
|
|
border: 1px solid $grey-light;
|
|
max-height: calc(100vh - 70px);
|
|
margin-top: 60px;
|
|
|
|
&-head {
|
|
border-radius: 0;
|
|
background-color: $grey-lightest;
|
|
border-bottom: 1px solid $grey-light;
|
|
}
|
|
|
|
&-foot {
|
|
border-radius: 0;
|
|
border: 0;
|
|
background-color: $white;
|
|
}
|
|
|
|
&-title.title {
|
|
margin: 0;
|
|
}
|
|
|
|
.copy-text {
|
|
background-color: $grey-lightest;
|
|
padding: $spacing-s;
|
|
margin-bottom: $spacing-s;
|
|
|
|
code {
|
|
overflow: scroll;
|
|
max-width: calc(100% - 36px);
|
|
background-color: inherit;
|
|
}
|
|
}
|
|
|
|
.copy-close {
|
|
margin-top: $spacing-s;
|
|
}
|
|
}
|
|
|
|
.modal-card-title.title {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
pre {
|
|
background-color: inherit;
|
|
}
|
|
|
|
.is-highlight {
|
|
.modal-card-head {
|
|
background: $yellow-010;
|
|
border: 1px solid $yellow-100;
|
|
}
|
|
.modal-card-title {
|
|
color: $yellow-dark;
|
|
}
|
|
}
|
|
|
|
.modal-confirm-section .is-help {
|
|
color: $grey;
|
|
margin: $spacing-xxs 0;
|
|
strong {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.modal-confirm-section {
|
|
margin: $spacing-xl 0 $spacing-m;
|
|
}
|
|
|
|
.modal-card-foot-outlined {
|
|
background: #f7f8fa;
|
|
border-top: 1px solid #bac1cc;
|
|
}
|
|
|
|
.modal-radio-button {
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-bottom: $spacing-xs;
|
|
|
|
input {
|
|
top: 2px;
|
|
}
|
|
|
|
.helper-text {
|
|
margin-left: 10px;
|
|
}
|
|
}
|