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; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 29 | &:focus, |
Michael Davis | b8a41c1 | 2017-08-14 14:59:46 -0500 | [diff] [blame] | 30 | &.default { |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 31 | background: $primebtn__bg; |
| 32 | border: 2px solid $primebtn__bg; |
| 33 | } |
Michael Davis | b8a41c1 | 2017-08-14 14:59:46 -0500 | [diff] [blame] | 34 | &:hover { |
| 35 | background: darken($primebtn__bg, 10%); |
| 36 | border: 2px solid $primebtn__bg; |
| 37 | } |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 38 | } |
Michael Davis | 98276a3 | 2017-07-27 14:39:24 -0500 | [diff] [blame] | 39 | @media (min-width: 900px) { |
| 40 | position: absolute; |
| 41 | right: 0; |
| 42 | top: 50%; |
| 43 | transform: translateY(-50%); |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 44 | } |
| 45 | } |
| 46 | |
| 47 | // confirmation message |
| 48 | .inline__confirm-message { |
| 49 | display: inline-block; |
Michael Davis | 7f89fad | 2017-07-31 18:36:45 -0500 | [diff] [blame] | 50 | font-weight: 400; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | // Power confirmation message icon |
| 54 | .inline__confirm-message i::before { |
| 55 | content: '\26A0'; |
Michael Davis | c562618 | 2017-03-10 15:48:05 -0600 | [diff] [blame] | 56 | color: $status-warn; |
Michael Davis | ea5241a | 2017-07-12 15:56:55 -0500 | [diff] [blame] | 57 | display: inline-block; |
| 58 | font-size: 2em; |
| 59 | vertical-align: middle; |
| 60 | font-style: normal; |
| 61 | margin-right: 15px; |
| 62 | } |