block-context
2 years ago
blocks
1 year ago
components
1 year ago
dynamic-tags
1 year ago
editor
1 year ago
editor-sidebar
1 year ago
extend
1 year ago
hoc
1 year ago
hooks
1 year ago
pattern-library
1 year ago
settings
1 year ago
shared
1 year ago
store
1 year ago
utils
1 year ago
_common.scss
1 year ago
blocks.js
2 years ago
dashboard.js
1 year ago
dashboard.scss
1 year ago
editor-sidebar.js
2 years ago
editor.js
1 year ago
packages.scss
1 year ago
pattern-library.js
2 years ago
settings.js
1 year ago
settings.scss
1 year ago
dashboard.scss
150 lines
| 1 | $container-width: 750px; |
| 2 | |
| 3 | .generateblocks-dashboard { |
| 4 | .gb-dashboard-info { |
| 5 | max-width: $container-width; |
| 6 | margin: 0 auto; |
| 7 | box-sizing: border-box; |
| 8 | } |
| 9 | |
| 10 | .gblocks-sub-navigation { |
| 11 | display: flex; |
| 12 | justify-content: center; |
| 13 | margin-top: 10px; |
| 14 | gap: 10px; |
| 15 | } |
| 16 | |
| 17 | .gblocks-dashboard-intro-content { |
| 18 | padding: 60px; |
| 19 | font-size: 30px; |
| 20 | line-height: 1.3; |
| 21 | text-align: center; |
| 22 | margin: 0 auto; |
| 23 | max-width: 700px; |
| 24 | |
| 25 | h2 { |
| 26 | margin: 0; |
| 27 | } |
| 28 | |
| 29 | p { |
| 30 | font-size: 18px; |
| 31 | margin: 0 0 1em; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | .gblocks-generatepress { |
| 36 | background: #fff; |
| 37 | padding: 60px; |
| 38 | } |
| 39 | |
| 40 | .gblocks-inside-generatepress { |
| 41 | display: flex; |
| 42 | max-width: 1200px; |
| 43 | margin: 0 auto; |
| 44 | align-items: center; |
| 45 | } |
| 46 | |
| 47 | .gblocks-generatepress-content { |
| 48 | width: 50%; |
| 49 | |
| 50 | h2 { |
| 51 | font-size: 40px; |
| 52 | line-height: 1.5em; |
| 53 | font-weight: 300; |
| 54 | margin-top: 0; |
| 55 | } |
| 56 | |
| 57 | p { |
| 58 | font-size: 17px; |
| 59 | line-height: 1.8; |
| 60 | } |
| 61 | |
| 62 | .stats { |
| 63 | display: flex; |
| 64 | font-size: 15px; |
| 65 | line-height: 1.6; |
| 66 | margin-top: 20px; |
| 67 | margin-bottom: 20px; |
| 68 | |
| 69 | & > * { |
| 70 | padding-right: 30px; |
| 71 | } |
| 72 | |
| 73 | strong { |
| 74 | font-size: 20px; |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | .gblocks-button { |
| 79 | color: #006eb7; |
| 80 | display: inline-block; |
| 81 | margin-top: 10px; |
| 82 | |
| 83 | &:hover { |
| 84 | color: #000; |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | .gblocks-generatepress-image { |
| 90 | width: 50%; |
| 91 | display: flex; |
| 92 | align-items: center; |
| 93 | justify-content: center; |
| 94 | } |
| 95 | |
| 96 | .gblocks-getting-started { |
| 97 | padding: 0 60px 60px; |
| 98 | text-align: center; |
| 99 | |
| 100 | img { |
| 101 | display: block; |
| 102 | margin: 0 auto; |
| 103 | } |
| 104 | |
| 105 | p { |
| 106 | font-size: 20px; |
| 107 | max-width: 450px; |
| 108 | margin: 0 auto; |
| 109 | |
| 110 | &:first-child:before { |
| 111 | content: ""; |
| 112 | display: block; |
| 113 | height: 1px; |
| 114 | width: 150px; |
| 115 | background: #d8e2e4; |
| 116 | margin: 0 auto 40px; |
| 117 | } |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | .components-panel__body { |
| 122 | background-color: #fff; |
| 123 | } |
| 124 | |
| 125 | @media (max-width: 1180px){ |
| 126 | .gblocks-inside-generatepress { |
| 127 | flex-wrap: wrap; |
| 128 | } |
| 129 | |
| 130 | .gblocks-generatepress-content { |
| 131 | width: 100%; |
| 132 | } |
| 133 | |
| 134 | .gblocks-generatepress-image { |
| 135 | width: 100%; |
| 136 | order: -1; |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | @media (max-width: 520px) { |
| 141 | .gblocks-getting-started img { |
| 142 | max-width: 100%; |
| 143 | } |
| 144 | |
| 145 | .gblocks-generatepress-content .stats { |
| 146 | flex-wrap: wrap; |
| 147 | } |
| 148 | } |
| 149 | } |
| 150 |