mirror of
https://github.com/IgnatZakalinsky/home-works.git
synced 2025-12-18 20:39:24 +00:00
hw4 new design fixes
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
.input:focus {
|
.input:focus {
|
||||||
border: 1px solid #06c;
|
border: 1px solid #06c;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user