Skip to content

Commit aaf5e2a

Browse files
committed
Added custom cubic bezier transition function. Tweaked opacity.
1 parent 32aa326 commit aaf5e2a

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

Diff for: css/style.css

+21-13
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ body {
6666

6767
#authentication-message {
6868
opacity: 0;
69-
-webkit-transition: all 0.3s;
70-
-moz-transition: all 0.3s;
69+
-webkit-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
70+
-moz-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
7171
}
7272

7373
#authentication-message.error {
@@ -109,8 +109,8 @@ input {
109109
padding-left: 6px;
110110
padding-right: 6px;
111111

112-
-webkit-transition: all 0.3s;
113-
-moz-transition: all 0.3s;
112+
-webkit-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
113+
-moz-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
114114

115115
border-radius: 7px;
116116
}
@@ -140,8 +140,8 @@ input::-webkit-input-placeholder {
140140
margin-top: -75px;
141141
text-align: center;
142142

143-
-webkit-transition: all 0.3s;
144-
-moz-transition: all 0.3s;
143+
-webkit-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
144+
-moz-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
145145
}
146146

147147
#password-container {
@@ -165,14 +165,15 @@ input::-webkit-input-placeholder {
165165
width: 130px;
166166
padding: 10px;
167167

168-
-webkit-transition: all 0.3s;
169-
-moz-transition: all 0.3s;
168+
-webkit-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
169+
-moz-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
170170

171171
opacity: 0.7;
172+
cursor: pointer;
172173
}
173174

174175
.hidden {
175-
opacity: 0.03;
176+
opacity: 0.25;
176177
}
177178

178179
#password-container.hidden {
@@ -181,7 +182,14 @@ input::-webkit-input-placeholder {
181182

182183
.user:not(.hidden):hover {
183184
opacity: 0.85;
184-
cursor: pointer;
185+
}
186+
187+
.user.hidden:hover {
188+
opacity: 0.35;
189+
}
190+
191+
.user.active:hover {
192+
opacity: 1.0;
185193
}
186194

187195
.user.active {
@@ -216,7 +224,7 @@ input::-webkit-input-placeholder {
216224
border-radius: 100%;
217225

218226
-webkit-transition: all 0.5s;
219-
-moz-transition: all 0.3s;
227+
-moz-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
220228
}
221229

222230
#controls {
@@ -249,8 +257,8 @@ input::-webkit-input-placeholder {
249257
border-top-right-radius: 20px;
250258

251259
margin-right: 10px;
252-
-webkit-transition: all 0.3s;
253-
-moz-transition: all 0.3s;
260+
-webkit-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
261+
-moz-transition: all 0.3s cubic-bezier(.24,.59,.46,.93);
254262
}
255263

256264
.system-button:hover {

0 commit comments

Comments
 (0)