kopia lustrzana https://github.com/rtts/django-simplecms
main
rodzic
241e5af2d3
commit
84131e05db
|
@ -262,6 +262,11 @@ section.contact {
|
|||
/* Form elements */
|
||||
|
||||
form.cms {
|
||||
margin-bottom: 3em;
|
||||
div.wrapper {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-top: 3em;
|
||||
}
|
||||
|
@ -295,7 +300,7 @@ form.cms {
|
|||
div.formfield.error {
|
||||
border: 2px dotted red;
|
||||
padding: 10px;
|
||||
margin: 0 -10px;
|
||||
margin: 10px -10px;
|
||||
background: #f001;
|
||||
}
|
||||
div.formfield.required {
|
||||
|
|
|
@ -183,109 +183,97 @@ section.contact div#message {
|
|||
display: none; }
|
||||
|
||||
/* Form elements */
|
||||
form.cms section {
|
||||
margin-top: 3em; }
|
||||
|
||||
form.cms fieldset {
|
||||
padding: 2em;
|
||||
margin-bottom: 2em;
|
||||
border: 0.5px solid black;
|
||||
border-radius: 3px; }
|
||||
form.cms fieldset legend {
|
||||
font-size: 1.15em; }
|
||||
|
||||
form.cms div.formfield {
|
||||
margin-bottom: 10px;
|
||||
clear: both;
|
||||
box-sizing: border-box; }
|
||||
form.cms div.formfield.type, form.cms div.formfield.number, form.cms div.formfield.slug {
|
||||
width: 77%;
|
||||
clear: none;
|
||||
float: left; }
|
||||
form.cms div.formfield.number {
|
||||
width: 20%;
|
||||
float: right; }
|
||||
|
||||
form.cms div.formfield.error {
|
||||
border: 2px dotted red;
|
||||
padding: 10px;
|
||||
margin: 0 -10px;
|
||||
background: #f001; }
|
||||
|
||||
form.cms div.formfield.required div.label {
|
||||
font-weight: 700; }
|
||||
|
||||
form.cms div.label, form.cms label {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
margin-bottom: 2px; }
|
||||
|
||||
form.cms div.input {
|
||||
overflow: hidden; }
|
||||
|
||||
form.cms div.helptext, form.cms span.required {
|
||||
color: #666;
|
||||
font-size: 12px !important;
|
||||
font-weight: 400 !important; }
|
||||
|
||||
form.cms span.required {
|
||||
font-style: italic; }
|
||||
|
||||
form.cms input, form.cms select, form.cms textarea {
|
||||
background: white;
|
||||
color: black;
|
||||
border: 0.5px solid #ccc;
|
||||
border-radius: 3px;
|
||||
font-size: 1rem;
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 5px 8px;
|
||||
font-family: inherit; }
|
||||
|
||||
form.cms input[type=checkbox] {
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
vertical-align: middle; }
|
||||
|
||||
form.cms input[name$=title] {
|
||||
font-weight: bold; }
|
||||
|
||||
form.cms textarea {
|
||||
font-size: 1rem;
|
||||
height: 15em;
|
||||
line-height: 1.5; }
|
||||
|
||||
form.cms select {
|
||||
background: white;
|
||||
padding-left: 3px; }
|
||||
|
||||
form.cms ul.errorlist {
|
||||
margin: 0;
|
||||
margin-bottom: 1em;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
color: red;
|
||||
font-size: 12px; }
|
||||
form.cms ul.errorlist li {
|
||||
form.cms {
|
||||
margin-bottom: 3em; }
|
||||
form.cms div.wrapper {
|
||||
overflow: hidden; }
|
||||
form.cms section {
|
||||
margin-top: 3em; }
|
||||
form.cms fieldset {
|
||||
padding: 2em;
|
||||
margin-bottom: 2em;
|
||||
border: 0.5px solid black;
|
||||
border-radius: 3px; }
|
||||
form.cms fieldset legend {
|
||||
font-size: 1.15em; }
|
||||
form.cms div.formfield {
|
||||
margin-bottom: 10px;
|
||||
clear: both;
|
||||
box-sizing: border-box; }
|
||||
form.cms div.formfield.type, form.cms div.formfield.number, form.cms div.formfield.slug {
|
||||
width: 77%;
|
||||
clear: none;
|
||||
float: left; }
|
||||
form.cms div.formfield.number {
|
||||
width: 20%;
|
||||
float: right; }
|
||||
form.cms div.formfield.error {
|
||||
border: 2px dotted red;
|
||||
padding: 10px;
|
||||
margin: 10px -10px;
|
||||
background: #f001; }
|
||||
form.cms div.formfield.required div.label {
|
||||
font-weight: 700; }
|
||||
form.cms div.label, form.cms label {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
margin-bottom: 2px; }
|
||||
form.cms div.input {
|
||||
overflow: hidden; }
|
||||
form.cms div.helptext, form.cms span.required {
|
||||
color: #666;
|
||||
font-size: 12px !important;
|
||||
font-weight: 400 !important; }
|
||||
form.cms span.required {
|
||||
font-style: italic; }
|
||||
form.cms input, form.cms select, form.cms textarea {
|
||||
background: white;
|
||||
color: black;
|
||||
border: 0.5px solid #ccc;
|
||||
border-radius: 3px;
|
||||
font-size: 1rem;
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
form.cms div.global_error {
|
||||
border: 2px dotted red;
|
||||
padding: 10px;
|
||||
margin: 1em -10px;
|
||||
background: #f001;
|
||||
color: red;
|
||||
font-weight: bold; }
|
||||
form.cms div.global_error ul.errorlist {
|
||||
padding: 5px 8px;
|
||||
font-family: inherit; }
|
||||
form.cms input[type=checkbox] {
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
vertical-align: middle; }
|
||||
form.cms input[name$=title] {
|
||||
font-weight: bold; }
|
||||
form.cms textarea {
|
||||
font-size: 1rem;
|
||||
height: 15em;
|
||||
line-height: 1.5; }
|
||||
form.cms select {
|
||||
background: white;
|
||||
padding-left: 3px; }
|
||||
form.cms ul.errorlist {
|
||||
margin: 0;
|
||||
font-size: inherit; }
|
||||
|
||||
form.cms .errors {
|
||||
color: red;
|
||||
font-weight: bold; }
|
||||
margin-bottom: 1em;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
color: red;
|
||||
font-size: 12px; }
|
||||
form.cms ul.errorlist li {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
form.cms div.global_error {
|
||||
border: 2px dotted red;
|
||||
padding: 10px;
|
||||
margin: 1em -10px;
|
||||
background: #f001;
|
||||
color: red;
|
||||
font-weight: bold; }
|
||||
form.cms div.global_error ul.errorlist {
|
||||
margin: 0;
|
||||
font-size: inherit; }
|
||||
form.cms .errors {
|
||||
color: red;
|
||||
font-weight: bold; }
|
||||
|
||||
/*# sourceMappingURL=cms.scss.css.map */
|
File diff suppressed because one or more lines are too long
Ładowanie…
Reference in New Issue