PluginProbe
Booking Calendar / 11.8.3
Booking Calendar v11.8.3
11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 10.11.2 All 203 releases
booking / includes / _toolbar_ui / _src / wpbc_admin_components.css

wpbc_admin_components.css in Booking Calendar 11.8.3, at includes/_toolbar_ui/_src/wpbc_admin_components.css

177 lines 4.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 /* ================================================================================================================== */
3 /* == Welcome panel and reusable administration buttons == */
4 /* ================================================================================================================== */
5 .wpbc_welcome_panel {
6 margin: 1px 0 20px;
7 }
8
9 .wp-core-ui .wpbc_page .wpbc_welcome_panel__dismiss {
10 align-items: center;
11 background: #fff;
12 border: 0;
13 border-radius: 7px;
14 color: #50575e;
15 cursor: pointer;
16 display: inline-flex;
17 float: right;
18 font-weight: 600;
19 justify-content: center;
20 line-height: 1;
21 margin: 16px 15px 0 -32px;
22 min-height: 30px;
23 padding: 0;
24 position: relative;
25 text-decoration: none;
26 width: 30px;
27 z-index: 1;
28 }
29
30 .wp-core-ui .wpbc_page .wpbc_welcome_panel__dismiss:hover {
31 color: var(--wpbc_admin-theme-color, #2271b1);
32 }
33
34 .wp-core-ui .wpbc_page .wpbc_welcome_panel__dismiss:focus-visible {
35 box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wpbc_admin-theme-color, #2271b1);
36 outline: 2px solid transparent;
37 }
38
39 .wpbc_ui_settings__panel__welcome .wpbc_ajx_toolbar.wpbc_no_borders {
40 margin-top: 5px !important;
41 }
42
43 .wpbc_ui_settings__panel__welcome .wpbc_ui_settings__card_text_small h1,
44 .wpbc_ui_settings__panel__welcome .wpbc_ui_settings__panel h1 {
45 line-height: 1.2;
46 margin: 0;
47 }
48
49 .wpbc_ui_settings__panel__welcome .about-description {
50 color: #8a8a8a;
51 flex: 1 1 auto;
52 font-size: 20px;
53 font-weight: 600;
54 margin: 0;
55 padding: 10px 20px;
56 }
57
58 .wpbc_ui_settings__panel__welcome_header {
59 align-items: center;
60 border-bottom: 1px solid #eee;
61 display: flex;
62 flex: 1 1 100%;
63 gap: 20px;
64 min-width: 0;
65 padding-right: 18px;
66 }
67
68 .wpbc_ui_settings__panel__welcome_header .wpbc_settings_path_el {
69 flex: 0 0 auto;
70 margin-left: auto !important;
71 white-space: nowrap;
72 }
73
74 .wpbc_ui_settings__panel__welcome .wpbc_ajx_toolbar .ui_container.ui_container_small .ui_group .ui_element .wpbc_ui_button {
75 flex-flow: row nowrap;
76 height: auto;
77 line-height: 1.74;
78 padding: 5px 15px;
79 white-space: normal;
80 }
81
82 /**
83 * Admin-only button contract.
84 *
85 * New administration markup must use this component instead of public booking
86 * form classes such as `.wpbc_button_light` and `.wpbc_button_primary`.
87 */
88 .wp-core-ui .wpbc_page .wpbc_admin_button {
89 --wpbc_admin-button-background: var(--wpbc_admin-theme-color, #3858e9);
90 --wpbc_admin-button-border-color: rgba(255, 255, 255, 0.12);
91 --wpbc_admin-button-focus-ring: var(--wpbc_admin-theme-color, #3858e9);
92 --wpbc_admin-button-hover-background: var(--wp-admin-theme-color-darker-10, #2145e6);
93 align-items: center;
94 -webkit-appearance: none;
95 appearance: none;
96 background: var(--wpbc_admin-button-background);
97 border: 2px solid var(--wpbc_admin-button-border-color);
98 border-radius: 0.375em;
99 box-shadow: 0 0 0 2px rgba(56, 88, 233, 0.18);
100 box-sizing: border-box;
101 color: #fff;
102 cursor: pointer;
103 display: inline-flex;
104 font-family: inherit;
105 font-size: 16px;
106 font-weight: 600;
107 height: var(--wpbc_admin-button-height, 46px);
108 justify-content: center;
109 line-height: 1.2;
110 margin: 0;
111 max-width: 100%;
112 min-width: 0;
113 padding: 0 var(--wpbc_admin-button-padding-horizontal, 2.2em);
114 text-align: center;
115 text-decoration: none !important;
116 text-shadow: none;
117 transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
118 white-space: normal;
119 }
120
121 .wp-core-ui .wpbc_page .wpbc_admin_button--primary {
122 --wpbc_admin-button-background: var(--wpbc_admin-theme-color, #3858e9);
123 --wpbc_admin-button-focus-ring: var(--wpbc_admin-theme-color, #3858e9);
124 --wpbc_admin-button-hover-background: var(--wp-admin-theme-color-darker-10, #2145e6);
125 }
126
127 .wp-core-ui .wpbc_page .wpbc_admin_button--success {
128 --wpbc_admin-button-background: #00ac03;
129 --wpbc_admin-button-focus-ring: #00ac03;
130 --wpbc_admin-button-hover-background: #059307;
131 box-shadow: 0 0 0 2px rgba(22, 128, 0, 0.19);
132 }
133
134 .wp-core-ui .wpbc_page .wpbc_admin_button:hover,
135 .wp-core-ui .wpbc_page .wpbc_admin_button:focus,
136 .wp-core-ui .wpbc_page .wpbc_admin_button:focus-visible {
137 background: var(--wpbc_admin-button-hover-background);
138 border-color: #fff;
139 box-shadow: 0 0 0 2px var(--wpbc_admin-button-focus-ring);
140 color: #fff;
141 }
142
143 .wp-core-ui .wpbc_page .wpbc_admin_button:focus-visible {
144 outline: 2px solid transparent;
145 }
146
147 .wp-core-ui .wpbc_page .wpbc_admin_button:disabled,
148 .wp-core-ui .wpbc_page .wpbc_admin_button[aria-disabled="true"] {
149 background: #f0f0f1;
150 border-color: #c3c4c7;
151 box-shadow: none;
152 color: #8c8f94;
153 cursor: not-allowed;
154 }
155
156 @media ( max-width: 782px ) {
157 .wpbc_ui_settings__panel__welcome_header {
158 align-items: flex-start;
159 flex-direction: column;
160 gap: 0;
161 padding: 0 16px 14px;
162 }
163
164 .wpbc_ui_settings__panel__welcome .about-description {
165 padding-left: 0;
166 padding-right: 0;
167 }
168
169 .wpbc_ui_settings__panel__welcome_header .wpbc_settings_path_el {
170 margin-left: 0 !important;
171 }
172
173 .wp-core-ui .wpbc_page .wpbc_ui_settings__panel__welcome .wpbc_admin_button {
174 width: 100%;
175 }
176 }
177