mirror of
https://github.com/WenPai-org/wptag.git
synced 2025-08-04 21:05:17 +08:00
Update admin UI styles and bump version to 1.1.0
Refines admin panel styles for improved consistency and readability, including adjustments to button, card, and editor appearances. Removes dashicons from admin action buttons and navigation tabs for a cleaner interface. Updates plugin version constant to 1.1.0.
This commit is contained in:
parent
30e040134d
commit
b1aa0b5b77
3 changed files with 22 additions and 24 deletions
|
@ -1,7 +1,3 @@
|
|||
.wptag-admin {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.wptag-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
@ -61,7 +57,10 @@
|
|||
background: #fff;
|
||||
color: #2271b1;
|
||||
}
|
||||
|
||||
button.button.wptag-validate-btn, button.button.wptag-preview-btn {
|
||||
line-height: 1.5;
|
||||
font-size: 12px;
|
||||
}
|
||||
.tab-content {
|
||||
background: #fff;
|
||||
border: 1px solid #ccd0d4;
|
||||
|
@ -122,11 +121,11 @@
|
|||
}
|
||||
|
||||
.wptag-service-card.enabled {
|
||||
border-color: #46b450;
|
||||
border-color: #73aee6;
|
||||
}
|
||||
|
||||
.wptag-service-card.enabled .wptag-service-header {
|
||||
background: linear-gradient(135deg, #46b450 0%, #5cbf60 100%);
|
||||
background: linear-gradient(135deg, #73aee6 0%, #73aee6 100%);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
@ -177,7 +176,7 @@
|
|||
|
||||
.wptag-service-title h3 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #23282d;
|
||||
transition: color 0.3s ease;
|
||||
|
@ -239,7 +238,7 @@ input:focus + .wptag-slider {
|
|||
}
|
||||
|
||||
.wptag-service-content {
|
||||
padding: 20px;
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.wptag-form-row {
|
||||
|
@ -292,7 +291,9 @@ input:focus + .wptag-slider {
|
|||
gap: 10px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.wp-core-ui select {
|
||||
font-size: 12px;
|
||||
}
|
||||
.wptag-input,
|
||||
.wptag-textarea,
|
||||
.wptag-select {
|
||||
|
@ -300,7 +301,7 @@ input:focus + .wptag-slider {
|
|||
padding: 10px 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
font-size: 12px;
|
||||
transition: all 0.3s ease;
|
||||
background: #fff;
|
||||
}
|
||||
|
@ -332,20 +333,21 @@ input:focus + .wptag-slider {
|
|||
border-radius: 6px;
|
||||
background: #f8f9fa;
|
||||
overflow: hidden;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.wptag-code-editor-wrapper::before {
|
||||
content: 'JavaScript Supported';
|
||||
content: 'JavaScript';
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
top: 4px;
|
||||
left: 10px;
|
||||
background: #28a745;
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
padding: 1px 6px;
|
||||
border-radius: 3px;
|
||||
z-index: 2;
|
||||
font-weight: 500;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
|
@ -391,11 +393,12 @@ input:focus + .wptag-slider {
|
|||
}
|
||||
|
||||
.wptag-code-editor-toolbar .button {
|
||||
padding: 6px 10px;
|
||||
padding: 4px 8px;
|
||||
min-height: auto;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 3px;
|
||||
line-height: 1.5;
|
||||
font-size: 12px;
|
||||
backdrop-filter: blur(10px);
|
||||
transition: all 0.2s ease;
|
||||
|
@ -410,8 +413,8 @@ input:focus + .wptag-slider {
|
|||
margin-top: 10px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue