Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 179 | espaco | 1 | .menu-wrapper { |
| 2 | height: calc(100% - 56px); |
||
| 3 | width: 240px; |
||
| 4 | position: fixed; |
||
| 5 | left: 0; |
||
| 6 | top: 56px; |
||
| 7 | z-index: 998; |
||
| 8 | transform: none; |
||
| 9 | @include transition(transform $transitionDuration); |
||
| 10 | |||
| 11 | .layout-menu-container { |
||
| 12 | overflow: auto; |
||
| 13 | height: 100%; |
||
| 14 | |||
| 15 | .layout-menu { |
||
| 16 | list-style-type: none; |
||
| 17 | margin: 0; |
||
| 18 | padding: 0 ; |
||
| 19 | padding-bottom: 36px; |
||
| 20 | |||
| 21 | li { |
||
| 22 | padding: 0; |
||
| 23 | @include border-radius-left(10px); |
||
| 24 | &.active-menuitem { |
||
| 25 | > a { |
||
| 26 | i.layout-submenu-toggler { |
||
| 27 | @include rotate(-180deg); |
||
| 28 | } |
||
| 29 | } |
||
| 30 | } |
||
| 31 | |||
| 32 | &.layout-root-menuitem { |
||
| 33 | > a { |
||
| 34 | display: none; |
||
| 35 | } |
||
| 36 | > div { |
||
| 37 | padding-left: 12px; |
||
| 38 | margin-bottom: 6px; |
||
| 39 | margin-top: 24px; |
||
| 40 | |||
| 41 | > .layout-menuitem-text { |
||
| 42 | font-size: 12px; |
||
| 43 | font-weight: 600; |
||
| 44 | text-transform: uppercase; |
||
| 45 | } |
||
| 46 | } |
||
| 47 | } |
||
| 48 | |||
| 49 | .layout-menu-tooltip { |
||
| 50 | display: none; |
||
| 51 | } |
||
| 52 | |||
| 53 | > a { |
||
| 54 | margin: 0px; |
||
| 55 | padding: 7px 20px 6px 8px; |
||
| 56 | @include flex(); |
||
| 57 | @include flex-align-center(); |
||
| 58 | @include transition(all $transitionDuration); |
||
| 59 | font-size: 13px; |
||
| 60 | font-weight: 500; |
||
| 61 | border-radius: 0; |
||
| 62 | cursor: pointer; |
||
| 63 | user-select: none; |
||
| 64 | @include border-radius-left(10px); |
||
| 65 | |||
| 66 | .layout-menuitem-text { |
||
| 67 | margin: 0 11px; |
||
| 68 | } |
||
| 69 | |||
| 70 | i { |
||
| 71 | font-size: 14px; |
||
| 72 | &.layout-submenu-toggler { |
||
| 73 | @include transition(all $transitionDuration); |
||
| 74 | margin-left: auto; |
||
| 75 | font-size: 14px; |
||
| 76 | } |
||
| 77 | } |
||
| 78 | } |
||
| 79 | |||
| 80 | > ul { |
||
| 81 | display: block; |
||
| 82 | list-style-type: none; |
||
| 83 | padding: 0; |
||
| 84 | margin: 0; |
||
| 85 | padding-left: 19px; |
||
| 86 | |||
| 87 | li { |
||
| 88 | ul { |
||
| 89 | padding: 0 0 4px; |
||
| 90 | display: none; |
||
| 91 | li { |
||
| 92 | a { |
||
| 93 | border-radius: 0; |
||
| 94 | } |
||
| 95 | } |
||
| 96 | } |
||
| 97 | } |
||
| 98 | |||
| 99 | > li { |
||
| 100 | padding: 0; |
||
| 101 | margin-top: 8px; |
||
| 102 | &.layout-root-menuitem { |
||
| 103 | > a { |
||
| 104 | @include flex(); |
||
| 105 | } |
||
| 106 | } |
||
| 107 | &.active-menuitem { |
||
| 108 | &.layout-root-menuitem { |
||
| 109 | > a { |
||
| 110 | @include flex(); |
||
| 111 | border-bottom-left-radius: 0; |
||
| 112 | } |
||
| 113 | } |
||
| 114 | } |
||
| 115 | |||
| 116 | |||
| 117 | > div { |
||
| 118 | display: none; |
||
| 119 | } |
||
| 120 | |||
| 121 | @include nested-submenu-indents(10, 2, 10); |
||
| 122 | } |
||
| 123 | } |
||
| 124 | } |
||
| 125 | } |
||
| 126 | } |
||
| 127 | } |
||
| 128 | |||
| 129 | @media (min-width: $tabletBreakpoint + 1) { |
||
| 130 | .layout-overlay { |
||
| 131 | .menu-wrapper { |
||
| 132 | -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1); |
||
| 133 | transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1); |
||
| 134 | transform: translate3d(-241px, 0px, 0px); |
||
| 135 | } |
||
| 136 | |||
| 137 | &.layout-overlay-active { |
||
| 138 | .menu-wrapper { |
||
| 139 | transform: translate3d(0px, 0px, 0px); |
||
| 140 | } |
||
| 141 | } |
||
| 142 | |||
| 143 | .layout-topbar { |
||
| 144 | .layout-topbar-wrapper { |
||
| 145 | .layout-topbar-right { |
||
| 146 | .menu-button { |
||
| 147 | @include flex(); |
||
| 148 | } |
||
| 149 | } |
||
| 150 | } |
||
| 151 | } |
||
| 152 | } |
||
| 153 | |||
| 154 | .layout-static { |
||
| 155 | .menu-wrapper { |
||
| 156 | transform: translate3d(-241px, 0px, 0px); |
||
| 157 | } |
||
| 158 | |||
| 159 | .layout-main { |
||
| 160 | @include transition(margin-left $transitionDuration); |
||
| 161 | } |
||
| 162 | |||
| 163 | &.layout-static-active { |
||
| 164 | .menu-wrapper { |
||
| 165 | transform: translate3d(0px, 0px, 0px); |
||
| 166 | } |
||
| 167 | |||
| 168 | .layout-main { |
||
| 169 | margin-left: 240px; |
||
| 170 | } |
||
| 171 | } |
||
| 172 | .layout-topbar { |
||
| 173 | .layout-topbar-wrapper { |
||
| 174 | .layout-topbar-right { |
||
| 175 | .menu-button { |
||
| 176 | @include flex(); |
||
| 177 | } |
||
| 178 | } |
||
| 179 | } |
||
| 180 | } |
||
| 181 | } |
||
| 182 | } |
||
| 183 | |||
| 184 | @media (max-width: $tabletBreakpoint) { |
||
| 185 | .layout-wrapper { |
||
| 186 | .menu-wrapper { |
||
| 187 | top: 104px; |
||
| 188 | height: calc(100% - 104px); |
||
| 189 | -webkit-transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1); |
||
| 190 | transition-timing-function: cubic-bezier(0.86, 0, 0.07, 1); |
||
| 191 | transform: translate3d(-260px, 0px, 0px); |
||
| 192 | } |
||
| 193 | |||
| 194 | &.layout-mobile-active { |
||
| 195 | overflow: hidden; |
||
| 196 | height: 100vh; |
||
| 197 | |||
| 198 | .menu-wrapper { |
||
| 199 | transform: translate3d(0px, 0px, 0px); |
||
| 200 | } |
||
| 201 | |||
| 202 | .layout-mask { |
||
| 203 | display: block; |
||
| 204 | } |
||
| 205 | } |
||
| 206 | } |
||
| 207 | } |