Dani Vilardell | d4f2c90 | 2020-09-23 13:54:19 +0200 | [diff] [blame] | 1 | .myButton { |
| 2 | box-shadow:inset 0px 1px 0px 0px #6e9eb8; |
| 3 | background:linear-gradient(to bottom, #1a5b8c 5%, #4b84a3 100%); |
| 4 | background-color:#1a5b8c; |
| 5 | border:1px solid #22536e; |
| 6 | display:inline-block; |
| 7 | cursor:pointer; |
| 8 | color:#ffffff; |
| 9 | font-family:Arial; |
| 10 | font-size:13px; |
| 11 | font-weight:bold; |
| 12 | padding:6px 12px; |
| 13 | text-decoration:none; |
| 14 | } |
| 15 | .myButton:hover { |
| 16 | background:linear-gradient(to bottom, #4b84a3 5%, #1a5b8c 100%); |
| 17 | background-color:#4b84a3; |
| 18 | } |
| 19 | .myButton:active { |
| 20 | position:relative; |
| 21 | top:1px; |
| 22 | } |
| 23 | .alert { |
| 24 | position: fixed; |
| 25 | top: 0; |
| 26 | right: 0.5rem; |
| 27 | border:1px solid rgba(0, 0, 0, 0.2); |
| 28 | border-radius: 0.25rem; |
| 29 | padding: 2rem; |
| 30 | background: #fff; |
| 31 | color: #f65656; |
| 32 | box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.5); |
| 33 | transition: all 0.2s ease-in-out; |
| 34 | opacity: 0; |
| 35 | } |
| 36 | |
| 37 | .visible { |
| 38 | opacity: 1; |
| 39 | transform: translateY(1.25rem); |
| 40 | } |