aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/FontIconBox.scss
diff options
context:
space:
mode:
authorMelissa Zhang <mzhang19096@gmail.com>2020-08-03 15:15:33 -0700
committerMelissa Zhang <mzhang19096@gmail.com>2020-08-03 15:15:33 -0700
commite9737412cb3d60ed76c31c9571e9516518cddd77 (patch)
tree407f4a4cbc4947d4057d317dc3a8b7369197c01d /src/client/views/nodes/FontIconBox.scss
parent1713f5415294b996e6dbbe9ca45f0f4511c69824 (diff)
parentef5dbc6ad8bdb70f3e68d2fc4ace1a483b031add (diff)
merge with master
Diffstat (limited to 'src/client/views/nodes/FontIconBox.scss')
-rw-r--r--src/client/views/nodes/FontIconBox.scss69
1 files changed, 53 insertions, 16 deletions
diff --git a/src/client/views/nodes/FontIconBox.scss b/src/client/views/nodes/FontIconBox.scss
index 5b85d8b0b..5bdafd857 100644
--- a/src/client/views/nodes/FontIconBox.scss
+++ b/src/client/views/nodes/FontIconBox.scss
@@ -1,25 +1,62 @@
-.fontIconBox-outerDiv {
+.fontIconBox-label {
+ color: white;
+ margin-right: 4px;
+ margin-top: 1px;
+ position: relative;
+ text-align: center;
+ font-size: 7px;
+ letter-spacing: normal;
+ background-color: inherit;
+ border-radius: 8px;
+ margin-top: -8px;
+ padding: 0;
+ width: 100%;
+}
+
+.menuButton-round {
+ border-radius: 100%;
+
+ .fontIconBox-label {
+ margin-left: -10px; // button padding is 10px;
+ bottom: 0;
+ position: absolute;
+ }
+}
+
+.menuButton-square {
+ padding-top: 3px;
+ padding-bottom: 3px;
+ padding-left: 5px;
+
+ .fontIconBox-label {
+ border-radius: 0px;
+ margin-top: 0px;
+ border-radius: "inherit";
+ }
+}
+
+.menuButton,
+.menuButton-round,
+.menuButton-square {
width: 100%;
height: 100%;
pointer-events: all;
touch-action: none;
- border-radius: inherit;
- background: black;
- border-radius: 100%;
- transform-origin: top left;
- .fontIconBox-label {
- background: gray;
- color:white;
+ .menuButton-wrap {
+ touch-action: none;
border-radius: 8px;
- width:100%;
- position: absolute;
- text-align: center;
- font-size: 8px;
- margin-top:4px;
- letter-spacing: normal;
- left: 0;
- overflow: hidden;
+
+ // &:hover {
+ // background: rgb(61, 61, 61);
+ // cursor: pointer;
+ // }
+ }
+
+ .menuButton-icon-square {
+ width: auto;
+ height: 32px;
+ padding: 4px;
}
svg {