PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.6.0
GenerateBlocks v1.6.0
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / src / dashboard.scss
generateblocks / src Last commit date
blocks 3 years ago components 3 years ago extend 3 years ago hoc 4 years ago hooks 3 years ago shared 4 years ago utils 4 years ago blocks.js 4 years ago dashboard.js 4 years ago dashboard.scss 4 years ago
dashboard.scss
172 lines
1 $settings-container-width: 750px;
2
3 .gblocks-dashboard-wrap {
4 margin: 0;
5 overflow: hidden;
6 }
7
8 .gblocks-dashboard-header {
9 background: #fff;
10 border-bottom: 1px solid #e2e4e7;
11 padding: 0 20px;
12 text-align: center;
13 display: flex;
14 justify-content: space-between;
15 align-items: center;
16
17 h1 {
18 font-size: 17px;
19 font-weight: 600;
20 padding-bottom: 0;
21 display: flex;
22 align-items: center;
23
24 svg {
25 width: 1em;
26 height: 1em;
27 padding-right: 10px;
28 fill: #006eb7;
29 }
30 }
31 }
32
33 .gblocks-navigation {
34 background: #fff;
35 display: flex;
36
37 a {
38 padding: 1rem;
39 display: flex;
40 align-items: center;
41 color: inherit;
42 text-decoration: none;
43
44 &.active {
45 font-weight: 600;
46 box-shadow: inset 0 -3px #007cba;
47 }
48 }
49 }
50
51 .generateblocks-settings-area {
52 .components-placeholder.gblocks-settings-placeholder {
53 margin-top: 20px;
54 margin-left: auto;
55 margin-right: auto;
56 max-width: $settings-container-width;
57 background: #fff;
58 border: 1px solid #e2e4e7;
59 box-shadow: none;
60 }
61
62 .generateblocks-settings-main {
63 margin-left: auto;
64 margin-right: auto;
65 max-width: $settings-container-width;
66
67 .gblocks-action-button {
68 display: flex;
69 align-items: center;
70 }
71
72 .gblocks-action-message {
73 padding-left: 10px;
74 opacity: 0;
75 transition: opacity 200ms ease-in-out;
76 color: green;
77 pointer-events: none;
78
79 &.gblocks-action-message--show {
80 opacity: 1;
81 transition: opacity 200ms ease-in-out;
82 }
83
84 &.gblocks-action-message--error {
85 color: red;
86 }
87 }
88
89 /* Only needed until WP 5.6 */
90 .gblocks-css-print-method {
91 .components-base-control__label {
92 display: block;
93 }
94 }
95
96 .components-button .components-spinner {
97 margin: 0;
98 }
99
100 .components-button.is-primary .components-spinner {
101 background: rgba(0,0,0,0.1);
102 border-radius: 100%;
103 }
104
105 .components-panel__body {
106 margin: 25px 0;
107 background: #fff;
108 border: 1px solid #e2e4e7;
109
110 .components-panel__body-toggle {
111 border-bottom: 1px solid #d6e2ed;
112 }
113
114 .gblocks-dashboard-panel-row-wrapper {
115 padding-top: 10px;
116
117 & > *:last-child {
118 margin-bottom: 0;
119 }
120 }
121
122 .components-panel__row {
123 padding: 0;
124 margin: 0 0 25px;
125 display: block;
126
127 .components-base-control {
128 .components-base-control__help {
129 margin: 0;
130 }
131
132 .components-base-control__field {
133 margin-bottom: 5px;
134 }
135 }
136 }
137
138 .components-notice {
139 margin: 0 0 10px;
140 }
141 }
142 }
143 }
144
145 .generateblocks-dashboard-page {
146 #wpcontent {
147 padding-left: 0;
148 }
149
150 .update-nag {
151 margin-bottom: 20px;
152 margin-left: 22px;
153 }
154
155 &.edit-php #wpbody-content .wrap {
156 padding: 0 20px;
157 margin: 0;
158 }
159 }
160
161 .gblocks-units {
162 position: absolute;
163 top: 0;
164 right: 0;
165 font-size: 12px;
166 font-weight: bold;
167 }
168
169 .gblocks-container-width {
170 position: relative;
171 }
172