| @@ -1,12 +1,14 @@ | ||
| 1 | 1 | [class~="hurrytimer-campaign"] { |
| 2 | 2 | line-height: normal; |
| 3 | - display: inline-block; | |
| 4 | 3 | text-align: center; |
| 5 | 4 | padding: 10px 0; } |
| 6 | 5 | [class~="hurrytimer-campaign"] * { |
| 7 | 6 | line-height: normal; } |
| 8 | 7 | |
| 8 | +.hurryt-loading { | |
| 9 | + display: none !important; } | |
| 10 | + | |
| 9 | 11 | .hurrytimer-timer { |
| 10 | 12 | display: flex; |
| 11 | 13 | align-items: baseline; |
| 12 | 14 | justify-content: center; |
| @@ -25,10 +27,58 @@ | ||
| 25 | 27 | align-items: center; |
| 26 | 28 | justify-content: center; |
| 27 | 29 | box-sizing: content-box; |
| 28 | 30 | margin-bottom: 10px; |
| 29 | - margin-left: 5px; | |
| 30 | - margin-right: 5px; } | |
| 31 | + margin-left: 5px; } | |
| 31 | 32 | .hurrytimer-timer-block:last-child { |
| 32 | 33 | margin-right: 0; } |
| 33 | 34 | .hurrytimer-timer-block:first-child { |
| 34 | 35 | margin-left: 0; } |
| 36 | + | |
| 37 | +.hurrytimer-sticky { | |
| 38 | + margin: auto !important; | |
| 39 | + width: 100%; | |
| 40 | + background: #fff; | |
| 41 | + left: 0; | |
| 42 | + right: 0; | |
| 43 | + z-index: 9999; | |
| 44 | + position: fixed; | |
| 45 | + box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); } | |
| 46 | + .hurrytimer-sticky.is-off { | |
| 47 | + position: relative; | |
| 48 | + z-index: 0; } | |
| 49 | + | |
| 50 | +.admin-bar:not(.wp-admin) .hurrytimer-sticky { | |
| 51 | + z-index: 999999; } | |
| 52 | + | |
| 53 | +.hurrytimer-sticky-inner { | |
| 54 | + max-width: 1200px; | |
| 55 | + margin: auto; | |
| 56 | + text-align: center; | |
| 57 | + padding-left: 5px; | |
| 58 | + padding-right: 5px; } | |
| 59 | + | |
| 60 | +.hurrytimer-button { | |
| 61 | + display: inline-block; | |
| 62 | + text-decoration: none; | |
| 63 | + outline: none; } | |
| 64 | + | |
| 65 | +.hurrytimer-sticky-close { | |
| 66 | + right: 10px; | |
| 67 | + position: absolute; | |
| 68 | + transform: translateY(-50%); | |
| 69 | + top: 50%; | |
| 70 | + background: none; | |
| 71 | + border: none; | |
| 72 | + padding: 0; | |
| 73 | + margin: 0; | |
| 74 | + width: 13px; | |
| 75 | + height: 13px; | |
| 76 | + cursor: pointer; | |
| 77 | + display: flex; } | |
| 78 | + .hurrytimer-sticky-close svg { | |
| 79 | + fill: #333; | |
| 80 | + width: 100%; | |
| 81 | + height: 100%; } | |
| 82 | + .hurrytimer-sticky-close:hover { | |
| 83 | + opacity: 1; | |
| 84 | + background: none; } | |