style.scss (5806B)
1 $primary-color: #24b0a6; 2 $hover-color: #19837c; 3 $border-color: #00a7e5; 4 $border-hover-color: #19837c; 5 $progress-color: #2576a4; 6 7 $item-current-color: #df7739; 8 $item-completed-color: #6ab255; 9 10 .feedback-wrapper { 11 // z-index: 600000; 12 position: relative; 13 } 14 15 .redux-templates-feedback { 16 padding: 20px; 17 width: 600px; 18 .panel { 19 display: flex; 20 flex-direction: column; 21 flex: 1; 22 transition: max-height 0.5s ease-out, opacity 0.5s ease-out; 23 max-height: 300px; 24 opacity: 1; 25 &.fade { 26 max-height: 0; 27 opacity: 0; 28 } 29 .field { 30 display: flex; 31 margin-bottom: 15px; 32 align-items: center; 33 &.top { 34 align-items: top; 35 } 36 label { 37 margin-right: 15px; 38 } 39 label + input, 40 textarea { 41 padding: 5px 10px; 42 width: 375px; 43 } 44 input[type="checkbox"], 45 input[type="radio"] { 46 margin-top: 0; 47 margin-right: 0.5rem; 48 } 49 } 50 button { 51 align-self: center; 52 margin-top: 1rem; 53 } 54 } 55 h4 { 56 margin: 0.5rem 0; 57 } 58 .error-panel { 59 color: #f00; 60 margin-bottom: 10px; 61 } 62 } 63 .redux-templates-feedback-modal-wrapper { 64 display: flex; 65 flex-direction: column; 66 background: #fff; 67 .redux-templates-modal-header { 68 border-bottom: 1px solid #ddd; 69 width: 100%; 70 flex: 0 0 60px; 71 padding: 10px 15px; 72 display: flex; 73 align-items: center; 74 justify-content: space-between; 75 box-sizing: border-box; 76 77 h3 { 78 margin: 0; 79 font-size: 1.2rem; 80 } 81 82 button { 83 border: none; 84 cursor: pointer; 85 } 86 87 .redux-templates-modal-close { 88 font-size: 20px; 89 background: transparent; 90 color: #9b9b9b; 91 } 92 93 } 94 } 95 96 .feedback-popup-wrapper { 97 border-radius: 4px; 98 } 99 100 .less-margin .feedback-popup-content { 101 padding: 20px 25px; 102 } 103 .feedback-popup-content { 104 box-sizing: border-box; 105 padding: 30px 40px; 106 -webkit-font-smoothing: antialiased; 107 } 108 109 .feedback-popup-content h3 { 110 color: $primary-color; 111 margin: 0 0 20px; 112 font-size: 24px; 113 font-family: "Helvetica Neue"; 114 font-weight: 500; 115 } 116 117 .feedback-popup-content p { 118 font-size: 16px; 119 margin: 0 0 22px; 120 } 121 122 .feedback-popup-content b { 123 font-weight: 500; 124 } 125 126 .feedback-popup-content textarea { 127 box-shadow: none; 128 resize: none; 129 margin-bottom: 21px; 130 width: 100%; 131 min-height: 100px; 132 } 133 134 .feedback-popup-content label { 135 font-size: 13.8px; 136 display: block; 137 margin-bottom: 23px; 138 } 139 140 .feedback-popup-content input[type="checkbox"] { 141 margin-right: 8px; 142 } 143 144 .feedback-popup-content .rating-stars { 145 color: #fdb72c; 146 font-size: 18px; 147 font-weight: bold; 148 } 149 150 .feedback-popup-close .fa-times { 151 font-size: 20px; 152 color: #777; 153 float: right; 154 margin: 15px; 155 border-radius: 50%; 156 cursor: pointer; 157 } 158 159 .feedback-popup-btn { 160 display: inline-block; 161 border-radius: 4px; 162 cursor: pointer; 163 text-decoration: none; 164 text-align: center; 165 vertical-align: middle; 166 white-space: nowrap; 167 box-shadow: none; 168 font-size: 15px; 169 font-weight: 600; 170 padding: 14px 25px; 171 border: 1px solid $border-color; 172 background-color: $primary-color; 173 color: #fff; 174 175 &:hover { 176 border: 1px solid $border-hover-color; 177 background-color: $hover-color; 178 color: #fff; 179 } 180 181 .dashicons-external { 182 margin-left: 6px; 183 } 184 } 185 186 .feedback-popup-content { 187 p { 188 font-size: 14px; 189 } 190 textarea { 191 margin-bottom: 10px; 192 } 193 label { 194 font-size: 13px; 195 margin-bottom: 15px; 196 } 197 .components-base-control .components-base-control__field { 198 display: flex; 199 } 200 .error-message { 201 color: #f00; 202 } 203 } 204 205 .redux-templates-modal-wrapper.feedback-popup-wrapper { 206 height: auto; 207 } 208 209 .feedback-popup-content { 210 label.control-label { 211 margin-bottom: 5px; 212 } 213 .form-group.field { 214 margin-bottom: 10px; 215 } 216 .fixed-control { 217 input, 218 select { 219 width: 100%; 220 } 221 } 222 } 223 224 225 .feedback-popup-header { 226 display: flex; 227 align-items: center; 228 justify-content: center; 229 position: relative; 230 height: 130px; 231 width: 100%; 232 background-color: #eee; 233 border-top-left-radius: 2px; 234 border-top-right-radius: 2px; 235 236 .header-background { 237 width: 75px; 238 height: 75px; 239 } 240 i.header-icon { 241 font-size: 50px; 242 } 243 244 .feedback-popup-close { 245 position: absolute; 246 top: 5px; 247 right: 5px; 248 } 249 } 250 251 .feedback-popup-content { 252 .col-wrapper { 253 display: flex; 254 flex-direction: row; 255 justify-content: space-between; 256 form { 257 width: 100%; 258 } 259 } 260 261 262 .redux-templates-block-preview-hover { 263 position: absolute; 264 z-index: 9; 265 cursor: default; 266 height: 100%; 267 background: transparent; 268 right: 0; 269 bottom: 0; 270 left: 0; 271 top: 0; 272 } 273 .preview-panel { 274 height: 250px; 275 overflow-y: auto; 276 overflow-x: hidden; 277 cursor: default; 278 background: #fff; 279 position: relative; 280 margin: 0 0 0 20px; 281 outline: 3px solid transparent; 282 -webkit-transition: outline 0.3s ease-in-out; 283 transition: outline 0.3s ease-in-out; 284 -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1); 285 box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1); 286 border-radius: 3px; 287 } 288 }