fix css scroll issue

readwriteweb
Jaap Joris Vens 2019-07-08 14:35:29 +02:00
rodzic f7e4b1066d
commit caa04922b7
4 zmienionych plików z 10 dodań i 32 usunięć

Wyświetl plik

@ -106,7 +106,7 @@ class Config(models.Model):
]
parameter = models.PositiveIntegerField(choices=TYPES, unique=True)
content = RichTextField('Inhoud', blank=True)
content = RichTextField(_('content'), blank=True)
def __str__(self):
return "{}. {}".format(self.parameter, self.get_parameter_display())

Wyświetl plik

@ -78,6 +78,7 @@ nav {
ul#menu {
position: fixed;
overflow-y: auto;
z-index: 1;
margin: 0;
padding: 0;

Wyświetl plik

@ -37,7 +37,6 @@ header, section, footer {
nav ul#menu li a:hover, nav ul#menu li a.current {
transform: scale(1.2);
transform-origin: bottom; } }
@media (max-width: 500px) {
nav button#hamburger {
position: absolute;
@ -54,6 +53,7 @@ header, section, footer {
outline: none !important; }
nav ul#menu {
position: fixed;
overflow-y: auto;
z-index: 1;
margin: 0;
padding: 0;
@ -102,11 +102,9 @@ a.edit {
article section div.image img {
width: 100%; }
article section div.title {
font-size: 2em;
text-align: center; }
article section div.video div.iframe {
width: 100%;
padding-bottom: 56%;
@ -117,7 +115,6 @@ article section div.video div.iframe {
height: 100%;
left: 0;
top: 0; }
article section div.button {
text-align: center; }
article section div.button a {
@ -137,7 +134,6 @@ form div.global_error {
background: #f001;
color: red;
font-weight: bold; }
form fieldset {
padding: 2em;
margin-bottom: 2em;
@ -145,43 +141,33 @@ form fieldset {
border-radius: 3px; }
form fieldset legend {
font-size: 1.15em; }
form div.formfield {
margin: 5px 0;
padding: 10px 0;
font-size: 0; }
form div.formfield > * {
font-size: 1rem; }
form div.formfield.error {
border: 2px dotted red;
padding: 10px;
margin: 0 -10px;
background: #f001; }
form div.formfield.required div.label {
font-weight: 700; }
form div.formfield.required input, form div.formfield.required select, form div.formfield.required textarea {
border: 1px solid black; }
form div.label {
font-size: 0.8rem;
font-weight: 400; }
form div.input {
overflow: hidden;
margin: 5px 0; }
form div.helptext, form span.required {
color: #666;
font-size: 12px !important;
font-weight: 400 !important; }
form span.required {
font-style: italic; }
form input, form select, form textarea {
background: white;
color: black;
@ -192,27 +178,21 @@ form input, form select, form textarea {
box-sizing: border-box;
margin: 0;
padding: 5px; }
form div.django-ckeditor-widget {
display: block !important; }
form div.cke_chrome {
box-sizing: border-box !important;
border: 1px solid #aaa !important; }
form input[type=checkbox] {
width: auto; }
form select {
background: white; }
form div.filefield {
border: 1px solid #aaa;
background: white;
padding: 4px; }
form div.filefield input {
border: none; }
form ul.errorlist {
margin: 0;
margin-bottom: 1em;
@ -223,9 +203,8 @@ form ul.errorlist {
form ul.errorlist li {
margin: 0;
padding: 0; }
form .errors {
color: red;
font-weight: bold; }
/*# sourceMappingURL=cms.scss.css.map */
/*# sourceMappingURL=cms.scss.css.map */

File diff suppressed because one or more lines are too long