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; |
| 6 | transform: translateY(-100%); |
| 7 | width: 100%; |
| 8 | margin-left: -1.8em; |
| 9 | z-index: 5; |
| 10 | background: $darkbg__primary; |
| 11 | color: $white; |
| 12 | padding: 2em 2em 1.55em 2em; |
| 13 | overflow: hidden; |
| 14 | &.active { |
| 15 | transform: translateY(0); |
| 16 | @include fastTransition-all; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | // Power confirmation buttons |
| 21 | .inline__confirm-buttons { |
| 22 | .btn-primary { |
| 23 | background: transparent; |
| 24 | border: 2px solid $white; |
| 25 | padding: 1em 2.2em; |
| 26 | margin: 0 10px; |
| 27 | border-radius: 4px; |
| 28 | &:focus, |
| 29 | &:hover { |
| 30 | background: $primebtn__bg; |
| 31 | border: 2px solid $primebtn__bg; |
| 32 | } |
| 33 | } |
| 34 | @include mediaQuery(large) { |
| 35 | float: right; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | // confirmation message |
| 40 | .inline__confirm-message { |
| 41 | display: inline-block; |
| 42 | } |
| 43 | |
| 44 | // Power confirmation message icon |
| 45 | .inline__confirm-message i::before { |
| 46 | content: '\26A0'; |
| 47 | color: $white; |
| 48 | display: inline-block; |
| 49 | font-size: 2em; |
| 50 | vertical-align: middle; |
| 51 | font-style: normal; |
| 52 | margin-right: 15px; |
| 53 | } |