beyond-rails 0.0.295 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/src/font/beyond.eot +0 -0
- data/src/font/beyond.svg +9 -2
- data/src/font/beyond.ttf +0 -0
- data/src/font/beyond.woff +0 -0
- data/src/font/beyond.woff2 +0 -0
- data/src/js/components/Tooltip.js +1 -5
- data/src/sass/abstracts/_variables.scss +36 -75
- data/src/sass/base/_typography.scss +2 -1
- data/src/sass/components/_avatar.scss +5 -6
- data/src/sass/components/_btn.scss +39 -56
- data/src/sass/components/_dropdown.scss +11 -0
- data/src/sass/components/_icon.scss +143 -2
- data/src/sass/components/_mega-menu.scss +9 -6
- data/src/sass/components/_tooltip.scss +11 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13dbeb989ab2f48c2b943a38ba11e44c76c2c40f1c71e43a6147a62d462deea1
|
4
|
+
data.tar.gz: 565b347f30cf323cf9cb1544928e292529a38295ce2986c4f157d52296aa2df6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e07cef68473ff31897dff7ad742c88314555252cea27c3b91f59cfec044605a2690a5cd6737b4fce37a28669d0f25086a748225cf3dee04264168fbc6a5d54f
|
7
|
+
data.tar.gz: 746929a87982024cff6afa0922aae9a8e2ce4b6b11c42f80b820bd02da24244d5d51f5418249ae3143ba369648eaa22a70b83ef22431a841a112d3a9e2c7bb38
|
data/src/font/beyond.eot
CHANGED
Binary file
|
data/src/font/beyond.svg
CHANGED
@@ -142,6 +142,13 @@
|
|
142
142
|
<glyph unicode="" glyph-name="expand" d="M511.868-65.382h-0.845c-14.249 0.040-27.086 6.057-36.136 15.676-0.801 0.713-1.585 1.457-2.35 2.231l-343.999 348.25c-19.309 19.548-19.115 51.047 0.432 70.356s51.047 19.115 70.356-0.432l262.305-265.547 1.213 575.831c0.058 27.476 22.379 49.703 49.855 49.645s49.703-22.379 49.645-49.855l-1.215-576.566 263.564 266.512c19.32 19.536 50.82 19.712 70.356 0.391s19.712-50.82 0.391-70.356l-347.473-351.359c-9.914-10.025-23.035-14.952-36.101-14.777v0zM143.131 880c-16.089 0-29.131 17.909-29.131 40s13.042 40 29.131 40h737.738c16.089 0 29.131-17.909 29.131-40s-13.042-40-29.131-40h-737.738z" />
|
143
143
|
<glyph unicode="" glyph-name="shrink" d="M511.868 733.382c13.066 0.174 26.187-4.752 36.101-14.777l347.473-351.359c19.32-19.536 19.145-51.036-0.391-70.356s-51.036-19.145-70.356 0.391l-263.564 266.512 1.215-576.566c0.058-27.476-22.169-49.797-49.645-49.855s-49.797 22.169-49.855 49.646l-1.213 575.831-262.305-265.547c-19.309-19.548-50.808-19.741-70.356-0.432s-19.741 50.808-0.432 70.356l343.999 348.25c0.765 0.774 1.548 1.518 2.35 2.231 9.050 9.619 21.887 15.636 36.136 15.676h0.845zM143.131 880c-16.089 0-29.131 17.909-29.131 40s13.042 40 29.131 40h737.738c16.089 0 29.131-17.909 29.131-40s-13.042-40-29.131-40h-737.738z" />
|
144
144
|
<glyph unicode="" glyph-name="brush-alt" d="M895.693 940.743c39.535 21.353 73.331 18.001 101.388-10.056s31.529-61.973 10.415-101.747c-143.315-175.012-239.296-288.064-287.944-339.154-72.972-76.635-157.854-139.003-163.736-133.121-6.569 6.569-118.875 118.875-132.999 132.999 0 0-26.317 11.172 133.364 163.493 106.454 101.547 219.625 197.409 339.512 287.586zM354.82 430.539c43.447-43.447 87.986-87.092 133.617-130.937 0.461-110.050-52.691-190.068-159.457-240.055s-216.426 4.111-328.98 162.293c77.634-4.996 125.092 4.308 142.375 27.91 26.195 35.773 7.996 84.241 73.273 146.441 36.047 34.348 107.648 34.348 139.172 34.348z" />
|
145
|
-
<glyph unicode="&#
|
146
|
-
<glyph unicode="&#
|
145
|
+
<glyph unicode="" glyph-name="pencil7" d="M768 416v-352h-640v640h352l128 128h-512c-52.8 0-96-43.2-96-96v-704c0-52.8 43.2-96 96-96h704c52.798 0 96 43.2 96 96v512l-128-128zM864 960l-608-608v-160h160l608 608c0 96-64 160-160 160zM416 320l-48 48 480 480 48-48-480-480z" />
|
146
|
+
<glyph unicode="" glyph-name="store2" d="M416 384h-192c-17.672 0-32-14.326-32-32v-192c0-17.674 14.328-32 32-32h192c17.672 0 32 14.326 32 32v192c0 17.674-14.328 32-32 32zM384 192h-128v128h128v-128zM1024 576v288c0 17.672-14.326 32-32 32h-960c-17.672 0-32-14.328-32-32v-288c0-47.274 25.78-88.612 64-110.78v-465.22h-32c-17.672 0-32-14.326-32-32s14.328-32 32-32h960c17.674 0 32 14.326 32 32s-14.326 32-32 32h-32v465.22c38.22 22.168 64 63.506 64 110.78zM640 832h128v-256c0-35.29-28.71-64-64-64-35.292 0-64 28.71-64 64v256zM256 832h128v-256c0-35.29-28.71-64-64-64-35.292 0-64 28.71-64 64v256zM768 0h-128v256h128v-256zM896 0h-64v288c0 17.674-14.326 32-32 32h-192c-17.674 0-32-14.326-32-32v-288h-448v448c38.204 0 72.526 16.844 96 43.472 23.474-26.628 57.796-43.472 96-43.472s72.526 16.844 96 43.472c23.474-26.628 57.796-43.472 96-43.472s72.528 16.844 96 43.47c23.472-26.626 57.796-43.47 96-43.47s72.528 16.844 96 43.47c23.472-26.626 57.796-43.47 96-43.47v-448z" />
|
147
|
+
<glyph unicode="" glyph-name="basket" d="M812.988 576l-177.842 231.53c3.122 7.54 4.854 15.802 4.854 24.47 0 35.346-28.652 64-64 64-35.346 0-64-28.654-64-64s28.654-64 64-64c2.842 0 5.632 0.204 8.376 0.564l147.912-192.564h-440.574l147.912 192.564c2.742-0.36 5.534-0.564 8.374-0.564 35.346 0 64 28.654 64 64s-28.654 64-64 64-64-28.654-64-64c0-8.668 1.732-16.93 4.854-24.468l-177.842-231.532h-211.012v-128h64l64-512h768l64 512h64v128h-211.012zM320 64h-128v128h128v-128zM320 320h-128v128h128v-128zM576 64h-128v128h128v-128zM576 320h-128v128h128v-128zM832 64h-128v128h128v-128zM832 320h-128v128h128v-128z" />
|
148
|
+
<glyph unicode="" glyph-name="coin-dollar" d="M480 896c-265.096 0-480-214.904-480-480 0-265.098 214.904-480 480-480 265.098 0 480 214.902 480 480 0 265.096-214.902 480-480 480zM480 32c-212.078 0-384 171.922-384 384s171.922 384 384 384c212.078 0 384-171.922 384-384s-171.922-384-384-384zM512 448v128h128v64h-128v64h-64v-64h-128v-256h128v-128h-128v-64h128v-64h64v64h128.002l-0.002 256h-128zM448 448h-64v128h64v-128zM576.002 256h-64.002v128h64.002v-128z" />
|
149
|
+
<glyph unicode="" glyph-name="database-refresh" d="M923.004 507.004c-50.316 43.010-115.62 68.996-187.004 68.996-140.95 0-258.234-101.262-283.116-235h98.562c23.058 80.174 97.062 139 184.554 139 44.798 0 86.038-15.45 118.736-41.264l-118.736-118.736h288v288l-100.996-100.996zM736 96c-44.798 0-86.038 15.45-118.736 41.264l118.736 118.736h-288v-288l100.996 100.996c50.312-43.012 115.62-68.996 187.004-68.996 140.95 0 258.232 101.262 283.116 235h-98.556c-23.064-80.174-97.068-139-184.56-139zM138.12 374.66c-48.8 17.594-68.726 35.99-74.12 43.338v161.998c63.702-41.124 168.942-67.996 288-67.996 10.79 0 21.458 0.234 32 0.666v84.098c-10.574-0.488-21.246-0.764-32-0.764-73.698 0-144.112 11.6-198.27 32.662-45.24 17.594-63.712 35.99-68.71 43.338 4.998 7.348 23.47 25.744 68.71 43.338 54.158 21.062 124.572 32.662 198.27 32.662s144.112-11.6 198.272-32.662c45.238-17.594 63.71-35.99 68.708-43.338-3.924-5.768-16.16-18.346-43.124-32h121.096c4.618 10.34 7.046 21.042 7.046 32 0 88.366-157.596 160-352 160s-351.998-71.634-351.998-160v-512c0-88.366 157.596-160 352-160 10.79 0 21.458 0.232 32 0.664v83.984c-10.582-0.418-21.254-0.648-32-0.648-79.5 0-155.458 11.6-213.88 32.662-48.802 17.594-68.728 35.99-74.12 43.338v165.994c63.702-41.124 168.942-67.996 288-67.996 10.79 0 21.458 0.232 32 0.666v83.982c-10.582-0.418-21.254-0.648-32-0.648-79.5 0-155.458 11.6-213.88 32.662z" />
|
150
|
+
<glyph unicode="" glyph-name="bug" d="M1024 384v64h-193.29c-5.862 72.686-31.786 139.026-71.67 192.25h161.944l70.060 280.24-62.090 15.522-57.94-231.76h-174.68c-0.892 0.694-1.796 1.374-2.698 2.056 6.71 19.502 10.362 40.422 10.362 62.194 0.002 105.76-85.958 191.498-191.998 191.498s-192-85.738-192-191.5c0-21.772 3.65-42.692 10.362-62.194-0.9-0.684-1.804-1.362-2.698-2.056h-174.68l-57.94 231.76-62.090-15.522 70.060-280.24h161.944c-39.884-53.222-65.806-119.562-71.668-192.248h-193.29v-64h193.37c3.802-45.664 15.508-88.812 33.638-127.75h-123.992l-70.060-280.238 62.090-15.524 57.94 231.762h112.354c58.692-78.032 147.396-127.75 246.66-127.75s187.966 49.718 246.662 127.75h112.354l57.94-231.762 62.090 15.524-70.060 280.238h-123.992c18.13 38.938 29.836 82.086 33.636 127.75h193.37z" />
|
151
|
+
<glyph unicode="" glyph-name="meter" d="M512 896c282.77 0 512-229.23 512-512 0-192.792-106.576-360.666-264.008-448h-495.984c-157.432 87.334-264.008 255.208-264.008 448 0 282.77 229.23 512 512 512zM801.914 94.086c77.438 77.44 120.086 180.398 120.086 289.914h-90v64h85.038c-7.014 44.998-21.39 88.146-42.564 128h-106.474v64h64.284c-9.438 11.762-19.552 23.096-30.37 33.914-46.222 46.22-101.54 80.038-161.914 99.798v-69.712h-64v85.040c-20.982 3.268-42.36 4.96-64 4.96s-43.018-1.69-64-4.96v-85.040h-64v69.712c-60.372-19.76-115.692-53.576-161.914-99.798-10.818-10.818-20.932-22.152-30.37-33.914h64.284v-64h-106.476c-21.174-39.854-35.552-83.002-42.564-128h85.040v-64h-90c0-109.516 42.648-212.474 120.086-289.914 10.71-10.71 21.924-20.728 33.56-30.086h192.354l36.572 512h54.856l36.572-512h192.354c11.636 9.358 22.852 19.378 33.56 30.086z" />
|
152
|
+
<glyph unicode="" glyph-name="target1" d="M1024 512h-100.924c-27.64 178.24-168.836 319.436-347.076 347.076v100.924h-128v-100.924c-178.24-27.64-319.436-168.836-347.076-347.076h-100.924v-128h100.924c27.64-178.24 168.836-319.436 347.076-347.076v-100.924h128v100.924c178.24 27.64 319.436 168.836 347.076 347.076h100.924v128zM792.822 512h-99.762c-19.284 54.55-62.51 97.778-117.060 117.060v99.762c107.514-24.49 192.332-109.31 216.822-216.822zM512 384c-35.346 0-64 28.654-64 64s28.654 64 64 64c35.346 0 64-28.654 64-64s-28.654-64-64-64zM448 728.822v-99.762c-54.55-19.282-97.778-62.51-117.060-117.060h-99.762c24.49 107.512 109.31 192.332 216.822 216.822zM231.178 384h99.762c19.282-54.55 62.51-97.778 117.060-117.060v-99.762c-107.512 24.49-192.332 109.308-216.822 216.822zM576 167.178v99.762c54.55 19.284 97.778 62.51 117.060 117.060h99.762c-24.49-107.514-109.308-192.332-216.822-216.822z" />
|
153
|
+
<glyph unicode="" glyph-name="pencil-ruler" d="M249.562 945.846c-5.964 8.882-15.986 14.21-26.676 14.154-10.7-0.040-20.672-5.422-26.574-14.346l-127-192c-3.464-5.236-5.312-11.376-5.312-17.654v-736c0-35.29 28.708-64 64-64h192c35.29 0 64 28.71 64 64v736c0 6.356-1.894 12.57-5.44 17.846l-128.998 192zM197.868 832h51.082l71.050-105.752 0.022-662.248h-192.022v662.374l69.868 105.626zM224 128c17.672 0 32 14.326 32 32v512c0 17.672-14.328 32-32 32s-32-14.328-32-32v-512c0-17.674 14.328-32 32-32zM512 960v-1024h384v1024h-384zM832 832h-64v-64h64v-64h-128v-64h128v-64h-64v-64h64v-64h-128v-64h128v-64h-64v-64h64v-64h-128v-64h128v-128h-256v896h256v-64z" />
|
147
154
|
</font></defs></svg>
|
data/src/font/beyond.ttf
CHANGED
Binary file
|
data/src/font/beyond.woff
CHANGED
Binary file
|
data/src/font/beyond.woff2
CHANGED
Binary file
|
@@ -67,12 +67,10 @@ export default class Tooltip {
|
|
67
67
|
this.addEvent(dom, 'mouseover', () => {
|
68
68
|
|
69
69
|
const msg = this.dom.dataset.msg || ''
|
70
|
-
const style = this.dom.dataset.style || 'default'
|
71
70
|
|
72
71
|
if (msg.length === 0) {
|
73
72
|
return
|
74
73
|
}
|
75
|
-
|
76
74
|
this.setTooltipMsg()
|
77
75
|
|
78
76
|
tooltip.style.opacity = 0
|
@@ -84,9 +82,7 @@ export default class Tooltip {
|
|
84
82
|
place: this.getPlace(),
|
85
83
|
offset: this.getOffset()
|
86
84
|
})
|
87
|
-
|
88
|
-
tooltip.className = (style === 'default') ? 'tooltip' : `tooltip tooltip-popover ${place}`
|
89
|
-
|
85
|
+
tooltip.className = `tooltip ${place}`
|
90
86
|
tooltip.style.left = toPixel(pos.left)
|
91
87
|
tooltip.style.top = toPixel(pos.top)
|
92
88
|
tooltip.style.opacity = 1
|
@@ -197,20 +197,6 @@ $bg-tags: (
|
|
197
197
|
$color-tag-danger-ex: #fff;
|
198
198
|
$bg-tag-danger-ex: #e03953;
|
199
199
|
|
200
|
-
$bg-avatar-type0: #a3d96e;
|
201
|
-
$bg-avatar-type1: #ffb958;
|
202
|
-
$bg-avatar-type2: #5956D6;
|
203
|
-
$bg-avatar-type3: #ce4d94;
|
204
|
-
$bg-avatar-type4: #56c4d6;
|
205
|
-
|
206
|
-
$bg-avatars: (
|
207
|
-
(avatar-type0, $bg-avatar-type0),
|
208
|
-
(avatar-type1, $bg-avatar-type1),
|
209
|
-
(avatar-type2, $bg-avatar-type2),
|
210
|
-
(avatar-type3, $bg-avatar-type3),
|
211
|
-
(avatar-type4, $bg-avatar-type4)
|
212
|
-
);
|
213
|
-
|
214
200
|
$screen-sm: 576px;
|
215
201
|
$screen-md: 768px;
|
216
202
|
$screen-lg: 992px;
|
@@ -258,52 +244,41 @@ $alert-color-secondary: #3c4257;
|
|
258
244
|
$alert-color-link-secondary: #121623;
|
259
245
|
$alert-color-hr-secondary: #121623;
|
260
246
|
|
261
|
-
$alert-bg-success: #e6f3e6;
|
262
|
-
$alert-color-success: #3c4257;
|
263
|
-
$alert-color-link-success: #022519;
|
264
|
-
$alert-color-hr-success: #87b3a4;
|
265
|
-
|
266
247
|
$alert-bg-danger: #f7e9e9;
|
267
248
|
$alert-color-danger: #3c4257;
|
268
249
|
$alert-color-link-danger: #310101;
|
269
250
|
$alert-color-hr-danger: #310101;
|
270
251
|
|
271
|
-
$alert-bg-
|
272
|
-
$alert-color-
|
273
|
-
$alert-color-link-
|
274
|
-
$alert-color-hr-
|
275
|
-
|
276
|
-
$alert-
|
277
|
-
|
278
|
-
$alert-
|
279
|
-
$alert-
|
280
|
-
|
281
|
-
$alert-bg-
|
282
|
-
$alert-
|
283
|
-
|
284
|
-
$alert-
|
285
|
-
|
286
|
-
$alert-
|
287
|
-
$alert-color-
|
288
|
-
$alert-color-
|
289
|
-
|
290
|
-
|
291
|
-
$alert-
|
292
|
-
|
293
|
-
|
294
|
-
$alert-
|
295
|
-
|
296
|
-
|
297
|
-
$alert-
|
298
|
-
$alert-color-
|
299
|
-
|
300
|
-
$alert-color-
|
301
|
-
$alert-color-link-success, $alert-color-link-danger, $alert-color-link-warning,
|
302
|
-
$alert-color-link-info, $alert-color-link-light, $alert-color-link-dark;
|
303
|
-
|
304
|
-
$alert-color-hrs: $alert-color-hr-primary, $alert-color-hr-secondary,
|
305
|
-
$alert-color-hr-success, $alert-color-hr-danger, $alert-color-hr-warning,
|
306
|
-
$alert-color-hr-info, $alert-color-hr-light, $alert-color-hr-dark;
|
252
|
+
$alert-bg-warn: #f9f1ea;
|
253
|
+
$alert-color-warn: #3c4257;
|
254
|
+
$alert-color-link-warn: #3a1401;
|
255
|
+
$alert-color-hr-warn: #3a1401;
|
256
|
+
|
257
|
+
$alert-states: 'primary', 'secondary', 'warn', 'danger';
|
258
|
+
|
259
|
+
$alert-bgs:
|
260
|
+
$alert-bg-primary,
|
261
|
+
$alert-bg-secondary,
|
262
|
+
$alert-bg-warn,
|
263
|
+
$alert-bg-danger;
|
264
|
+
|
265
|
+
$alert-colors:
|
266
|
+
$alert-color-primary,
|
267
|
+
$alert-color-secondary,
|
268
|
+
$alert-color-warn,
|
269
|
+
$alert-color-danger;
|
270
|
+
|
271
|
+
$alert-color-links:
|
272
|
+
$alert-color-link-primary,
|
273
|
+
$alert-color-link-secondary,
|
274
|
+
$alert-color-link-warn,
|
275
|
+
$alert-color-link-danger;
|
276
|
+
|
277
|
+
$alert-color-hrs:
|
278
|
+
$alert-color-hr-primary,
|
279
|
+
$alert-color-hr-secondary,
|
280
|
+
$alert-color-hr-warn,
|
281
|
+
$alert-color-hr-danger;
|
307
282
|
|
308
283
|
$sizes: 25, 50, 75, 100;
|
309
284
|
|
@@ -325,31 +300,17 @@ $badges:
|
|
325
300
|
$border-color: #dee2e6;
|
326
301
|
|
327
302
|
// buttons
|
328
|
-
// classname, bg, color, bg-ex, bg-disabled,
|
329
|
-
$btn-primary: 'btn-primary', #6772e5, #fff, #7795f8, #b2b7df,
|
330
|
-
$btn-secondary: 'btn-secondary', #fff, #6772e5, #fff, #ebebeb, lighten(#
|
331
|
-
$btn-
|
332
|
-
$btn-
|
333
|
-
$btn-warn: 'btn-warn', #f1946a, #fff, #ffaf8c, #e5cec3, darken(#f1946a, 10%), lighten(#f1946a, 7%), #fff;
|
334
|
-
$btn-warning: 'btn-warning', #f1946a, #fff, #ffaf8c, #e5cec3, darken(#f1946a, 10%), lighten(#f1946a, 7%), #fff;
|
335
|
-
$btn-info: 'btn-info', #5ecdf1, #fff, #7bdfff, #a4c5d0, darken(#5ecdf1, 10%), lighten(#5ecdf1, 7%), #fff;
|
336
|
-
$btn-light: 'btn-light', #f8f9fa, #697386, #f8f9fa, #ebebeb, #ccc, lighten(#ccc, 13%), #697386;
|
337
|
-
$btn-dark: 'btn-dark', #000, #fff, #4c4c4c, #b7b7b7, #000, lighten(#000, 30%), #fff;
|
338
|
-
$btn-type1: 'btn-type1', #d681d8, #fff, #eda3ef, #d1bdd1, darken(#d681d8, 10%), lighten(#d681d8, 7%), #fff;
|
339
|
-
$btn-type2: 'btn-type2', #fdd85f, #516487, #ffe89e, #dcd7c9, darken(#fdd85f, 10%), lighten(#fdd85f, 7%), #516487;
|
303
|
+
// classname, border, bg, color, bg-ex, bg-disabled, badge-bg, badge-color
|
304
|
+
$btn-primary: 'btn-primary', #6772e5, #fff, #7795f8, #b2b7df, #6c8eef, #fff;
|
305
|
+
$btn-secondary: 'btn-secondary', #fff, #6772e5, #fff, #ebebeb, lighten(#ccc, 12%), #6772e5;
|
306
|
+
$btn-danger: 'btn-danger', #cd3d64, #fff, #ef6a8e, #b59ba7, lighten(#cd3d64, 10%), #fff;
|
307
|
+
$btn-warn: 'btn-warn', #f1946a, #fff, #ffaf8c, #e5cec3, lighten(#f1946a, 7%), #fff;
|
340
308
|
|
341
309
|
$btns:
|
342
310
|
$btn-primary,
|
343
311
|
$btn-secondary,
|
344
|
-
$btn-success,
|
345
312
|
$btn-danger,
|
346
|
-
$btn-warn
|
347
|
-
$btn-warning,
|
348
|
-
$btn-info,
|
349
|
-
$btn-light,
|
350
|
-
$btn-dark,
|
351
|
-
$btn-type1,
|
352
|
-
$btn-type2;
|
313
|
+
$btn-warn;
|
353
314
|
|
354
315
|
// classname, bg, color, color-ex, color-disabled
|
355
316
|
$btn-link: 'btn-link', #fff, #5469d4, #32325d, #bbb;
|
@@ -19,10 +19,9 @@
|
|
19
19
|
line-height: 38px;
|
20
20
|
font-size: 16px;
|
21
21
|
}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
}
|
22
|
+
.avatar-letter {
|
23
|
+
background-color: #eee;
|
24
|
+
border: 1px solid #ddd;
|
25
|
+
color: #333;
|
26
|
+
font-weight: 900;
|
28
27
|
}
|
@@ -1,21 +1,37 @@
|
|
1
|
+
$default-border: #e6e6e6;
|
2
|
+
|
1
3
|
.btn {
|
2
4
|
outline: 0;
|
3
5
|
background-color: #fff;
|
4
6
|
display: inline-flex;
|
5
7
|
justify-content: center;
|
6
8
|
align-items: center;
|
7
|
-
border:
|
9
|
+
border: 1px solid $default-border;
|
8
10
|
padding: 6px 12px 7px;
|
9
11
|
border-radius: 3px;
|
10
12
|
font-size: 14px;
|
11
13
|
font-weight: 700;
|
12
14
|
transition: all .3s;
|
13
|
-
|
14
|
-
0 1px 3px 0 rgba(0, 0, 0, .08);
|
15
|
+
|
15
16
|
&:focus,
|
16
17
|
&:hover:focus {
|
17
18
|
@include focus-outline;
|
18
19
|
}
|
20
|
+
&.hover,
|
21
|
+
&:hover {
|
22
|
+
transform: translateY(-1px);
|
23
|
+
}
|
24
|
+
&.active,
|
25
|
+
&:active {
|
26
|
+
transform: translateY(0);
|
27
|
+
box-shadow: none;
|
28
|
+
border: 1px solid darken($default-border, 20%);
|
29
|
+
}
|
30
|
+
&.disabled,
|
31
|
+
&:disabled {
|
32
|
+
transform: translateY(0);
|
33
|
+
cursor: not-allowed;
|
34
|
+
}
|
19
35
|
&.btn-sm {
|
20
36
|
&, .icon:before {
|
21
37
|
font-size: 12px;
|
@@ -50,22 +66,6 @@
|
|
50
66
|
}
|
51
67
|
}
|
52
68
|
}
|
53
|
-
&.hover,
|
54
|
-
&:hover {
|
55
|
-
transform: translateY(-1px);
|
56
|
-
box-shadow: 0 7px 12px 0 rgba(50, 50, 93, .11),
|
57
|
-
0 3px 6px 0 rgba(0, 0, 0, .08);
|
58
|
-
}
|
59
|
-
&.active,
|
60
|
-
&:active {
|
61
|
-
transform: translateY(0);
|
62
|
-
box-shadow: none;
|
63
|
-
}
|
64
|
-
&.disabled,
|
65
|
-
&:disabled {
|
66
|
-
transform: translateY(0);
|
67
|
-
cursor: not-allowed;
|
68
|
-
}
|
69
69
|
.icon {
|
70
70
|
margin-right: .4em;
|
71
71
|
}
|
@@ -97,58 +97,44 @@
|
|
97
97
|
@include ripple(48px, 0, 0);
|
98
98
|
}
|
99
99
|
|
100
|
-
.btn.btn-outline,
|
101
|
-
a.btn.btn-outline {
|
102
|
-
color: $text-color;
|
103
|
-
}
|
104
|
-
|
105
|
-
.btn.btn-outline {
|
106
|
-
background-color: #fff;
|
107
|
-
font-size: 13px;
|
108
|
-
font-weight: 400;
|
109
|
-
padding: 4px 7px;
|
110
|
-
border: 1px solid #ccc;
|
111
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
|
112
|
-
&.hover,
|
113
|
-
&:hover {
|
114
|
-
transform: translateY(-1px);
|
115
|
-
box-shadow: 0 1px 2px 0 rgba(50, 50, 93, .11),
|
116
|
-
0 3px 6px 0 rgba(0, 0, 0, .08);
|
117
|
-
}
|
118
|
-
&:focus {
|
119
|
-
@include focus-outline;
|
120
|
-
}
|
121
|
-
&.active {
|
122
|
-
background-color: #f3f3f7;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
|
-
.btn-outline .ring-loader div {
|
127
|
-
border-color: $text-color-light transparent transparent transparent;
|
128
|
-
}
|
129
|
-
|
130
100
|
.btn .badge {
|
131
101
|
margin-left: .5rem;
|
132
102
|
font-weight: 400;
|
133
103
|
}
|
134
104
|
|
135
|
-
@each $classname, $bg, $color, $bg-ex, $bg-disabled, $
|
105
|
+
@each $classname, $bg, $color, $bg-ex, $bg-disabled, $badge-bg, $badge-color in $btns {
|
136
106
|
.btn.#{$classname} {
|
137
107
|
background-color: $bg;
|
138
108
|
color: $color;
|
109
|
+
@if $classname == 'btn-secondary' {
|
110
|
+
border: 1px solid $default-border;
|
111
|
+
box-shadow: none;
|
112
|
+
}
|
113
|
+
@else {
|
114
|
+
border: 0;
|
115
|
+
box-shadow: 0 4px 6px 0 rgba(50, 50, 93, .05),
|
116
|
+
0 1px 3px 0 rgba(0, 0, 0, .08);
|
117
|
+
&.hover,
|
118
|
+
&:hover {
|
119
|
+
box-shadow: 0 7px 12px 0 rgba(50, 50, 93, .05),
|
120
|
+
0 3px 6px 0 rgba(0, 0, 0, .08);
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
139
124
|
&.hover,
|
140
125
|
&:hover,
|
141
126
|
&.active,
|
142
127
|
&:active {
|
143
128
|
background-color: $bg-ex;
|
144
129
|
}
|
130
|
+
&.active,
|
131
|
+
&:active {
|
132
|
+
border: 1px solid darken($bg-ex, 20%);
|
133
|
+
}
|
145
134
|
&.disabled,
|
146
135
|
&:disabled {
|
147
136
|
background-color: $bg-disabled;
|
148
137
|
}
|
149
|
-
&.outlined {
|
150
|
-
border: 1px solid $outlined-color;
|
151
|
-
}
|
152
138
|
.badge {
|
153
139
|
background-color: $badge-bg;
|
154
140
|
color: $badge-color;
|
@@ -171,9 +157,6 @@ a.btn.btn-outline {
|
|
171
157
|
&:disabled {
|
172
158
|
color: nth($btn-link, 5);
|
173
159
|
}
|
174
|
-
&.outlined {
|
175
|
-
border: 1px solid #ccc;
|
176
|
-
}
|
177
160
|
}
|
178
161
|
|
179
162
|
button.close {
|
@@ -25,6 +25,7 @@
|
|
25
25
|
.dropdown-menu {
|
26
26
|
display: none;
|
27
27
|
transition: .2s all;
|
28
|
+
border-radius: 5px;
|
28
29
|
|
29
30
|
.dropdown-menu-scrollable {
|
30
31
|
max-height: 186px;
|
@@ -153,3 +154,13 @@
|
|
153
154
|
padding: 14px;
|
154
155
|
font-size: .9rem;
|
155
156
|
}
|
157
|
+
|
158
|
+
.dropdown-menu .dropdown-submenu .dropdown-item {
|
159
|
+
padding: .4rem 1.2rem .4rem 1.2rem;
|
160
|
+
}
|
161
|
+
.dropdown-heading {
|
162
|
+
font-size: 14px;
|
163
|
+
padding: 0 15px;
|
164
|
+
font-weight: 900;
|
165
|
+
color: #40468a;
|
166
|
+
}
|
@@ -64,279 +64,371 @@
|
|
64
64
|
}
|
65
65
|
.icon-bell:before {
|
66
66
|
content: "\e90c";
|
67
|
+
|
67
68
|
}
|
68
69
|
.icon-bell-alt:before {
|
69
70
|
content: "\e90b";
|
71
|
+
|
70
72
|
}
|
71
73
|
.icon-bh:before {
|
72
74
|
content: "\e90d";
|
75
|
+
|
73
76
|
}
|
74
77
|
.icon-birthday-cake:before {
|
75
78
|
content: "\e90e";
|
79
|
+
|
76
80
|
}
|
77
81
|
.icon-black-cat:before {
|
78
82
|
content: "\e90f";
|
83
|
+
|
79
84
|
}
|
80
85
|
.icon-bolt:before {
|
81
86
|
content: "\e911";
|
87
|
+
|
82
88
|
}
|
83
89
|
.icon-bolt-alt:before {
|
84
90
|
content: "\e910";
|
91
|
+
|
85
92
|
}
|
86
93
|
.icon-brush:before {
|
87
94
|
content: "\e912";
|
95
|
+
|
88
96
|
}
|
89
97
|
.icon-brush-alt:before {
|
90
98
|
content: "\e986";
|
99
|
+
|
91
100
|
}
|
92
101
|
.icon-calculator:before {
|
93
102
|
content: "\e913";
|
103
|
+
|
94
104
|
}
|
95
105
|
.icon-calendar:before {
|
96
106
|
content: "\e914";
|
107
|
+
|
97
108
|
}
|
98
109
|
.icon-caret-square-up:before {
|
99
110
|
content: "\e915";
|
111
|
+
|
100
112
|
}
|
101
113
|
.icon-cart:before {
|
102
114
|
content: "\e917";
|
115
|
+
|
103
116
|
}
|
104
117
|
.icon-cart-empty:before {
|
105
118
|
content: "\e916";
|
119
|
+
|
106
120
|
}
|
107
121
|
.icon-chart-bar:before {
|
108
122
|
content: "\e918";
|
123
|
+
|
109
124
|
}
|
110
125
|
.icon-check:before {
|
111
126
|
content: "\e91a";
|
127
|
+
|
112
128
|
}
|
113
129
|
.icon-check-circle:before {
|
114
130
|
content: "\e919";
|
131
|
+
|
115
132
|
}
|
116
133
|
.icon-chevron-down:before {
|
117
134
|
content: "\e91b";
|
135
|
+
|
118
136
|
}
|
119
137
|
.icon-chevron-left:before {
|
120
138
|
content: "\e91c";
|
139
|
+
|
121
140
|
}
|
122
141
|
.icon-chevron-right:before {
|
123
142
|
content: "\e91d";
|
143
|
+
|
124
144
|
}
|
125
145
|
.icon-chevron-up:before {
|
126
146
|
content: "\e91e";
|
147
|
+
|
127
148
|
}
|
128
149
|
.icon-clock:before {
|
129
150
|
content: "\e91f";
|
151
|
+
|
130
152
|
}
|
131
153
|
.icon-code:before {
|
132
154
|
content: "\e920";
|
155
|
+
|
133
156
|
}
|
134
157
|
.icon-cog:before {
|
135
158
|
content: "\e921";
|
159
|
+
|
136
160
|
}
|
137
161
|
.icon-cogs:before {
|
138
162
|
content: "\e922";
|
163
|
+
|
139
164
|
}
|
140
165
|
.icon-comments:before {
|
141
166
|
content: "\e923";
|
167
|
+
|
142
168
|
}
|
143
169
|
.icon-copy:before {
|
144
170
|
content: "\e924";
|
171
|
+
|
145
172
|
}
|
146
173
|
.icon-credit-card:before {
|
147
174
|
content: "\e925";
|
175
|
+
|
148
176
|
}
|
149
177
|
.icon-cross:before {
|
150
178
|
content: "\e927";
|
179
|
+
|
151
180
|
}
|
152
181
|
.icon-cross-circle:before {
|
153
182
|
content: "\e926";
|
183
|
+
|
154
184
|
}
|
155
185
|
.icon-crown:before {
|
156
186
|
content: "\e983";
|
187
|
+
|
157
188
|
}
|
158
189
|
.icon-doc:before {
|
159
190
|
content: "\e928";
|
191
|
+
|
160
192
|
}
|
161
193
|
.icon-dollar:before {
|
162
194
|
content: "\e92a";
|
195
|
+
|
163
196
|
}
|
164
197
|
.icon-dollar-alt:before {
|
165
198
|
content: "\e929";
|
199
|
+
|
166
200
|
}
|
167
201
|
.icon-dot-circle:before {
|
168
202
|
content: "\e92c";
|
203
|
+
|
169
204
|
}
|
170
205
|
.icon-dot-circle-alt:before {
|
171
206
|
content: "\e92b";
|
207
|
+
|
172
208
|
}
|
173
209
|
.icon-download:before {
|
174
210
|
content: "\e92d";
|
211
|
+
|
175
212
|
}
|
176
213
|
.icon-earth:before {
|
177
214
|
content: "\e92e";
|
215
|
+
|
178
216
|
}
|
179
217
|
.icon-ecpay:before {
|
180
218
|
content: "\e92f";
|
219
|
+
|
181
220
|
}
|
182
221
|
.icon-ellipsis-h:before {
|
183
222
|
content: "\e930";
|
223
|
+
|
184
224
|
}
|
185
225
|
.icon-ellipsis-v:before {
|
186
226
|
content: "\e931";
|
227
|
+
|
187
228
|
}
|
188
229
|
.icon-envelop:before {
|
189
230
|
content: "\e932";
|
231
|
+
|
190
232
|
}
|
191
233
|
.icon-exchange:before {
|
192
234
|
content: "\e933";
|
235
|
+
|
193
236
|
}
|
194
237
|
.icon-exclamation-triangle:before {
|
195
238
|
content: "\e934";
|
239
|
+
|
196
240
|
}
|
197
241
|
.icon-expand:before {
|
198
242
|
content: "\e984";
|
243
|
+
|
199
244
|
}
|
200
245
|
.icon-external-link:before {
|
201
246
|
content: "\e935";
|
247
|
+
|
202
248
|
}
|
203
249
|
.icon-family-mart:before {
|
204
250
|
content: "\e936";
|
251
|
+
|
205
252
|
}
|
206
253
|
.icon-fb:before {
|
207
254
|
content: "\e938";
|
255
|
+
|
208
256
|
}
|
209
257
|
.icon-fb-messenger:before {
|
210
258
|
content: "\e937";
|
259
|
+
|
211
260
|
}
|
212
261
|
.icon-female:before {
|
213
262
|
content: "\e939";
|
263
|
+
|
214
264
|
}
|
215
265
|
.icon-file:before {
|
216
266
|
content: "\e93b";
|
267
|
+
|
217
268
|
}
|
218
269
|
.icon-file-alt:before {
|
219
270
|
content: "\e93a";
|
271
|
+
|
220
272
|
}
|
221
273
|
.icon-flag:before {
|
222
274
|
content: "\e93c";
|
275
|
+
|
223
276
|
}
|
224
277
|
.icon-google-map:before {
|
225
278
|
content: "\e93d";
|
279
|
+
|
226
280
|
}
|
227
281
|
.icon-h:before {
|
228
282
|
content: "\e93e";
|
283
|
+
|
229
284
|
}
|
230
285
|
.icon-hamburger:before {
|
231
286
|
content: "\e93f";
|
287
|
+
|
232
288
|
}
|
233
289
|
.icon-hct:before {
|
234
290
|
content: "\e940";
|
291
|
+
|
235
292
|
}
|
236
293
|
.icon-hi-life:before {
|
237
294
|
content: "\e941";
|
295
|
+
|
238
296
|
}
|
239
297
|
.icon-horn:before {
|
240
298
|
content: "\e942";
|
299
|
+
|
241
300
|
}
|
242
301
|
.icon-ig:before {
|
243
302
|
content: "\e943";
|
303
|
+
|
244
304
|
}
|
245
305
|
.icon-image:before {
|
246
306
|
content: "\e945";
|
307
|
+
|
247
308
|
}
|
248
309
|
.icon-image-alt:before {
|
249
310
|
content: "\e944";
|
311
|
+
|
250
312
|
}
|
251
313
|
.icon-images:before {
|
252
314
|
content: "\e947";
|
315
|
+
|
253
316
|
}
|
254
317
|
.icon-images-alt:before {
|
255
318
|
content: "\e946";
|
319
|
+
|
256
320
|
}
|
257
321
|
.icon-info:before {
|
258
322
|
content: "\e948";
|
323
|
+
|
259
324
|
}
|
260
325
|
.icon-invoice:before {
|
261
326
|
content: "\e949";
|
327
|
+
|
262
328
|
}
|
263
329
|
.icon-kafen:before {
|
264
330
|
content: "\e94a";
|
331
|
+
|
265
332
|
}
|
266
333
|
.icon-language:before {
|
267
334
|
content: "\e94b";
|
335
|
+
|
268
336
|
}
|
269
337
|
.icon-line:before {
|
270
338
|
content: "\e94c";
|
339
|
+
|
271
340
|
}
|
272
341
|
.icon-link:before {
|
273
342
|
content: "\e94d";
|
343
|
+
|
274
344
|
}
|
275
345
|
.icon-list:before {
|
276
346
|
content: "\e94e";
|
347
|
+
|
277
348
|
}
|
278
349
|
.icon-lock:before {
|
279
350
|
content: "\e94f";
|
351
|
+
|
280
352
|
}
|
281
353
|
.icon-male:before {
|
282
354
|
content: "\e950";
|
355
|
+
|
283
356
|
}
|
284
357
|
.icon-medium:before {
|
285
358
|
content: "\e952";
|
359
|
+
|
286
360
|
}
|
287
361
|
.icon-medium-alt:before {
|
288
362
|
content: "\e951";
|
363
|
+
|
289
364
|
}
|
290
365
|
.icon-minus:before {
|
291
366
|
content: "\e953";
|
367
|
+
|
292
368
|
}
|
293
369
|
.icon-move:before {
|
294
370
|
content: "\e954";
|
371
|
+
|
295
372
|
}
|
296
373
|
.icon-ok-mart:before {
|
297
374
|
content: "\e955";
|
375
|
+
|
298
376
|
}
|
299
377
|
.icon-paint-brush:before {
|
300
378
|
content: "\e956";
|
379
|
+
|
301
380
|
}
|
302
381
|
.icon-paper-plane:before {
|
303
382
|
content: "\e957";
|
383
|
+
|
304
384
|
}
|
305
385
|
.icon-pause:before {
|
306
386
|
content: "\e958";
|
387
|
+
|
307
388
|
}
|
308
389
|
.icon-pelican:before {
|
309
390
|
content: "\e959";
|
391
|
+
|
310
392
|
}
|
311
393
|
.icon-pencil:before {
|
312
394
|
content: "\e95a";
|
395
|
+
|
313
396
|
}
|
314
397
|
.icon-phone:before {
|
315
398
|
content: "\e95b";
|
399
|
+
|
316
400
|
}
|
317
401
|
.icon-pie:before {
|
318
402
|
content: "\e95c";
|
403
|
+
|
319
404
|
}
|
320
405
|
.icon-pin:before {
|
321
406
|
content: "\e95d";
|
407
|
+
|
322
408
|
}
|
323
409
|
.icon-play:before {
|
324
410
|
content: "\e95e";
|
411
|
+
|
325
412
|
}
|
326
413
|
.icon-plus:before {
|
327
414
|
content: "\e95f";
|
415
|
+
|
328
416
|
}
|
329
417
|
.icon-question-mark:before {
|
330
418
|
content: "\e960";
|
419
|
+
|
331
420
|
}
|
332
421
|
.icon-quote:before {
|
333
422
|
content: "\e961";
|
423
|
+
|
334
424
|
}
|
335
425
|
.icon-random:before {
|
336
426
|
content: "\e962";
|
427
|
+
|
337
428
|
}
|
338
429
|
.icon-refresh:before {
|
339
430
|
content: "\e963";
|
431
|
+
|
340
432
|
}
|
341
433
|
.icon-refund:before {
|
342
434
|
content: "\e965";
|
@@ -344,87 +436,115 @@
|
|
344
436
|
}
|
345
437
|
.icon-refund-alt:before {
|
346
438
|
content: "\e964";
|
439
|
+
|
347
440
|
}
|
348
441
|
.icon-rocket:before {
|
349
442
|
content: "\e966";
|
443
|
+
|
350
444
|
}
|
351
445
|
.icon-search:before {
|
352
446
|
content: "\e967";
|
447
|
+
|
353
448
|
}
|
354
449
|
.icon-seven-eleven:before {
|
355
450
|
content: "\e968";
|
451
|
+
|
356
452
|
}
|
357
453
|
.icon-shipping:before {
|
358
454
|
content: "\e969";
|
455
|
+
|
359
456
|
}
|
360
457
|
.icon-shrink:before {
|
361
458
|
content: "\e985";
|
459
|
+
|
362
460
|
}
|
363
461
|
.icon-sign-out:before {
|
364
462
|
content: "\e96a";
|
463
|
+
|
365
464
|
}
|
366
465
|
.icon-site-map:before {
|
367
466
|
content: "\e96b";
|
467
|
+
|
368
468
|
}
|
369
469
|
.icon-smilepay:before {
|
370
470
|
content: "\e96c";
|
471
|
+
|
371
472
|
}
|
372
473
|
.icon-sms:before {
|
373
474
|
content: "\e96d";
|
475
|
+
|
374
476
|
}
|
375
477
|
.icon-star:before {
|
376
478
|
content: "\e96f";
|
479
|
+
|
377
480
|
}
|
378
481
|
.icon-star-alt:before {
|
379
482
|
content: "\e96e";
|
483
|
+
|
380
484
|
}
|
381
485
|
.icon-sticky:before {
|
382
486
|
content: "\e971";
|
487
|
+
|
383
488
|
}
|
384
489
|
.icon-sticky-alt:before {
|
385
490
|
content: "\e970";
|
491
|
+
|
386
492
|
}
|
387
493
|
.icon-store:before {
|
388
494
|
content: "\e972";
|
495
|
+
|
389
496
|
}
|
390
497
|
.icon-super-landing:before {
|
391
498
|
content: "\e974";
|
499
|
+
|
392
500
|
}
|
393
501
|
.icon-super-landing-alt:before {
|
394
502
|
content: "\e973";
|
503
|
+
|
395
504
|
}
|
396
505
|
.icon-tachometer:before {
|
397
506
|
content: "\e975";
|
507
|
+
|
398
508
|
}
|
399
509
|
.icon-tag:before {
|
400
510
|
content: "\e976";
|
511
|
+
|
401
512
|
}
|
402
513
|
.icon-target:before {
|
403
514
|
content: "\e977";
|
515
|
+
|
404
516
|
}
|
405
517
|
.icon-tasks:before {
|
406
518
|
content: "\e978";
|
519
|
+
|
407
520
|
}
|
408
521
|
.icon-text-cog:before {
|
409
522
|
content: "\e979";
|
523
|
+
|
410
524
|
}
|
411
525
|
.icon-trash:before {
|
412
526
|
content: "\e97a";
|
527
|
+
|
413
528
|
}
|
414
529
|
.icon-upload:before {
|
415
530
|
content: "\e97b";
|
531
|
+
|
416
532
|
}
|
417
533
|
.icon-user:before {
|
418
534
|
content: "\e97d";
|
535
|
+
|
419
536
|
}
|
420
537
|
.icon-user-alt:before {
|
421
538
|
content: "\e97c";
|
539
|
+
|
422
540
|
}
|
423
541
|
.icon-users:before {
|
424
542
|
content: "\e97f";
|
543
|
+
|
425
544
|
}
|
426
545
|
.icon-users-alt:before {
|
427
546
|
content: "\e97e";
|
547
|
+
|
428
548
|
}
|
429
549
|
.icon-window-maximize:before {
|
430
550
|
content: "\e980";
|
@@ -432,11 +552,32 @@
|
|
432
552
|
.icon-youtube:before {
|
433
553
|
content: "\e981";
|
434
554
|
}
|
555
|
+
.icon-pencil7:before {
|
556
|
+
content: "\e987";
|
557
|
+
}
|
558
|
+
.icon-store2:before {
|
559
|
+
content: "\e9fd";
|
560
|
+
}
|
561
|
+
.icon-basket:before {
|
562
|
+
content: "\ea06";
|
563
|
+
}
|
564
|
+
.icon-coin-dollar:before {
|
565
|
+
content: "\ea0b";
|
566
|
+
}
|
567
|
+
.icon-database-refresh:before {
|
568
|
+
content: "\ea9d";
|
569
|
+
}
|
435
570
|
.icon-bug:before {
|
436
|
-
content: "\
|
571
|
+
content: "\eb79";
|
572
|
+
}
|
573
|
+
.icon-meter:before {
|
574
|
+
content: "\ebde";
|
437
575
|
}
|
438
576
|
.icon-target1:before {
|
439
|
-
content: "\
|
577
|
+
content: "\ec2c";
|
578
|
+
}
|
579
|
+
.icon-pencil-ruler:before {
|
580
|
+
content: "\ee83";
|
440
581
|
}
|
441
582
|
|
442
583
|
@if $beyond-icon-font-name == 'beyond-full' {
|
@@ -10,7 +10,7 @@ $mega-menu-text-color-ex: #8A8D90;
|
|
10
10
|
}
|
11
11
|
|
12
12
|
.mega-menu {
|
13
|
-
font-size: .
|
13
|
+
font-size: .875rem;
|
14
14
|
}
|
15
15
|
.mega-menu-divider {
|
16
16
|
border-bottom: 1px solid #ebebeb;
|
@@ -28,20 +28,23 @@ $mega-menu-text-color-ex: #8A8D90;
|
|
28
28
|
display: block;
|
29
29
|
padding: .7rem 1.5rem;
|
30
30
|
@include mega-menu-text;
|
31
|
+
i {
|
32
|
+
color: #40468a;
|
33
|
+
}
|
31
34
|
}
|
32
35
|
.mega-menu-icon-box {
|
33
36
|
display: table;
|
34
37
|
width: 100%;
|
35
|
-
> div {
|
36
|
-
display: table-row;
|
37
|
-
}
|
38
38
|
}
|
39
39
|
.mega-menu-icon-box-item {
|
40
40
|
cursor: pointer;
|
41
41
|
transition: .3s all;
|
42
42
|
display: table-cell;
|
43
|
-
padding:
|
43
|
+
padding: 0.8rem 1.2rem;
|
44
44
|
text-align: center;
|
45
|
+
flex-basis: 33.3%;
|
46
|
+
flex-grow: 0;
|
47
|
+
flex-shrink: 0;
|
45
48
|
@include mega-menu-text;
|
46
49
|
&:hover {
|
47
50
|
i {
|
@@ -50,7 +53,7 @@ $mega-menu-text-color-ex: #8A8D90;
|
|
50
53
|
}
|
51
54
|
i {
|
52
55
|
transition: .3s color;
|
53
|
-
color: #
|
56
|
+
color: #40468a;
|
54
57
|
display: block;
|
55
58
|
margin-bottom: .4rem;
|
56
59
|
}
|
@@ -1,35 +1,30 @@
|
|
1
1
|
.tooltip {
|
2
|
+
$border-color: #e8e8e8;
|
2
3
|
max-width: 400px;
|
3
4
|
border-radius: 4px;
|
4
5
|
display: none;
|
5
6
|
z-index: 1;
|
6
7
|
position: absolute;
|
7
|
-
padding:
|
8
|
+
padding: 10px 13px;
|
8
9
|
line-height: 1.9;
|
9
|
-
color: #fff;
|
10
|
-
background-color: #555;
|
11
|
-
}
|
12
|
-
|
13
|
-
.tooltip.tooltip-popover {
|
14
|
-
$border-color: #e8e8e8;
|
15
|
-
background-color: #fff;
|
16
10
|
color: #3c4257;
|
17
|
-
|
11
|
+
background-color: #fff;
|
18
12
|
box-shadow: 4px 4px 15px 1px rgba(68, 68, 72, .12);
|
19
|
-
border:
|
13
|
+
border: 0;
|
14
|
+
box-shadow: 0 1px 2px 0 #ccc;
|
20
15
|
|
21
16
|
&:after {
|
22
17
|
content: ' ';
|
23
18
|
display: block;
|
24
19
|
border: 0;
|
25
|
-
border-top-left-radius:
|
26
|
-
@include size(
|
20
|
+
border-top-left-radius: 1px;
|
21
|
+
@include size(8px);
|
27
22
|
background-color: #fff;
|
28
23
|
position: absolute;
|
29
24
|
transform: rotate(45deg);
|
30
25
|
}
|
31
26
|
&.top:after {
|
32
|
-
bottom: -
|
27
|
+
bottom: -4px;
|
33
28
|
left: 0;
|
34
29
|
right: 0;
|
35
30
|
margin-left: auto;
|
@@ -38,7 +33,7 @@
|
|
38
33
|
border-bottom: 1px solid $border-color;
|
39
34
|
}
|
40
35
|
&.bottom:after {
|
41
|
-
top: -
|
36
|
+
top: -4px;
|
42
37
|
left: 0;
|
43
38
|
right: 0;
|
44
39
|
margin-left: auto;
|
@@ -47,7 +42,7 @@
|
|
47
42
|
border-top: 1px solid $border-color;
|
48
43
|
}
|
49
44
|
&.left:after {
|
50
|
-
right: -
|
45
|
+
right: -4px;
|
51
46
|
top: 0;
|
52
47
|
bottom: 0;
|
53
48
|
margin-top: auto;
|
@@ -56,7 +51,7 @@
|
|
56
51
|
border-top: 1px solid $border-color;
|
57
52
|
}
|
58
53
|
&.right:after {
|
59
|
-
left: -
|
54
|
+
left: -4px;
|
60
55
|
top: 0;
|
61
56
|
bottom: 0;
|
62
57
|
margin-top: auto;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kmsheng
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-08-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sassc
|