diff options
| author | geireann <geireann.lindfield@gmail.com> | 2021-08-18 17:27:07 -0400 |
|---|---|---|
| committer | geireann <geireann.lindfield@gmail.com> | 2021-08-18 17:27:07 -0400 |
| commit | 917ebb4a7b6840f57abbf8dbcc197919f3ee3aac (patch) | |
| tree | 1c6cee9cc35cdaf8dd634659cc03639ce5462a4d /src/client/views/nodes/button/FontIconBox.scss | |
| parent | 56fdbfba93f582d163ccbe390d8d67f937615a1d (diff) | |
updates towards a menu
Diffstat (limited to 'src/client/views/nodes/button/FontIconBox.scss')
| -rw-r--r-- | src/client/views/nodes/button/FontIconBox.scss | 262 |
1 files changed, 182 insertions, 80 deletions
diff --git a/src/client/views/nodes/button/FontIconBox.scss b/src/client/views/nodes/button/FontIconBox.scss index d4f1b9379..46a499466 100644 --- a/src/client/views/nodes/button/FontIconBox.scss +++ b/src/client/views/nodes/button/FontIconBox.scss @@ -1,103 +1,205 @@ @import "../../global/globalCssVariables"; -.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 { + height: 100%; + display: flex; + justify-content: center; + align-items: center; + font-size: 80%; + border-radius: 7px; -.fontIconBadge-container { - position:absolute; - z-index: 1000; - top: 12px; + .menuButton-wrap { + grid-column: 1; + justify-content: center; + align-items: center; + text-align: center; + } - .fontIconBadge { - position: absolute; - top: -10px; - right: -10px; + .fontIconBox-label { color: $white; - background: $pink; - font-weight: 300; - border-radius: 100%; - width: 25px; - height: 25px; + position: relative; text-align: center; - padding-top: 4px; - font-size: 12px; + font-size: 7px; + letter-spacing: normal; + background-color: inherit; + margin-top: 5px; + border-radius: 8px; + padding: 0; + width: 100%; + font-family: 'ROBOTO'; + text-transform: uppercase; + font-weight: bold; } -} -.menuButton-circle, -.menuButton-round { - border-radius: 100%; - background-color: $dark-gray; - padding: 0; - - .fontIconBox-label { - //margin-left: -10px; // button padding is 10px; - bottom: 0; - position: absolute; + .fontIconBox-icon { + width: 80%; + height: 80%; } - &:hover { - background-color: $light-gray; + &.clickBtn { + cursor: pointer; } -} -.menuButton-square { - padding-top: 3px; - padding-bottom: 3px; - background-color: $dark-gray; + &.tglBtn { + cursor: pointer; + } - .fontIconBox-label { + &.menuBtn { + cursor: pointer; border-radius: 0px; - margin-top: 0px; - border-radius: "inherit"; + flex-direction: column; + + svg { + width: 45% !important; + height: 45%; + } } -} -.menuButton, -.menuButton-circle, -.menuButton-round, -.menuButton-square { - margin-left: -5%; - width: 110%; - height: 100%; - pointer-events: all; - touch-action: none; + &.colorBtn { + color: black; + cursor: pointer; + flex-direction: row; + background: transparent; - .menuButton-wrap { - touch-action: none; - border-radius: 8px; - width: 100%; + .menuButton-dropdownBox { + position: absolute; + width: 150px; + height: 250px; + top: 100%; + z-index: 21; + background-color: #e3e3e3; + box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3); + border-radius: 3px; + } } - .menuButton-icon-square { - width: auto; - height: 29px; - padding: 4px; + &.drpdownList { + width: 100px; + display: grid; + grid-auto-columns: 80px 20px; + justify-items: flex-start; + padding-left: 10px; + font-family: 'Roboto'; + white-space: nowrap; + text-overflow: ellipsis; + font-size: 13; + font-weight: 600; + overflow: hidden; + cursor: pointer; + background: transparent; + + .menuButton-dropdownList { + position: absolute; + width: 150px; + height: fit-content; + top: 100%; + z-index: 21; + background-color: #e3e3e3; + box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3); + border-radius: 3px; + + .list-item { + color: black; + width: 100%; + height: 25px; + display: flex; + justify-content: left; + align-items: center; + padding-left: 5px; + } + + .list-item:hover { + background-color:lightgrey; + } + } } - svg { - width: 95% !important; - height: 95%; + &.drpDownBtn { + cursor: pointer; + background: transparent; + + &.true { + background: rgba(0, 0, 0, 0.3); + } + + .menuButton-dropdownBox { + position: absolute; + width: 150px; + height: 250px; + top: 100%; + background-color: #e3e3e3; + box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3); + border-radius: 3px; + } } + } -.menuButton-round { - width: 100%; - svg { - width: 50% !important; - height: 50%; - position: relative; - bottom: 2px; - } -}
\ No newline at end of file + + +// .fontIconBadge-container { +// position: absolute; +// z-index: 1000; +// top: 12px; + +// .fontIconBadge { +// position: absolute; +// top: -10px; +// right: -10px; +// color: $white; +// background: $pink; +// font-weight: 300; +// border-radius: 100%; +// width: 25px; +// height: 25px; +// text-align: center; +// padding-top: 4px; +// font-size: 12px; +// } +// } + +// .menuButton-circle, +// .menuButton-round { +// border-radius: 100%; +// background-color: $dark-gray; +// padding: 0; + +// .fontIconBox-label { +// z-index: 100; +// min-width: fit-content; +// bottom: 0; +// left: 0; +// width: 100%; +// /* justify-self: center; */ +// border-radius: 0px; +// position: absolute; +// } + +// .menuButton-dropdown { +// display: flex; +// justify-content: center; +// align-items: center; +// font-size: 15px; +// /* background-color: #b9b9b9; */ +// grid-column: 2; +// border-radius: 0px 7px 7px 0px; +// /* position: absolute; */ +// width: 13px; +// height: 100%; +// right: 0; +// } + +// &:hover { +// background-color: $light-gray; +// } + +// .dropbox-background { +// width: 100vw; +// height: 100vh; +// top: 0; +// z-index: 20; +// left: 0; +// background:transparent; +// position: fixed; +// } +// } + |
