aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FontIconBox/FontIconBox.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/FontIconBox/FontIconBox.scss')
-rw-r--r--src/client/views/nodes/FontIconBox/FontIconBox.scss61
1 files changed, 34 insertions, 27 deletions
diff --git a/src/client/views/nodes/FontIconBox/FontIconBox.scss b/src/client/views/nodes/FontIconBox/FontIconBox.scss
index 2db285910..8bc68c131 100644
--- a/src/client/views/nodes/FontIconBox/FontIconBox.scss
+++ b/src/client/views/nodes/FontIconBox/FontIconBox.scss
@@ -1,13 +1,20 @@
-@import '../../global/globalCssVariables.module.scss';
-
-// bcz: something's messed up with the IconButton css. this mostly fixes the fit-all button, the color buttons, the undo +/- expander and the dropdown doc type list (eg 'text')
-.iconButton-container {
- width: unset !important;
- min-width: 30px !important;
- height: unset !important;
- min-height: 30px;
- .color {
- height: 3px !important;
+@use '../../global/globalCssVariables.module.scss' as global;
+
+.fonticonbox {
+ margin: auto;
+ width: 100%;
+ .formLabel {
+ height: 5px;
+ }
+ // bcz: something's messed up with the IconButton css. this mostly fixes the fit-all button, the color buttons, the undo +/- expander and the dropdown doc type list (eg 'text')
+ .iconButton-container {
+ width: unset !important;
+ min-width: 30px !important;
+ height: unset !important;
+ min-height: 30px;
+ .color {
+ height: 3px !important;
+ }
}
}
.menuButton {
@@ -16,7 +23,7 @@
justify-content: center;
align-items: center;
font-size: 80%;
- border-radius: $standard-border-radius;
+ border-radius: global.$standard-border-radius;
transition: 0.15s;
.menuButton-wrap {
@@ -27,7 +34,7 @@
}
.fontIconBox-label {
- color: $white;
+ color: global.$white;
bottom: -1;
position: absolute;
text-align: center;
@@ -117,17 +124,17 @@
width: 21px;
left: 2px;
bottom: 2px;
- background-color: $white;
+ background-color: global.$white;
-webkit-transition: 0.4s;
transition: 0.4s;
}
input:checked + .slider {
- background-color: $medium-blue;
+ background-color: global.$medium-blue;
}
input:focus + .slider {
- box-shadow: 0 0 1px $medium-blue;
+ box-shadow: 0 0 1px global.$medium-blue;
}
input:checked + .slider:before {
@@ -138,11 +145,11 @@
/* Rounded sliders */
.slider.round {
- border-radius: $standard-border-radius;
+ border-radius: global.$standard-border-radius;
}
.slider.round:before {
- border-radius: $standard-border-radius;
+ border-radius: global.$standard-border-radius;
}
}
@@ -252,12 +259,12 @@
height: fit-content;
top: 100%;
z-index: 21;
- background-color: $white;
+ background-color: global.$white;
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3);
padding: 1px;
.list-item {
- color: $black;
+ color: global.$black;
width: 100%;
height: 25px;
font-weight: 400;
@@ -278,7 +285,7 @@
background: transparent;
&.slider {
- color: $white;
+ color: global.$white;
cursor: pointer;
flex-direction: column;
background: transparent;
@@ -295,7 +302,7 @@
z-index: 21;
background-color: #e3e3e3;
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3);
- border-radius: $standard-border-radius;
+ border-radius: global.$standard-border-radius;
.menu-slider {
height: 10px;
@@ -333,7 +340,7 @@
border: none;
text-align: right;
width: 100%;
- color: $white;
+ color: global.$white;
height: 100%;
text-align: center;
}
@@ -347,7 +354,7 @@
&.list {
width: 100%;
justify-content: space-around;
- border: $standard-border;
+ border: global.$standard-border;
.menuButton-dropdownList {
position: absolute;
@@ -358,12 +365,12 @@
overflow-y: scroll;
top: 100%;
z-index: 21;
- background-color: $white;
+ background-color: global.$white;
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3);
padding: 1px;
.list-item {
- color: $black;
+ color: global.$black;
width: 100%;
height: 25px;
font-weight: 400;
@@ -387,7 +394,7 @@
padding-left: 10px;
justify-content: flex-start;
color: black;
- background-color: $light-gray;
+ background-color: global.$light-gray;
padding: 5px;
padding-left: 10px;
width: 100%;
@@ -410,7 +417,7 @@
top: 100%;
background-color: #e3e3e3;
box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3);
- border-radius: $standard-border-radius;
+ border-radius: global.$standard-border-radius;
}
}