Skip to content

Commit

Permalink
CSS: Add .controls class with box-shadow and layout properties
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoxhaa committed Aug 26, 2024
1 parent f1bbf49 commit b774b94
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions public/css/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,21 @@ pre {
border-radius: initial;
}

.controls {
// Copied from Icinga DB Web
-moz-box-shadow: 0 0 0 1px var(--gray-lighter, #4b4b4b);
-webkit-box-shadow: 0 0 0 1px var(--gray-lighter, #4b4b4b);
box-shadow: 0 0 0 1px var(--gray-lighter, #4b4b4b);
flex-shrink: 0; // Prevents shrinking in a flex container
position: relative; // Positions the element relative to its normal position
z-index: 1; // Ensures the element stacks above others

footer {
height: 1em;
}
}


.horizontal-key-value,
.vertical-key-value {
> .value {
Expand Down

0 comments on commit b774b94

Please sign in to comment.