Get the reusable foundations of custom popovers finished.
This commit is contained in:
parent
4b75526708
commit
e594b6beb0
8 changed files with 219 additions and 63 deletions
|
|
@ -6,3 +6,5 @@
|
|||
@import url("./HeroSummaryCardV1/style.css");
|
||||
@import url("./HeroSkillsCardV1/style.css");
|
||||
@import url("./RichEditor/style.css");
|
||||
|
||||
@import url("./popovers/AmmoTracker/style.css");
|
||||
|
|
|
|||
4
templates/Apps/popovers/AmmoTracker/style.css
Normal file
4
templates/Apps/popovers/AmmoTracker/style.css
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.ripcrypt--AmmoTracker {
|
||||
color: var(--base-text);
|
||||
background: var(--base-background);
|
||||
}
|
||||
|
|
@ -1,5 +1,16 @@
|
|||
.ripcrypt.popover {
|
||||
position: absolute;
|
||||
z-index: var(--z-index-tooltip);
|
||||
transform-origin: top left;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
border-color: transparent;
|
||||
border-radius: 4px;
|
||||
|
||||
&.frameless {
|
||||
position: absolute;
|
||||
z-index: var(--z-index-tooltip);
|
||||
transform-origin: top left;
|
||||
}
|
||||
|
||||
&.locked {
|
||||
border-color: var(--accent-3);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue