flyout.css
197 lines
| 1 | #mlp-flyout { |
| 2 | position: fixed; |
| 3 | z-index: 100049; |
| 4 | transition: all 0.3s ease-in-out; |
| 5 | right: 40px; |
| 6 | bottom: 40px; |
| 7 | opacity: 1; |
| 8 | } |
| 9 | |
| 10 | #mlp-overlay { |
| 11 | background: #000; |
| 12 | opacity: 0.4; |
| 13 | filter: alpha(opacity=40); |
| 14 | position: fixed; |
| 15 | top: 0; |
| 16 | right: 0; |
| 17 | bottom: 0; |
| 18 | left: 0; |
| 19 | display: none; |
| 20 | z-index: 100049; |
| 21 | } |
| 22 | |
| 23 | #mlp-flyout a:focus { |
| 24 | outline: none; |
| 25 | box-shadow: none; |
| 26 | } |
| 27 | |
| 28 | #mlp-flyout #mlp-elements-button { |
| 29 | display: block; |
| 30 | } |
| 31 | |
| 32 | #mlp-flyout #mlp-elements-image-wrapper { |
| 33 | border: 3px solid #000000; |
| 34 | border-radius: 50%; |
| 35 | padding: 0; |
| 36 | display: block; |
| 37 | overflow: hidden; |
| 38 | background: #000000; |
| 39 | box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2); |
| 40 | } |
| 41 | |
| 42 | #mlp-flyout #mlp-elements-button img { |
| 43 | width: 55px; |
| 44 | height: 55px; |
| 45 | display: block; |
| 46 | overflow: hidden; |
| 47 | padding: 2px; |
| 48 | box-sizing: border-box; |
| 49 | position: relative; |
| 50 | top: 4px; |
| 51 | } |
| 52 | |
| 53 | #mlp-flyout #mlp-elements-button:hover #mlp-elements-image-wrapper { |
| 54 | box-shadow: 0 3px 30px rgba(0, 0, 0, 0.25); |
| 55 | } |
| 56 | |
| 57 | #mlp-flyout:not(.opened) #mlp-elements-button:hover .mlp-elements-label { |
| 58 | opacity: 1; |
| 59 | margin-right: 0; |
| 60 | } |
| 61 | |
| 62 | #mlp-flyout .mlp-elements-label { |
| 63 | position: absolute; |
| 64 | display: block; |
| 65 | top: 50%; |
| 66 | right: calc(100% + 25px); |
| 67 | transform: translateY(-50%) scale(1); |
| 68 | -moz-transform: translateY(-50%); |
| 69 | -webkit-transform: translateY(-50%); |
| 70 | color: #fff; |
| 71 | background: #444 0 0 no-repeat padding-box; |
| 72 | font-size: 14px; |
| 73 | white-space: nowrap; |
| 74 | padding: 5px 10px; |
| 75 | height: auto !important; |
| 76 | line-height: initial; |
| 77 | transition: all 0.2s ease-out; |
| 78 | border-radius: 3px; |
| 79 | -moz-border-radius: 3px; |
| 80 | -webkit-border-radius: 3px; |
| 81 | opacity: 0; |
| 82 | margin-right: -50px; |
| 83 | } |
| 84 | |
| 85 | #mlp-flyout .mlp-elements-icon { |
| 86 | width: 40px; |
| 87 | height: 40px; |
| 88 | vertical-align: middle; |
| 89 | line-height: 60px; |
| 90 | text-align: center; |
| 91 | } |
| 92 | |
| 93 | #mlp-flyout .mlp-elements-icon img { |
| 94 | max-width: 70%; |
| 95 | filter: brightness(100); |
| 96 | } |
| 97 | |
| 98 | #mlp-flyout .mlp-elements-label.visible { |
| 99 | opacity: 1; |
| 100 | } |
| 101 | |
| 102 | #mlp-flyout .mlp-elements-menu-item { |
| 103 | position: absolute; |
| 104 | left: 10px; |
| 105 | width: 40px; |
| 106 | height: 40px; |
| 107 | opacity: 0; |
| 108 | visibility: hidden; |
| 109 | transform: scale(0); |
| 110 | border-radius: 50%; |
| 111 | box-shadow: 0 3px 20px rgba(0, 0, 0, 0.2); |
| 112 | background: #1c3aa9; |
| 113 | text-align: center; |
| 114 | vertical-align: middle; |
| 115 | text-decoration: none; |
| 116 | transition-timing-function: ease-in-out; |
| 117 | } |
| 118 | |
| 119 | #mlp-flyout .mlp-elements-menu-item.accent { |
| 120 | background: #ca4a1f; |
| 121 | } |
| 122 | |
| 123 | #mlp-flyout.opened .mlp-elements-menu-item { |
| 124 | opacity: 1; |
| 125 | visibility: visible; |
| 126 | transform: scale(1); |
| 127 | } |
| 128 | |
| 129 | #mlp-flyout .mlp-elements-menu-item:hover { |
| 130 | box-shadow: 0 3px 30px rgba(0, 0, 0, 0.25); |
| 131 | } |
| 132 | |
| 133 | #mlp-flyout .mlp-elements-menu-item:hover .mlp-elements-label { |
| 134 | right: calc(100% + 55px); |
| 135 | } |
| 136 | |
| 137 | #mlp-flyout .mlp-elements-menu-item .mlp-elements-label { |
| 138 | right: calc(100% + 70px); |
| 139 | } |
| 140 | |
| 141 | #mlp-flyout .mlp-elements-menu-item .dashicons { |
| 142 | line-height: 41px; |
| 143 | font-size: 23px; |
| 144 | color: #fff; |
| 145 | padding: 0px 3px 0px 0; |
| 146 | } |
| 147 | |
| 148 | .mlp-elements-menu-item-1 { |
| 149 | bottom: 75px; |
| 150 | transition: transform 0.2s 30ms, background-color 0.2s; |
| 151 | } |
| 152 | |
| 153 | .mlp-elements-menu-item-2 { |
| 154 | bottom: 130px; |
| 155 | transition: transform 0.2s 70ms, background-color 0.2s; |
| 156 | } |
| 157 | |
| 158 | .mlp-elements-menu-item-3 { |
| 159 | bottom: 185px; |
| 160 | transition: transform 0.2s 110ms, background-color 0.2s; |
| 161 | } |
| 162 | |
| 163 | .mlp-elements-menu-item-4 { |
| 164 | bottom: 240px; |
| 165 | transition: transform 0.2s 150ms, background-color 0.2s; |
| 166 | } |
| 167 | |
| 168 | .mlp-elements-menu-item-5 { |
| 169 | bottom: 295px; |
| 170 | transition: transform 0.2s 190ms, background-color 0.2s; |
| 171 | } |
| 172 | |
| 173 | .mlp-elements-menu-item-6 { |
| 174 | bottom: 350px; |
| 175 | transition: transform 0.2s 230ms, background-color 0.2s; |
| 176 | } |
| 177 | |
| 178 | .mlp-elements-menu-item-7 { |
| 179 | bottom: 405px; |
| 180 | transition: transform 0.2s 270ms, background-color 0.2s; |
| 181 | } |
| 182 | |
| 183 | .mlp-elements-menu-item-8 { |
| 184 | bottom: 460px; |
| 185 | transition: transform 0.2s 310ms, background-color 0.2s; |
| 186 | } |
| 187 | |
| 188 | .mlp-elements-menu-item-9 { |
| 189 | bottom: 515px; |
| 190 | transition: transform 0.2s 350ms, background-color 0.2s; |
| 191 | } |
| 192 | |
| 193 | .mlp-elements-menu-item-10 { |
| 194 | bottom: 570px; |
| 195 | transition: transform 0.2s 390ms, background-color 0.2s; |
| 196 | } |
| 197 |