mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
API Full-width HTMLEditorField by default
This commit is contained in:
parent
abad856534
commit
30b53e65fe
@ -265,6 +265,9 @@ input.radio { margin-left: 0; }
|
|||||||
.optionset.field { padding-top: 0; }
|
.optionset.field { padding-top: 0; }
|
||||||
|
|
||||||
/** ---------------------------------------------------- HTML Text ---------------------------------------------------- */
|
/** ---------------------------------------------------- HTML Text ---------------------------------------------------- */
|
||||||
|
.htmleditor label { display: block; float: none; padding-bottom: 10px; }
|
||||||
|
.htmleditor .middleColumn { margin-left: 0px; clear: left; }
|
||||||
|
.htmleditor .description { margin-left: 0px; }
|
||||||
.htmleditor textarea { visibility: hidden; }
|
.htmleditor textarea { visibility: hidden; }
|
||||||
.htmleditor .mceEditor input, .htmleditor .mceEditor select { width: auto; }
|
.htmleditor .mceEditor input, .htmleditor .mceEditor select { width: auto; }
|
||||||
.htmleditor label.left { padding-bottom: 4px; }
|
.htmleditor label.left { padding-bottom: 4px; }
|
||||||
|
@ -153,20 +153,7 @@ form.nostyle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
form.stacked .field, .field.stacked {
|
form.stacked .field, .field.stacked {
|
||||||
label {
|
@include form-field-stacked;
|
||||||
display: block;
|
|
||||||
float: none;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.middleColumn {
|
|
||||||
margin-left: 0px;
|
|
||||||
clear: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
|
||||||
margin-left: 0px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form.small .field, .field.small {
|
form.small .field, .field.small {
|
||||||
@ -649,6 +636,8 @@ input.radio {
|
|||||||
|
|
||||||
.htmleditor {
|
.htmleditor {
|
||||||
|
|
||||||
|
@include form-field-stacked;
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
visibility: hidden; // enabled by JS
|
visibility: hidden; // enabled by JS
|
||||||
}
|
}
|
||||||
|
@ -117,6 +117,26 @@
|
|||||||
transition-duration: $time;
|
transition-duration: $time;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//** ----------------------------------------------------
|
||||||
|
// * Show label and field content in their own lines,
|
||||||
|
// * to maximize the available horizontal space.
|
||||||
|
// * ----------------------------------------------------- */
|
||||||
|
@mixin form-field-stacked {
|
||||||
|
label {
|
||||||
|
display: block;
|
||||||
|
float: none;
|
||||||
|
padding-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.middleColumn {
|
||||||
|
margin-left: 0px;
|
||||||
|
clear: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*Mixin used to generate slightly smaller text and forms
|
/*Mixin used to generate slightly smaller text and forms
|
||||||
Used in side panels and action tabs
|
Used in side panels and action tabs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user