hw4 new design fixes

This commit is contained in:
2022-07-10 21:12:18 +02:00
parent 24f7691b71
commit 35e4d96726
2 changed files with 4 additions and 34 deletions

View File

@@ -1,4 +1,3 @@
.input:focus { .input:focus {
border: 1px solid #06c; border: 1px solid #06c;
} }
@@ -39,4 +38,4 @@
position: absolute; position: absolute;
top: -17px; top: -17px;
left: 0; left: 0;
} }

View File

@@ -18,13 +18,13 @@
.disabled { .disabled {
background: #004d99; background: #004d99;
opacity: 0.5; opacity: 0.5;
color: #002e5c;
} }
.button { .button {
position: relative;
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
border-radius: 15px; border-radius: 3px;
border: none; border: none;
color: white; color: white;
padding: 5px 24px; padding: 5px 24px;
@@ -52,26 +52,6 @@
z-index: 14; z-index: 14;
} }
.button:hover::after {
animation: blink 0.35s ease; /*https://html5book.ru/css3-animation/*/
}
.button:hover::before {
display: block;
content: '';
position: absolute;
left: -100vw;
top: 0;
height: 100vh;
width: 300vw;
background-color: #fff;
opacity: 0.2;
z-index: 7;
}
.default:hover { .default:hover {
background: #0080ff; background: #0080ff;
} }
@@ -81,7 +61,6 @@
} }
.button:focus { .button:focus {
} }
.default:active { .default:active {
@@ -93,13 +72,5 @@
} }
.button:disabled { .button:disabled {
cursor: no-drop; cursor: default;
} }
.button:disabled::after {
z-index: -1;
}
.button:disabled::before {
z-index: -1;
}