PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 1.3.0
GenerateBlocks v1.3.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 5 years ago components 5 years ago shared 5 years ago utils 5 years ago blocks.js 6 years ago dashboard.js 5 years ago dashboard.scss 5 years ago
dashboard.scss
159 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: #000;
102 }
103
104 .components-panel__body {
105 margin: 25px 0;
106 background: #fff;
107 border: 1px solid #e2e4e7;
108
109 .components-panel__body-toggle {
110 border-bottom: 1px solid #d6e2ed;
111 }
112
113 .gblocks-dashboard-panel-row-wrapper {
114 padding-top: 10px;
115
116 & > *:last-child {
117 margin-bottom: 0;
118 }
119 }
120
121 .components-panel__row {
122 padding: 0;
123 margin: 0 0 25px;
124 display: block;
125
126 .components-base-control {
127 .components-base-control__help {
128 margin-bottom: 0;
129 }
130
131 .components-base-control__field {
132 margin-bottom: 10px;
133 }
134 }
135 }
136
137 .components-notice {
138 margin: 0 0 10px;
139 }
140 }
141 }
142 }
143
144 .generateblocks-dashboard-page {
145 #wpcontent {
146 padding-left: 0;
147 }
148
149 .update-nag {
150 margin-bottom: 20px;
151 margin-left: 22px;
152 }
153
154 &.edit-php #wpbody-content .wrap {
155 padding: 0 20px;
156 margin: 0;
157 }
158 }
159