Parcourir la source

Ticket #4769 - Classes: Minor layout issues.

AntonLV il y a 2 ans
Parent
commit
8dd06b71e3

+ 1 - 5
modules/boonex/artificer/data/template/system/css/forms.css

@@ -19,14 +19,10 @@ import url(../../../../../../../template/css/forms.css);
     padding-top:0; 
 }
 
-.bx-form-advanced-wrapper .bx-form-section-wrapper:last-child .bx-form-section-content {
+.bx-form-advanced-wrapper .bx-form-section-divider:last-child .bx-form-section-content {
     padding-bottom:0;
 }
 
-.bx-form-advanced-wrapper .bx-form-section-wrapper:first-child .bx-form-row-view-wrapper:first-child {
-    padding-top:0;
-}
-
 .bx-form-input-wrapper-pgc {
     position: relative;
 }

+ 1 - 1
modules/boonex/classes/template/classes_in_context.html

@@ -43,5 +43,5 @@
 </script>
 </bx_if:edit_modules>
 <template id="bx-classes-tmpl-btn">
-    <a href="#" class="bx-btn bx-btn-small bx-classes-module-action bx-def-margin-sec-left" data-action="{action}" data-val="{data}"><i class="sys-icon {icon}"></i></a>
+    <a href="#" class="bx-btn bx-btn-small bx-classes-module-action bx-def-margin-sec-right" data-action="{action}" data-val="{data}"><i class="sys-icon {icon}"></i></a>
 </template>

+ 8 - 0
modules/boonex/classes/template/css/main.css

@@ -10,6 +10,14 @@
     min-height:1rem;
 }
 
+.bx-course-classes .bx-form-section-title .bx-form-section-toggler {
+    display: none;
+}
+
+.bx-course-classes .bx-form-section-title .bx-classes-module-action:last-child {
+    margin-right: 1.5rem;
+}
+
 .bx-course-classes .bx-classes-placeholder:not(:first-child),
 .bx-course-classes .bx-classes-class:not(:first-child) {
     margin-top:1rem;

+ 1 - 5
template/css/forms.css

@@ -16,14 +16,10 @@
     padding-top:0; 
 }
 
-.bx-form-advanced-wrapper .bx-form-section-wrapper:last-child .bx-form-section-content {
+.bx-form-advanced-wrapper .bx-form-section-divider:last-child .bx-form-section-content {
     padding-bottom:0;
 }
 
-.bx-form-advanced-wrapper .bx-form-section-wrapper:first-child .bx-form-row-view-wrapper:first-child {
-    padding-top:0;
-}
-
 .bx-form-section-wrapper {
     position:relative;
 }