init
This commit is contained in:
@@ -0,0 +1,159 @@
|
||||
.wiki-category-edit .page-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.2rem;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.wiki-category-edit .page-actions .action-primary,
|
||||
.wiki-category-edit .page-actions .action-secondary {
|
||||
display: inline-flex;
|
||||
box-sizing: border-box;
|
||||
min-height: 4.4rem;
|
||||
margin: 0;
|
||||
padding: 0 2.4rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.wiki-category-edit .wiki-action-back {
|
||||
order: 10;
|
||||
}
|
||||
|
||||
.wiki-category-edit .wiki-action-preview {
|
||||
order: 20;
|
||||
}
|
||||
|
||||
.wiki-category-edit .wiki-action-save {
|
||||
order: 30;
|
||||
}
|
||||
|
||||
.wiki-category-edit .wiki-action-save-continue {
|
||||
order: 40;
|
||||
}
|
||||
|
||||
.wiki-category-edit .page-actions button[onclick*="translate-modal"] {
|
||||
order: 50;
|
||||
}
|
||||
|
||||
.wiki-category-tabs {
|
||||
display: grid;
|
||||
grid-template-columns: 24rem minmax(0, 1fr);
|
||||
gap: 2.4rem;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.wiki-category-tab-nav {
|
||||
overflow: hidden;
|
||||
border: 1px solid #adadad;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
.wiki-category-tab-nav-item + .wiki-category-tab-nav-item {
|
||||
border-top: 1px solid #d6d6d6;
|
||||
}
|
||||
|
||||
.wiki-category-tab-trigger {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 1.6rem 1.8rem;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: #303030;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.wiki-category-tab-trigger:hover,
|
||||
.wiki-category-tab-trigger:focus {
|
||||
background: #e3e3e3;
|
||||
color: #eb5202;
|
||||
}
|
||||
|
||||
.wiki-category-tab-nav-item._active .wiki-category-tab-trigger {
|
||||
position: relative;
|
||||
background: #fff;
|
||||
color: #eb5202;
|
||||
}
|
||||
|
||||
.wiki-category-tab-nav-item._active .wiki-category-tab-trigger::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 0.4rem;
|
||||
background: #eb5202;
|
||||
content: '';
|
||||
}
|
||||
|
||||
.wiki-category-tab-panels {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.wiki-category-tab-panel {
|
||||
min-height: 38rem;
|
||||
padding: 2.4rem;
|
||||
border: 1px solid #d6d6d6;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.wiki-category-tab-panel[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.wiki-category-tab-panel > .admin__fieldset {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.wiki-category-tab-panel .admin__control-text,
|
||||
.wiki-category-tab-panel .admin__control-textarea,
|
||||
.wiki-category-tab-panel .admin__control-select,
|
||||
.wiki-category-tab-panel .admin__control-multiselect {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.wiki-category-content-field > .admin__field-label {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin: 0 0 1.2rem;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.wiki-category-content-field > .admin__field-control {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wiki-category-content-field .admin__control-wysiwig,
|
||||
.wiki-category-content-field .tox-tinymce {
|
||||
width: 100% !important;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.wiki-category-tabs {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.wiki-category-tab-nav {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.wiki-category-tab-nav-item + .wiki-category-tab-nav-item {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.wiki-category-tab-panel {
|
||||
padding: 1.6rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user