django-simplecms/cms/static/cms/admin.scss.css

141 wiersze
3.4 KiB
CSS

html, body {
font-family: Merriweather, sans-serif;
line-height: 2;
margin: 0;
padding: 0; }
div.edit {
position: fixed;
right: 1em;
bottom: 1em;
z-index: 1000; }
div.edit button {
padding: 0;
outline: none;
background: none;
border: none; }
div.edit img {
width: 75px !important;
height: auto; }
/* Form elements */
form.cms {
background: #bfb;
overflow: hidden;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center; }
form.cms div.wrapper {
max-width: none;
flex: 0 1 640px;
padding: 0 0.5em; }
form.cms fieldset {
background: #fff6;
border: 0.5px solid #ccc;
clear: both;
margin: 0.5em 0;
margin-top: 0.25em;
padding: 0.25em 0.5em;
padding-top: 0;
border-radius: 0.25em; }
form.cms img {
display: block;
clear: both;
width: 50px;
cursor: pointer; }
form.cms div.formfield {
margin: 0.25em 0;
overflow: hidden;
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;
margin-top: 0; }
form.cms div.formfield.number {
width: 20%;
float: right; }
form.cms div.formfield.title {
font-weight: 700; }
form.cms div.formfield.error {
border: 2px dotted red;
border-radius: 3px;
padding: 0.5em;
margin-top: 0.5em;
background: #f001; }
form.cms div.formfield.error select, form.cms div.formfield.error input, form.cms div.formfield.error textarea {
background: white; }
form.cms div.formfield div.label, form.cms div.formfield label {
font-size: 0.7rem;
font-weight: 400;
text-align: left;
margin-bottom: 2px; }
form.cms div.formfield div.input {
overflow: hidden; }
form.cms div.formfield div.helptext {
color: #666;
font-size: 12px !important;
font-weight: 400 !important; }
form.cms input, form.cms select, form.cms textarea {
height: 32px;
background: #fff6;
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;
font-weight: inherit; }
form.cms input[type=checkbox] {
width: auto;
display: inline-block;
vertical-align: middle; }
form.cms textarea {
line-height: 1.5;
overflow-y: hidden; }
form.cms select {
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 {
margin: 0;
padding: 0; }
form.cms div.global_error {
border: 2px dotted red;
border-radius: 3px;
padding: 10px;
margin: 0.5em 0;
background: #f001;
color: red;
font-weight: 700; }
form.cms div.global_error ul.errorlist {
margin: 0;
font-size: inherit; }
form.cms .errors {
color: red;
font-weight: 700; }
@font-face {
font-family: 'Merriweather';
font-style: normal;
font-weight: 300;
src: url("Merriweather_300.woff2") format("woff2"); }
@font-face {
font-family: 'Merriweather';
font-style: normal;
font-weight: 700;
src: url("Merriweather_700.woff2") format("woff2"); }
/*# sourceMappingURL=admin.scss.css.map */