diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-12 15:09:02 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-12 15:09:02 +0200 |
commit | 77293736e56eebd085f96415403732afa1110ff7 (patch) | |
tree | 7cb4068b3be89e03ac0ada32d27ec16c091067ad /chimere | |
parent | bcf57a6741430bd81c36c6b37d3ad99cf195c72a (diff) | |
download | Chimère-77293736e56eebd085f96415403732afa1110ff7.tar.bz2 Chimère-77293736e56eebd085f96415403732afa1110ff7.zip |
Bootstrap: XL size
Diffstat (limited to 'chimere')
-rw-r--r-- | chimere/static/chimere/css/styles.css | 14 | ||||
-rw-r--r-- | chimere/templatetags/bootstrap.py | 2 |
2 files changed, 10 insertions, 6 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css index ed66f57..a94a371 100644 --- a/chimere/static/chimere/css/styles.css +++ b/chimere/static/chimere/css/styles.css @@ -837,6 +837,7 @@ button{ } table.inline-table{ + margin-bottom: 0.5em; } table.inline-table td{ @@ -851,11 +852,6 @@ table.inline-table td input[type=checkbox]{ margin-right:auto; } -table.inline-table td input[type=text], -table.inline-table td input[type=file]{ - width:260px; -} - table.inline-table td input[type=file]{ border: 0 solid transparent; box-shadow: none; @@ -1903,3 +1899,11 @@ span#permalink, .navbar-nav .lbl, #areas-div label, #permalink, #simple_button, .main_category.full .main-category-tick{ color: #AA3333; } + + +.modal-dialog.modal-xl { + width: 80%; + padding: 0; + max-width: none; +} + diff --git a/chimere/templatetags/bootstrap.py b/chimere/templatetags/bootstrap.py index 1960355..1a392f9 100644 --- a/chimere/templatetags/bootstrap.py +++ b/chimere/templatetags/bootstrap.py @@ -22,7 +22,7 @@ def translate(text): @register.inclusion_tag('blocks/bootstrap-modal.html') def bootstrap_modal(winid, title="", content="", size="", edit=False): - if size not in ['large', 'small']: + if size not in ['xlarge', 'large', 'small']: size = "" context_data = { "id": winid, |