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