Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 1 | |
| 2 | // inline confirmation message |
| 3 | .inline__confirm { |
| 4 | position: absolute; |
| 5 | top: 0; |
Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 6 | transform: translateY(-103%); |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 7 | width: 100%; |
Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 8 | height: 100%; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 9 | z-index: 5; |
| 10 | background: $darkbg__primary; |
| 11 | color: $white; |
| 12 | padding: 2em 2em 1.55em 2em; |
| 13 | overflow: hidden; |
Michael Davis | 6af1346 | 2017-04-04 14:07:02 -0500 | [diff] [blame] | 14 | @include fastTransition-all; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 15 | &.active { |
| 16 | transform: translateY(0); |
| 17 | @include fastTransition-all; |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | // Power confirmation buttons |
| 22 | .inline__confirm-buttons { |
Michael Davis | 98276a3 | 2017-07-27 14:39:24 -0500 | [diff] [blame] | 23 | margin-left: 1.8em; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 24 | .btn-primary { |
| 25 | background: transparent; |
| 26 | border: 2px solid $white; |
| 27 | padding: 1em 2.2em; |
| 28 | margin: 0 10px; |
| 29 | border-radius: 4px; |
| 30 | &:focus, |
| 31 | &:hover { |
| 32 | background: $primebtn__bg; |
| 33 | border: 2px solid $primebtn__bg; |
| 34 | } |
| 35 | } |
Michael Davis | 98276a3 | 2017-07-27 14:39:24 -0500 | [diff] [blame] | 36 | @media (min-width: 900px) { |
| 37 | position: absolute; |
| 38 | right: 0; |
| 39 | top: 50%; |
| 40 | transform: translateY(-50%); |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 41 | } |
| 42 | } |
| 43 | |
| 44 | // confirmation message |
| 45 | .inline__confirm-message { |
| 46 | display: inline-block; |
Michael Davis | 7f89fad | 2017-07-31 18:36:45 -0500 | [diff] [blame] | 47 | font-weight: 400; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | // Power confirmation message icon |
| 51 | .inline__confirm-message i::before { |
| 52 | content: '\26A0'; |
Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 53 | color: $status-warn; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 54 | display: inline-block; |
| 55 | font-size: 2em; |
| 56 | vertical-align: middle; |
| 57 | font-style: normal; |
| 58 | margin-right: 15px; |
| 59 | } |