develop
Last change
on this file since 582789f was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added user authentication, create & forgot password methods and blades
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | .demo-icon-list {
|
---|
2 | height: 100px;
|
---|
3 | display: flex;
|
---|
4 | align-items: center;
|
---|
5 | justify-content: center;
|
---|
6 | font-size: 25px
|
---|
7 | }
|
---|
8 |
|
---|
9 | @media (max-width: 768px) {
|
---|
10 | .theme-switcher {
|
---|
11 | display: none;
|
---|
12 | }
|
---|
13 | }
|
---|
14 |
|
---|
15 | @media (min-width: 768px) {
|
---|
16 | .theme-switcher {
|
---|
17 | opacity: 0;
|
---|
18 | display: flex;
|
---|
19 | align-items: center;
|
---|
20 | position: fixed;
|
---|
21 | right: -250px;
|
---|
22 | top: 50%;
|
---|
23 | transform: translate(0, -50%);
|
---|
24 | user-select: none;
|
---|
25 | z-index: 9999;
|
---|
26 | transition: right .3s;
|
---|
27 |
|
---|
28 | &.open {
|
---|
29 | right: 0;
|
---|
30 | }
|
---|
31 |
|
---|
32 | .theme-switcher-button {
|
---|
33 | background-color: $color-primary;
|
---|
34 | color: white;
|
---|
35 | padding: 12px 15px;
|
---|
36 | border-top-left-radius: 5px;
|
---|
37 | border-bottom-left-radius: 5px;
|
---|
38 | cursor: pointer;
|
---|
39 |
|
---|
40 | i {
|
---|
41 | font-size: 22px;
|
---|
42 | animation-name: spin;
|
---|
43 | animation-duration: 3000ms;
|
---|
44 | animation-iteration-count: infinite;
|
---|
45 | animation-timing-function: linear;
|
---|
46 | }
|
---|
47 | }
|
---|
48 |
|
---|
49 | .theme-switcher-panel {
|
---|
50 | width: 250px;
|
---|
51 |
|
---|
52 | .card {
|
---|
53 | margin-bottom: 0;
|
---|
54 | border: 1px solid $color-primary;
|
---|
55 | border-right: none;
|
---|
56 | border-top-right-radius: 0;
|
---|
57 | border-bottom-right-radius: 0;
|
---|
58 | }
|
---|
59 | }
|
---|
60 | }
|
---|
61 |
|
---|
62 | @keyframes spin {
|
---|
63 | from {
|
---|
64 | transform: rotate(0deg);
|
---|
65 | }
|
---|
66 | to {
|
---|
67 | transform: rotate(360deg);
|
---|
68 | }
|
---|
69 | }
|
---|
70 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.