diff --git a/src/s2-homeworks/hw04/common/c1-SuperInputText/SuperInputText.module.css b/src/s2-homeworks/hw04/common/c1-SuperInputText/SuperInputText.module.css index 880605a..a740a48 100644 --- a/src/s2-homeworks/hw04/common/c1-SuperInputText/SuperInputText.module.css +++ b/src/s2-homeworks/hw04/common/c1-SuperInputText/SuperInputText.module.css @@ -1,4 +1,3 @@ - .input:focus { border: 1px solid #06c; } @@ -39,4 +38,4 @@ position: absolute; top: -17px; left: 0; -} \ No newline at end of file +} diff --git a/src/s2-homeworks/hw04/common/c2-SuperButton/SuperButton.module.css b/src/s2-homeworks/hw04/common/c2-SuperButton/SuperButton.module.css index f26a0c3..d3f57a3 100644 --- a/src/s2-homeworks/hw04/common/c2-SuperButton/SuperButton.module.css +++ b/src/s2-homeworks/hw04/common/c2-SuperButton/SuperButton.module.css @@ -18,13 +18,13 @@ .disabled { background: #004d99; opacity: 0.5; + color: #002e5c; } .button { - position: relative; overflow: hidden; cursor: pointer; - border-radius: 15px; + border-radius: 3px; border: none; color: white; padding: 5px 24px; @@ -52,26 +52,6 @@ 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 { background: #0080ff; } @@ -81,7 +61,6 @@ } .button:focus { - } .default:active { @@ -93,13 +72,5 @@ } .button:disabled { - cursor: no-drop; + cursor: default; } - -.button:disabled::after { - z-index: -1; -} - -.button:disabled::before { - z-index: -1; -} \ No newline at end of file