Преглед на файлове

adjusted css in Profile.vue

tags/0.0.1
diaseu преди 4 години
родител
ревизия
0dc6e55aa3
променени са 1 файла, в които са добавени 137 реда и са изтрити 136 реда
  1. 137
    136
      frontend/src/views/Profile.vue

+ 137
- 136
frontend/src/views/Profile.vue Целия файл

@@ -85,119 +85,120 @@ export default {
85 85
   },
86 86
 };
87 87
 </script>
88
+
88 89
 <style>
89
-html {
90
-  background-color: #e90d77;
91
-}
92
-.content {
93
-  background: none;
94
-}
95
-.wrapper {
96
-  position: unset;
97
-}
98
-.login__box {
99
-  position: absolute;
100
-  top: 50%;
101
-  left: 50%;
102
-  width: 300px;
103
-  padding: 40px;
104
-  transform: translate(-50%, -50%);
105
-  background: rgba(0, 0, 0, 0.5);
106
-  box-sizing: border-box;
107
-  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
108
-  border-radius: 10px;
109
-}
110
-.login__box h2 {
111
-  margin: 0 0 30px;
112
-  padding: 0;
113
-  color: #fff;
114
-  text-align: center;
115
-}
116
-.login__box .user__box {
117
-  position: relative;
118
-}
119
-.login__box .user__box input {
120
-  width: 100%;
121
-  padding: 10px 0;
122
-  font-size: 16px;
123
-  color: #fff;
124
-  margin-bottom: 30px;
125
-  border: none;
126
-  border-bottom: 1px solid #fff;
127
-  outline: none;
128
-  background: transparent;
129
-}
130
-.login__box .user__box label {
131
-  position: absolute;
132
-  top: 0;
133
-  left: 0;
134
-  padding: 10px 0;
135
-  font-size: 16px;
136
-  color: #fff;
137
-  pointer-events: none;
138
-  transition: 0.5s;
139
-}
90
+html
91
+  background-color: #e90d77
92
+
93
+.content
94
+  background: none
95
+
96
+.wrapper
97
+  position: unset
98
+
99
+.login__box
100
+  position: absolute
101
+  top: 50%
102
+  left: 50%
103
+  width: 300px
104
+  padding: 40px
105
+  transform: translate(-50%, -50%)
106
+  background: rgba(0, 0, 0, 0.5)
107
+  box-sizing: border-box
108
+  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6)
109
+  border-radius: 10px
110
+
111
+.login__box h2
112
+  margin: 0 0 30px
113
+  padding: 0
114
+  color: #fff
115
+  text-align: center
116
+
117
+.login__box .user__box 
118
+  position: relative
119
+
120
+.login__box .user__box input 
121
+  width: 100%
122
+  padding: 10px 0
123
+  font-size: 16px
124
+  color: #fff
125
+  margin-bottom: 30px
126
+  border: none
127
+  border-bottom: 1px solid #fff
128
+  outline: none
129
+  background: transparent
130
+
131
+.login__box .user__box label 
132
+  position: absolute
133
+  top: 0
134
+  left: 0
135
+  padding: 10px 0
136
+  font-size: 16px
137
+  color: #fff
138
+  pointer-events: none
139
+  transition: 0.5s
140
+
140 141
 .login__box .user__box input:focus ~ label,
141
-.login__box .user__box input:valid ~ label {
142
-  top: -20px;
143
-  left: 0;
144
-  color: #e90d77;
145
-  font-size: 12px;
146
-}
147
-.login__box form button {
148
-  position: relative;
149
-  display: inline-block;
150
-  padding: 10px 20px;
151
-  color: #e90d77;
152
-  font-size: 16px;
153
-  text-decoration: none;
154
-  text-transform: uppercase;
155
-  overflow: hidden;
156
-  transition: 0.5s;
157
-  margin-top: 40px;
158
-  letter-spacing: 4px;
159
-  background: none;
160
-  border: none;
161
-}
162
-.login__box button:hover {
163
-  background: #e90d77;
164
-  color: #fff;
165
-  border-radius: 5px;
142
+.login__box .user__box input:valid ~ label 
143
+  top: -20px
144
+  left: 0
145
+  color: #e90d77
146
+  font-size: 12px
147
+
148
+.login__box form button 
149
+  position: relative
150
+  display: inline-block
151
+  padding: 10px 20px
152
+  color: #e90d77
153
+  font-size: 16px
154
+  text-decoration: none
155
+  text-transform: uppercase
156
+  overflow: hidden
157
+  transition: 0.5s
158
+  margin-top: 40px
159
+  letter-spacing: 4px
160
+  background: none
161
+  border: none
162
+
163
+.login__box button:hover
164
+  background: #e90d77
165
+  color: #fff
166
+  border-radius: 5px
166 167
   box-shadow: 0 0 5px #e90d77, 0 0 25px #e90d77, 0 0 50px #e90d77,
167
-    0 0 100px #e90d77;
168
-}
169
-.login__box button span {
170
-  position: absolute;
171
-  display: block;
172
-}
173
-.login__box button span:nth-child(1) {
174
-  top: 0;
175
-  left: -100%;
176
-  width: 100%;
177
-  height: 2px;
178
-  background: linear-gradient(90deg, transparent, #e90d77);
179
-  animation: btn-anim1 1s linear infinite;
180
-}
181
-.login__box form .forget__link {
182
-  color: white;
183
-  text-decoration: none;
184
-}
185
-.login__box form .forget__link:hover {
186
-  color: #e90d77;
187
-}
188
-.login__box form .links {
189
-  color: white;
190
-  text-decoration: none;
191
-  margin-left: 5px;
192
-  padding: 10px;
193
-}
194
-.login__box form .links:hover {
195
-  background: #e90d77;
196
-  color: #fff;
197
-  border-radius: 5px;
168
+    0 0 100px #e90d77
169
+
170
+.login__box button span
171
+  position: absolute
172
+  display: block
173
+
174
+.login__box button span:nth-child(1)
175
+  top: 0
176
+  left: -100%
177
+  width: 100%
178
+  height: 2px
179
+  background: linear-gradient(90deg, transparent, #e90d77)
180
+  animation: btn-anim1 1s linear infinite
181
+
182
+.login__box form .forget__link 
183
+  color: white
184
+  text-decoration: none
185
+
186
+.login__box form .forget__link:hover 
187
+  color: #e90d77
188
+
189
+.login__box form .links
190
+  color: white
191
+  text-decoration: none
192
+  margin-left: 5px
193
+  padding: 10px
194
+
195
+.login__box form .links:hover
196
+  background: #e90d77
197
+  color: #fff
198
+  border-radius: 5px
198 199
   box-shadow: 0 0 5px #e90d77, 0 0 25px #e90d77, 0 0 50px #e90d77,
199
-    0 0 100px #e90d77;
200
-}
200
+    0 0 100px #e90d77
201
+
201 202
 @keyframes btn-anim1 {
202 203
   0% {
203 204
     left: -100%;
@@ -207,15 +208,15 @@ html {
207 208
     left: 100%;
208 209
   }
209 210
 }
210
-.login__box button span:nth-child(2) {
211
-  top: -100%;
212
-  right: 0;
213
-  width: 2px;
214
-  height: 100%;
215
-  background: linear-gradient(180deg, transparent, #e90d77);
216
-  animation: btn-anim2 1s linear infinite;
217
-  animation-delay: 0.25s;
218
-}
211
+.login__box button span:nth-child(2)
212
+  top: -100%
213
+  right: 0
214
+  width: 2px
215
+  height: 100%
216
+  background: linear-gradient(180deg, transparent, #e90d77)
217
+  animation: btn-anim2 1s linear infinite
218
+  animation-delay: 0.25s
219
+
219 220
 @keyframes btn-anim2 {
220 221
   0% {
221 222
     top: -100%;
@@ -225,15 +226,15 @@ html {
225 226
     top: 100%;
226 227
   }
227 228
 }
228
-.login__box button span:nth-child(3) {
229
-  bottom: 0;
230
-  right: -100%;
231
-  width: 100%;
232
-  height: 2px;
233
-  background: linear-gradient(270deg, transparent, #e90d77);
234
-  animation: btn-anim3 1s linear infinite;
235
-  animation-delay: 0.5s;
236
-}
229
+.login__box button span:nth-child(3) 
230
+  bottom: 0
231
+  right: -100%
232
+  width: 100%
233
+  height: 2px
234
+  background: linear-gradient(270deg, transparent, #e90d77)
235
+  animation: btn-anim3 1s linear infinite
236
+  animation-delay: 0.5s
237
+
237 238
 @keyframes btn-anim3 {
238 239
   0% {
239 240
     right: -100%;
@@ -243,15 +244,15 @@ html {
243 244
     right: 100%;
244 245
   }
245 246
 }
246
-.login__box a span:nth-child(4) {
247
-  bottom: -100%;
248
-  left: 0;
249
-  width: 2px;
250
-  height: 100%;
251
-  background: linear-gradient(360deg, transparent, #e90d77);
252
-  animation: btn-anim4 1s linear infinite;
253
-  animation-delay: 0.75s;
254
-}
247
+.login__box a span:nth-child(4)
248
+  bottom: -100%
249
+  left: 0
250
+  width: 2px
251
+  height: 100%
252
+  background: linear-gradient(360deg, transparent, #e90d77)
253
+  animation: btn-anim4 1s linear infinite
254
+  animation-delay: 0.75s
255
+
255 256
 @keyframes btn-anim4 {
256 257
   0% {
257 258
     bottom: -100%;

Loading…
Отказ
Запис