|
2 | 2 | Feel free to use it, modify it, and redistribute it as you wish. |
3 | 3 | */ |
4 | 4 | .demo-carousel1 { |
5 | | - display: flex; |
6 | | - justify-content: center; |
7 | | - .demo-carousel1-box { |
8 | | - position: relative; |
9 | | - margin: auto; |
10 | | - } |
11 | | - .ot-carousel { |
12 | | - width: 300px; |
13 | | - height: 200px; |
14 | | - } |
15 | | - .demo-carousel1-page { |
16 | | - width: 100%; |
17 | | - height: 100%; |
18 | | - padding: 16px; |
19 | | - color: white; |
20 | | - } |
21 | | - .demo-carousel1-page-1 { |
22 | | - background-color: #49b2cc; |
23 | | - } |
24 | | - .demo-carousel1-page-2 { |
25 | | - background-color: #dddd55; |
26 | | - } |
27 | | - .demo-carousel1-page-3 { |
28 | | - background-color: #c14768; |
29 | | - } |
30 | | - .demo-carousel1-page-4 { |
31 | | - background-color: #45bf7d; |
32 | | - } |
33 | | - .ot-bullet-nav { |
34 | | - position: absolute; |
35 | | - bottom: 16px; |
36 | | - right: 16px; |
37 | | - margin: 0; |
38 | | - } |
39 | | - .ot-car-prev, .ot-car-next { |
40 | | - position: absolute; |
41 | | - top: 75px; |
42 | | - width: 50px; |
43 | | - height: 50px; |
44 | | - color: white; |
45 | | - outline: none; |
46 | | - } |
47 | | - .ot-car-prev { |
48 | | - left: 0; |
49 | | - } |
50 | | - .ot-car-next { |
51 | | - right: 0; |
52 | | - } |
| 5 | + display: flex; |
| 6 | + justify-content: center; |
| 7 | + .demo-carousel1-box { |
| 8 | + position: relative; |
| 9 | + margin: auto; |
| 10 | + } |
| 11 | + .ot-carousel { |
| 12 | + width: 300px; |
| 13 | + height: 200px; |
| 14 | + } |
| 15 | + .demo-carousel1-page { |
| 16 | + width: 100%; |
| 17 | + height: 100%; |
| 18 | + padding: 16px; |
| 19 | + color: white; |
| 20 | + } |
| 21 | + .demo-carousel1-page-1 { |
| 22 | + background-color: #49b2cc; |
| 23 | + } |
| 24 | + .demo-carousel1-page-2 { |
| 25 | + background-color: #dddd55; |
| 26 | + } |
| 27 | + .demo-carousel1-page-3 { |
| 28 | + background-color: #c14768; |
| 29 | + } |
| 30 | + .demo-carousel1-page-4 { |
| 31 | + background-color: #45bf7d; |
| 32 | + } |
| 33 | + .ot-bullet-nav { |
| 34 | + position: absolute; |
| 35 | + bottom: 16px; |
| 36 | + right: 16px; |
| 37 | + margin: 0; |
| 38 | + } |
| 39 | + .ot-car-prev, |
| 40 | + .ot-car-next { |
| 41 | + position: absolute; |
| 42 | + top: 75px; |
| 43 | + width: 50px; |
| 44 | + height: 50px; |
| 45 | + color: white; |
| 46 | + outline: none; |
| 47 | + } |
| 48 | + .ot-car-prev { |
| 49 | + left: 0; |
| 50 | + } |
| 51 | + .ot-car-next { |
| 52 | + right: 0; |
| 53 | + } |
53 | 54 | } |
54 | 55 | .os-page-demo-carousel2 { |
55 | | - .demo-carousel2 { |
56 | | - margin: 0 -16px; |
57 | | - } |
58 | | - .ot-carousel { |
59 | | - width: 100%; |
60 | | - height: auto; |
61 | | - } |
62 | | - .demo-carousel2-page { |
63 | | - padding: 16px; |
64 | | - p { text-align: justify; } |
65 | | - } |
66 | | - .demo-carousel2-page-1 { |
67 | | - background-color: white; |
68 | | - } |
69 | | - .demo-carousel2-page-2 { |
70 | | - background-color: #ffffee; |
71 | | - } |
72 | | - .demo-carousel2-page-3 { |
73 | | - background-color: #ffddee; |
74 | | - } |
75 | | - .demo-carousel2-page-4 { |
76 | | - background-color: #ddffee; |
77 | | - } |
78 | | - .demo-carousel2-tabs { |
79 | | - position: sticky; |
80 | | - background-color: white; |
81 | | - z-index: 1; |
82 | | - top: 50px; |
83 | | - } |
| 56 | + .demo-carousel2 { |
| 57 | + margin: 0 -16px; |
| 58 | + } |
| 59 | + .ot-carousel { |
| 60 | + width: 100%; |
| 61 | + height: auto; |
| 62 | + } |
| 63 | + .demo-carousel2-page { |
| 64 | + padding: 16px; |
| 65 | + p { |
| 66 | + text-align: justify; |
| 67 | + } |
| 68 | + } |
| 69 | + .demo-carousel2-page-1 { |
| 70 | + background-color: white; |
| 71 | + } |
| 72 | + .demo-carousel2-page-2 { |
| 73 | + background-color: #ffffee; |
| 74 | + } |
| 75 | + .demo-carousel2-page-3 { |
| 76 | + background-color: #ffddee; |
| 77 | + } |
| 78 | + .demo-carousel2-page-4 { |
| 79 | + background-color: #ddffee; |
| 80 | + } |
| 81 | + .demo-carousel2-tabs { |
| 82 | + position: sticky; |
| 83 | + background-color: white; |
| 84 | + z-index: 1; |
| 85 | + top: 50px; |
| 86 | + } |
84 | 87 | } |
85 | 88 | .os-page-demo-carousel3 { |
86 | | - .demo-prev, .demo-next { |
87 | | - width: 20px; |
88 | | - height: 20px; |
89 | | - background-color: #6ae; |
90 | | - color: white; |
91 | | - } |
| 89 | + .demo-prev, |
| 90 | + .demo-next { |
| 91 | + width: 20px; |
| 92 | + height: 20px; |
| 93 | + background-color: #6ae; |
| 94 | + color: white; |
| 95 | + } |
92 | 96 | } |
93 | 97 | .os-page-demo-notif, |
94 | 98 | .os-page-demo-react { |
95 | | - input:not([type]) { |
96 | | - background-color: #eee; |
97 | | - } |
| 99 | + input:not([type]) { |
| 100 | + background-color: #eee; |
| 101 | + } |
98 | 102 | } |
99 | 103 | .os-page-demo-links .demo-static-img { |
100 | | - width: 300px; |
| 104 | + width: 300px; |
101 | 105 | } |
102 | 106 |
|
103 | 107 | .os-page-demo-transition { |
104 | | - .demo-list{ |
105 | | - padding-left: 0; |
106 | | - list-style-type: none; |
107 | | - } |
| 108 | + .demo-list { |
| 109 | + padding-left: 0; |
| 110 | + list-style-type: none; |
| 111 | + } |
108 | 112 |
|
109 | | - .demo-list-item { |
110 | | - width: 100%; |
111 | | - height: 150px; |
112 | | - font-size: 20px; |
113 | | - padding-top: 65px; |
114 | | - text-align: center; |
115 | | - } |
| 113 | + .demo-list-item { |
| 114 | + width: 100%; |
| 115 | + height: 150px; |
| 116 | + font-size: 20px; |
| 117 | + padding-top: 65px; |
| 118 | + text-align: center; |
| 119 | + } |
116 | 120 |
|
117 | | - .demo-list-item>a:visited, |
118 | | - .demo-list-item>a { |
119 | | - color: white; |
120 | | - } |
| 121 | + .demo-list-item > a:visited, |
| 122 | + .demo-list-item > a { |
| 123 | + color: white; |
| 124 | + } |
121 | 125 |
|
122 | | - .demo-list-item.demo-list-item-0 { |
123 | | - background-color: #B1EB00 |
124 | | - } |
125 | | - .demo-list-item.demo-list-item-1 { |
126 | | - background-color: #53BAF3 |
127 | | - } |
128 | | - .demo-list-item.demo-list-item-2 { |
129 | | - background-color: #FF85CB |
130 | | - } |
131 | | - .demo-list-item.demo-list-item-3 { |
132 | | - background-color: #F4402C |
133 | | - } |
134 | | - .demo-list-item.demo-list-item-4 { |
135 | | - background-color: #FFAC00 |
136 | | - } |
| 126 | + .demo-list-item.demo-list-item-0 { |
| 127 | + background-color: #b1eb00; |
| 128 | + } |
| 129 | + .demo-list-item.demo-list-item-1 { |
| 130 | + background-color: #53baf3; |
| 131 | + } |
| 132 | + .demo-list-item.demo-list-item-2 { |
| 133 | + background-color: #ff85cb; |
| 134 | + } |
| 135 | + .demo-list-item.demo-list-item-3 { |
| 136 | + background-color: #f4402c; |
| 137 | + } |
| 138 | + .demo-list-item.demo-list-item-4 { |
| 139 | + background-color: #ffac00; |
| 140 | + } |
137 | 141 |
|
138 | | - .demo-button { |
139 | | - margin: 0 auto; |
140 | | - padding: 20px; |
141 | | - width: 200px; |
142 | | - font-size: 20px; |
143 | | - text-align: center; |
144 | | - background-color: #ffffee; |
145 | | - } |
| 142 | + .demo-button { |
| 143 | + margin: 0 auto; |
| 144 | + padding: 20px; |
| 145 | + width: 200px; |
| 146 | + font-size: 20px; |
| 147 | + text-align: center; |
| 148 | + background-color: #ffffee; |
| 149 | + } |
| 150 | +} |
| 151 | +.demo-tongue { |
| 152 | + display: flex; |
| 153 | + flex-direction: column; |
| 154 | + .demo-tongue-1 { |
| 155 | + background-color: #ffffee; |
| 156 | + height: 100px; |
| 157 | + } |
| 158 | + .demo-tongue-2 { |
| 159 | + background-color: #ffddee; |
| 160 | + height: 150px; |
| 161 | + } |
| 162 | + .demo-tongue-3 { |
| 163 | + background-color: #ddffee; |
| 164 | + height: 80px; |
| 165 | + } |
| 166 | + .demo-tongue-4 { |
| 167 | + background-color: #ddeeff; |
| 168 | + height: 200px; |
| 169 | + } |
| 170 | + .demo-tongue-5 { |
| 171 | + background-color: #eeccff; |
| 172 | + height: 130px; |
| 173 | + } |
| 174 | + .demo-tongue-6 { |
| 175 | + background-color: #ffeeaa; |
| 176 | + height: 300px; |
| 177 | + } |
146 | 178 | } |
0 commit comments