improve fieldset list layout and spacing

This commit is contained in:
2017-09-21 13:15:58 +02:00
parent 3a2190b232
commit cd93e17494
+23 -11
View File
@@ -35,7 +35,7 @@
.fieldsetIcon {
float: left;
padding: 0 4px 0 0;
padding: 0 10px 0 0;
color: #333;
vertical-align: text-bottom;
}
@@ -54,7 +54,6 @@
fieldset {
border-bottom: 1px dashed #dddddd;
padding: 0;
margin-bottom: 5px;
clear: both;
display: inline-block;
width: 100%;
@@ -93,10 +92,9 @@
.archetypeFieldsetLabel {
position: relative;
width: 100%;
min-height: 42px;
.label-sub {
padding: 8px 0 8px 0;
padding: 18px 0;
display: inline-block;
min-height: 20px; /* this makes the header clickable when there's no icon and no text */
&.module-label {
@@ -106,9 +104,9 @@
cursor: pointer;
label {
span {
text-decoration: underline;
}
// span {
// text-decoration: underline;
// }
&:hover {
cursor: pointer;
}
@@ -129,7 +127,7 @@
}
span {
font-weight: bold;
// font-weight: bold;
&.menu-label { font-weight: normal; }
}
@@ -165,12 +163,22 @@
float: none;
position: absolute;
right: 15px;
top: 0;
top: 50%;
margin-top: -15px;
padding: 0;
.icon {
color: #ddd;
padding: 2px;
display: inline-block;
height: 28px;
width: 28px;
line-height: 28px;
border-radius: 14px;
border: 1px solid #b6b6b6;
color: #5f5f5f;
background: white;
font-size: 16px;
text-align: center;
margin-left: 4px;
&:hover {
color: #333;
}
@@ -216,6 +224,7 @@
padding: 12px 0 0 20px;
background-color: #fff;
border-radius: 0 0 0 5px;
line-height: 20px;
form {
margin-left:20px;
@@ -275,6 +284,9 @@
list-style: none;
margin-left: 0;
}
li {
line-height: 0;
}
.show-validation.ng-invalid .control-group.error .control-label {
span {