dashboard.css
290 lines
| 1 | .gblocks-dashboard-wrap { |
| 2 | margin: 0; |
| 3 | overflow: hidden; |
| 4 | } |
| 5 | |
| 6 | .gblocks-dashboard-header { |
| 7 | background: #fff; |
| 8 | border-bottom: 1px solid #e2e4e7; |
| 9 | padding: 40px 0 0; |
| 10 | text-align: center; |
| 11 | } |
| 12 | |
| 13 | .gblocks-dashboard-header h1 { |
| 14 | font-size: 25px; |
| 15 | font-weight: 600; |
| 16 | padding-bottom: 0; |
| 17 | margin-bottom: 20px; |
| 18 | } |
| 19 | |
| 20 | .gblocks-logo { |
| 21 | margin-bottom: 20px; |
| 22 | display: flex; |
| 23 | align-items: center; |
| 24 | justify-content: center; |
| 25 | } |
| 26 | |
| 27 | .gblocks-version { |
| 28 | font-size: 10px; |
| 29 | padding: 2px 5px; |
| 30 | background: rgba(0,0,0,0.1); |
| 31 | display: block; |
| 32 | margin-left: 5px; |
| 33 | margin-bottom: 2px; |
| 34 | font-weight: normal; |
| 35 | border-radius: 2px; |
| 36 | } |
| 37 | |
| 38 | .gblocks-navigation { |
| 39 | background: #fff; |
| 40 | display: flex; |
| 41 | justify-content: center; |
| 42 | } |
| 43 | |
| 44 | .gblocks-navigation a { |
| 45 | padding: 0.5rem 1rem 1rem; |
| 46 | display: inline-flex; |
| 47 | color: inherit; |
| 48 | text-decoration: none; |
| 49 | } |
| 50 | |
| 51 | .gblocks-navigation a.active { |
| 52 | font-weight: 600; |
| 53 | box-shadow: inset 0 -3px #007cba; |
| 54 | } |
| 55 | |
| 56 | .gblocks-sub-navigation { |
| 57 | display: flex; |
| 58 | justify-content: center; |
| 59 | margin-top: 10px; |
| 60 | } |
| 61 | |
| 62 | .gblocks-sub-navigation a.button { |
| 63 | margin: 4px; |
| 64 | } |
| 65 | |
| 66 | .gblocks-dashboard-intro-content { |
| 67 | padding: 60px; |
| 68 | font-size: 22px; |
| 69 | line-height: 1.8; |
| 70 | text-align: center; |
| 71 | margin: 0 auto; |
| 72 | } |
| 73 | |
| 74 | .gblocks-dashboard-intro-image { |
| 75 | width: 50%; |
| 76 | text-align: center; |
| 77 | } |
| 78 | |
| 79 | .gblocks-dashboard-blocks { |
| 80 | display: flex; |
| 81 | flex-wrap: wrap; |
| 82 | justify-content: center; |
| 83 | max-width: 1300px; |
| 84 | margin-left: auto; |
| 85 | margin-right: auto; |
| 86 | } |
| 87 | |
| 88 | .gblocks-block { |
| 89 | padding: 40px; |
| 90 | background: #fff; |
| 91 | background-image: linear-gradient(180deg, #fff 50%, rgba(0,0,0,0.02)); |
| 92 | display: flex; |
| 93 | flex-direction: column; |
| 94 | width: 21%; |
| 95 | box-sizing: border-box; |
| 96 | margin: 0 2% 4%; |
| 97 | border-bottom: 2px solid #ddd; |
| 98 | border-right: 2px solid #ddd; |
| 99 | } |
| 100 | |
| 101 | .gblocks-block svg { |
| 102 | width: 75px; |
| 103 | height: 75px; |
| 104 | color: #006eb7; |
| 105 | } |
| 106 | |
| 107 | .gblocks-block > *:last-child { |
| 108 | margin-bottom: 0; |
| 109 | } |
| 110 | |
| 111 | .gblocks-block h3 { |
| 112 | margin-top: 30px; |
| 113 | font-size: 20px; |
| 114 | } |
| 115 | |
| 116 | .gblocks-block p { |
| 117 | font-size: 15px; |
| 118 | margin: 0 0 2em; |
| 119 | } |
| 120 | |
| 121 | .gblocks-button { |
| 122 | margin-top: auto; |
| 123 | background: #fff; |
| 124 | border: 1px solid; |
| 125 | flex-grow: 0; |
| 126 | padding: 15px 20px; |
| 127 | text-decoration: none; |
| 128 | color: #000; |
| 129 | font-size: 20px; |
| 130 | align-self: flex-start; |
| 131 | transition: color 500ms ease; |
| 132 | } |
| 133 | |
| 134 | .gblocks-generatepress { |
| 135 | background: #fff; |
| 136 | padding: 60px; |
| 137 | } |
| 138 | |
| 139 | .gblocks-inside-generatepress { |
| 140 | display: flex; |
| 141 | max-width: 1200px; |
| 142 | margin: 0 auto; |
| 143 | align-items: center; |
| 144 | } |
| 145 | |
| 146 | .gblocks-generatepress-content { |
| 147 | width: 50%; |
| 148 | } |
| 149 | |
| 150 | .gblocks-generatepress-content h2 { |
| 151 | font-size: 40px; |
| 152 | line-height: 1.5em; |
| 153 | font-weight: 300; |
| 154 | margin-top: 0; |
| 155 | } |
| 156 | |
| 157 | .gblocks-generatepress-content p { |
| 158 | font-size: 17px; |
| 159 | line-height: 1.8; |
| 160 | } |
| 161 | |
| 162 | .gblocks-generatepress-content .stats { |
| 163 | display: flex; |
| 164 | font-size: 15px; |
| 165 | line-height: 1.6; |
| 166 | margin-top: 20px; |
| 167 | margin-bottom: 20px; |
| 168 | } |
| 169 | |
| 170 | .gblocks-generatepress-content .stats > * { |
| 171 | padding-right: 30px; |
| 172 | } |
| 173 | |
| 174 | .gblocks-generatepress-content .stats strong { |
| 175 | font-size: 20px; |
| 176 | } |
| 177 | |
| 178 | .gblocks-generatepress-image { |
| 179 | width: 50%; |
| 180 | display: flex; |
| 181 | align-items: center; |
| 182 | justify-content: center; |
| 183 | } |
| 184 | |
| 185 | .gblocks-generatepress-content .gblocks-button { |
| 186 | color: #006eb7; |
| 187 | display: inline-block; |
| 188 | margin-top: 10px; |
| 189 | } |
| 190 | |
| 191 | .gblocks-generatepress-content .gblocks-button:hover { |
| 192 | color: #000; |
| 193 | } |
| 194 | |
| 195 | .gblocks-settings-content { |
| 196 | padding: 60px; |
| 197 | max-width: 800px; |
| 198 | margin-left: auto; |
| 199 | margin-right: auto; |
| 200 | } |
| 201 | |
| 202 | #generateblocks-regenerate-css-files-button { |
| 203 | display: flex; |
| 204 | align-items: center; |
| 205 | } |
| 206 | |
| 207 | .generateblocks-button-spinner:before { |
| 208 | font: normal 20px/.5 dashicons; |
| 209 | speak: none; |
| 210 | content: "\f463"; |
| 211 | padding-right: 3px; |
| 212 | } |
| 213 | |
| 214 | .generateblocks-button-spinner.loading:before { |
| 215 | -webkit-animation: rotation 1s infinite linear; |
| 216 | animation: rotation 1s infinite linear; |
| 217 | } |
| 218 | |
| 219 | .generateblocks-button-spinner.success:before { |
| 220 | content: "\f147"; |
| 221 | color: #46b450; |
| 222 | } |
| 223 | |
| 224 | .gblocks-getting-started { |
| 225 | padding: 0 60px 60px; |
| 226 | text-align: center; |
| 227 | } |
| 228 | |
| 229 | .gblocks-getting-started img { |
| 230 | display: block; |
| 231 | margin: 0 auto; |
| 232 | } |
| 233 | |
| 234 | .gblocks-getting-started p { |
| 235 | font-size: 20px; |
| 236 | max-width: 450px; |
| 237 | margin: 0 auto; |
| 238 | } |
| 239 | |
| 240 | .gblocks-getting-started p:first-child:before { |
| 241 | content: ""; |
| 242 | display: block; |
| 243 | height: 1px; |
| 244 | width: 150px; |
| 245 | background: #d8e2e4; |
| 246 | margin: 0 auto 40px; |
| 247 | } |
| 248 | |
| 249 | .settings_page_generateblocks #wpcontent, |
| 250 | .settings_page_generateblocks-settings #wpcontent { |
| 251 | padding-left: 0; |
| 252 | } |
| 253 | |
| 254 | @media (max-width: 1180px){ |
| 255 | .gblocks-inside-generatepress { |
| 256 | flex-wrap: wrap; |
| 257 | } |
| 258 | |
| 259 | .gblocks-generatepress-content { |
| 260 | width: 100%; |
| 261 | } |
| 262 | |
| 263 | .gblocks-generatepress-image { |
| 264 | width: 100%; |
| 265 | order: -1; |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | @media (max-width: 1000px) { |
| 270 | .gblocks-block { |
| 271 | width: 46%; |
| 272 | margin: 0 2% 4%; |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | @media (max-width: 520px) { |
| 277 | .gblocks-block { |
| 278 | width: 96%; |
| 279 | margin: 1% 2%; |
| 280 | } |
| 281 | |
| 282 | .gblocks-getting-started img { |
| 283 | max-width: 100%; |
| 284 | } |
| 285 | |
| 286 | .gblocks-generatepress-content .stats { |
| 287 | flex-wrap: wrap; |
| 288 | } |
| 289 | } |
| 290 |