From 367d3c5988064f93276fc5791e5d956b049be1bd Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 17 Apr 2018 18:13:57 +0200 Subject: [PATCH] [ue.manage][scss.container.list] fuckin' layout pseudo~fix~~~ --- webpack/component/ue/manage.vue | 14 +++++--------- webpack/scss/container/list.scss | 14 ++++++++++---- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/webpack/component/ue/manage.vue b/webpack/component/ue/manage.vue index e77aad4..7adca42 100644 --- a/webpack/component/ue/manage.vue +++ b/webpack/component/ue/manage.vue @@ -11,9 +11,8 @@
- +
enseignant
-
volume horaire
formations
@@ -33,7 +32,7 @@ @@ -64,8 +63,7 @@ -
CM
-
{{ c.volume }} heures
+
{{ c.volume }}
{{ gstore.form_by_id(f).labelForm || '???' }} @@ -103,8 +101,7 @@ -
TD
-
{{ td.volume }} heures
+
{{ td.volume }}
{{ gstore.form_by_id(f).labelForm || '???' }} @@ -142,8 +139,7 @@ -
TP
-
{{ tp.volume }} heures
+
{{ tp.volume }}
{{ gstore.form_by_id(f).labelForm || '???' }} diff --git a/webpack/scss/container/list.scss b/webpack/scss/container/list.scss index 9884b13..eb0783d 100644 --- a/webpack/scss/container/list.scss +++ b/webpack/scss/container/list.scss @@ -43,11 +43,15 @@ /* (1.1) Element item */ & > div:not(.icon), + & > select, & > input{ - flex: 1 1 0; + flex: 0 1 30%; // fix - &.taglist{ margin: 0; } + &.taglist{ + margin: 0; + margin-left: 1.5em; + } } /* (1.2) Hover animation */ @@ -69,7 +73,7 @@ /* (1.3) Select elements*/ & > select{ - display: inline-block; + display: block; position: relative; height: 1.8em; @@ -93,7 +97,7 @@ -moz-appearance: none; appearance: none; - flex: 0 1 20em; + // flex: 0 1 15em; &.min{ flex: 0 1 5em; } @@ -132,6 +136,8 @@ background-image: url('/asset/svg/cross.svg@aaaaaa'); &:hover{ background-image: url('/asset/svg/cross.svg@#{$rd-form-invalid-color}'); } } + + &.hidden{ background: transparent; } } }