From f607a68bd04f30ff357af30cff6af00fb57ad180 Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Tue, 20 Oct 2020 11:07:56 +0200 Subject: [PATCH] villejuif: add more classes for forms widgets (#47870) --- static/villejuif/_custom.scss | 67 +++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/static/villejuif/_custom.scss b/static/villejuif/_custom.scss index 7e22d707..84fd9ff4 100644 --- a/static/villejuif/_custom.scss +++ b/static/villejuif/_custom.scss @@ -334,3 +334,70 @@ div#toplinks a { .gru-content #columns > .cell[class*="grid-"] { padding-right: 0px; } + +div.radio-inline { + overflow: hidden; +} + +div.radio-inline div.content { + float: left; + clear: none; +} + +div.radio-inline div.content label { + float: left; + clear: none; + display: block; + padding: 0; + margin-right: 0.5em; +} + +div.radio-inline div.content br { + display: none; +} + +div.radio-inline div.content input[type="checkbox"], input[type="radio"] { + margin-right: 0.2em; + margin-top: 0.2em; +} + +div.CheckboxesWidget.vjf-hidden, div.CheckboxesWidget.hidden { + display: none; +} + +span.bold { + font-weight: bold; +} + +div.ateliers div.atelier { + clear: both; + overflow: hidden; + max-width: 46%; + margin: 0 1% 20px 1%; + border-left: 4px solid $primary-color; + border-top: 4px solid $primary-color; + display: inline-block; + min-height: 350px; +} + +div.ateliers div.code { + float: left; + background-color: $primary-color; + color: #ffffff; + padding: 12px; + font-weight: bold; + margin-right: 10px; +} + +div.ateliers div.atelier div.atelier-title { + min-height: 44px; + padding-left: 10px; +} + +div.ateliers div.atelier div.atelier-content { + margin-left: 10px; +} + +div.ateliers div.atelier div.atelier-content ul { + padding-left: 10px; +}