|
1 | 1 |
|
2 | | -.overlay { |
3 | | - position: fixed; |
4 | | - inset: 0; |
5 | | - background: rgba(0,0,0,.45); |
6 | | - backdrop-filter: blur(1px); |
7 | | - display: none; |
8 | | - z-index: 1030; |
| 2 | + |
| 3 | +.text-xs{ |
| 4 | + font-size: $font-xs !important; |
9 | 5 | } |
10 | | -.overlay.show { |
11 | | - display: block; |
| 6 | + |
| 7 | +.circle-bg { |
| 8 | + position: absolute; |
| 9 | + top: 50%; |
| 10 | + left: 50%; |
| 11 | + transform: translate(-50%, -50%); |
| 12 | + width: 800px; |
| 13 | + height: 800px; |
| 14 | + background-color: rgba($primary, 0.05); |
| 15 | + border-radius: 9999px; |
| 16 | + filter: blur(48px); |
12 | 17 | } |
13 | | -.sidebar { |
14 | | - width: 240px; |
15 | | - background: $white; |
16 | | - transition: width .3s, left .3s; |
17 | | - border-right: 1px solid $gray-200; |
18 | | - height: 100vh; |
19 | | - position: fixed; |
20 | | - top: 0; |
21 | | - left: 0; |
22 | | - padding-top: 60px; |
23 | | - z-index: 1030; |
24 | | - .nav-link { |
25 | | - color: $gray-800; |
26 | | - padding: 8px 10px; |
27 | | - display: flex; |
28 | | - align-items: center; |
29 | | - font-size: 14px; |
30 | | - font-weight: 400; |
31 | | - gap: 12px; |
32 | | - white-space: nowrap; |
33 | | - margin: 1px 12px; |
34 | | - border-radius: 8px; |
35 | 18 |
|
36 | | - &:hover { |
37 | | - color: $primary; |
38 | | - background-color: rgba($primary, 0.095); |
39 | | - } |
40 | | - &.active { |
41 | | - color: $primary; |
42 | | - background-color: rgba($primary, 0.095); |
43 | | - } |
44 | | - .ti { |
45 | | - font-size: 18px; |
| 19 | +// pulse wave |
| 20 | + |
| 21 | +.play-btn { |
| 22 | + font-size: 24px; |
| 23 | + line-height: 32px; |
| 24 | + position: relative; |
| 25 | + background-color: rgba($primary, 0.85); |
| 26 | + &:before { |
| 27 | + content: ""; |
| 28 | + position: absolute; |
| 29 | + width: 150%; |
| 30 | + height: 150%; |
| 31 | + -webkit-animation-delay: 0s; |
| 32 | + animation-delay: 0s; |
| 33 | + -webkit-animation: pulsate1 2s; |
| 34 | + animation: pulsate1 2s; |
| 35 | + -webkit-animation-direction: forwards; |
| 36 | + animation-direction: forwards; |
| 37 | + -webkit-animation-iteration-count: infinite; |
| 38 | + animation-iteration-count: infinite; |
| 39 | + -webkit-animation-timing-function: steps; |
| 40 | + animation-timing-function: steps; |
| 41 | + opacity: 1; |
| 42 | + border-radius: 50%; |
| 43 | + border: 5px solid var(--#{$prefix}border-color); |
| 44 | + box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 4px 0px; |
46 | 45 | } |
47 | | - } |
48 | | - .nav-text { |
49 | | - transition: opacity .2s; |
50 | | - } |
51 | | - .logo-area { |
52 | | - position: absolute; |
53 | | - top: 0; |
54 | | - left: 0; |
55 | | - height: 60px; |
56 | | - width: 100%; |
57 | | - background: $white; |
58 | | - display: flex; |
59 | | - align-items: center; |
60 | | - gap: 10px; |
61 | | - padding-left: 17px; |
62 | | - color: $gray-800; |
63 | | - border-bottom: 1px solid $gray-200; |
64 | | - } |
65 | | -} |
66 | | -.sidebar.collapsed { |
67 | | - width: 60px; |
68 | | - .nav-link{ |
69 | | - margin: 0 0px; |
70 | | - background-color: transparent; |
71 | | - padding: 8px 18px; |
72 | | - } |
73 | | - .nav-text { |
74 | | - display: none; |
75 | | - } |
76 | | - .logo-text { |
77 | | - display: none; |
78 | | - } |
79 | | -} |
80 | | -.topbar { |
81 | | - height: 60px; |
82 | | - margin-left: 240px; |
83 | | - // transition: margin-left .3s; |
84 | | -} |
85 | | -.topbar.full { |
86 | | - margin-left: 60px; |
87 | | -} |
88 | | -.content { |
89 | | - margin-left: 240px; |
90 | | - // transition: margin-left .3s; |
91 | | - // padding: 20px; |
92 | | -} |
93 | | -.content.full { |
94 | | - margin-left: 60px; |
95 | | -} |
96 | | -@media (max-width: 992px) { |
97 | | - .sidebar { |
98 | | - left: -240px; |
99 | | - } |
100 | | - .sidebar.mobile-show { |
101 | | - left: 0; |
102 | | - } |
103 | | - .topbar { |
104 | | - margin-left: 0 !important; |
105 | | - width: 100% !important; |
106 | | - } |
107 | | - .content { |
108 | | - margin-left: 0 !important; |
109 | | - } |
110 | 46 | } |
111 | 47 |
|
| 48 | +@-webkit-keyframes pulsate1 { |
| 49 | + 0% { |
| 50 | + -webkit-transform: scale(0.8); |
| 51 | + transform: scale(0.8); |
| 52 | + opacity: 1; |
| 53 | + } |
| 54 | + 100% { |
| 55 | + -webkit-transform: scale(1); |
| 56 | + transform: scale(1); |
| 57 | + opacity: 0; |
| 58 | + box-shadow: none; |
| 59 | + } |
| 60 | +} |
112 | 61 |
|
113 | | -.text-xs{ |
114 | | - font-size: $font-xs !important; |
| 62 | +@keyframes pulsate1 { |
| 63 | + 0% { |
| 64 | + -webkit-transform: scale(0.8); |
| 65 | + transform: scale(0.8); |
| 66 | + opacity: 1; |
| 67 | + } |
| 68 | + 100% { |
| 69 | + -webkit-transform: scale(1, 1); |
| 70 | + transform: scale(1); |
| 71 | + opacity: 0; |
| 72 | + box-shadow: none; |
| 73 | + } |
115 | 74 | } |
116 | 75 |
|
| 76 | + |
117 | 77 | @import "./avatar"; |
118 | 78 | @import "./button"; |
119 | 79 | @import "./icon-shape"; |
|
0 commit comments