First proposition of label styling

Signed-off-by: Philippe Le Van <philippe.levan@kibatic.com>
This commit is contained in:
Philippe Le Van
2018-07-30 13:56:52 +02:00
committed by Julius Härtl
parent 2453f27284
commit 25fa1a0e69

View File

@@ -509,37 +509,28 @@ input.input-inline {
font-weight: normal; font-weight: normal;
font-size: 10pt; font-size: 10pt;
padding: 0; padding: 0;
margin: 5px; margin: 0 5px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
&.has-labels h4 {
margin-top: 15px;
}
.labels { .labels {
position: absolute; position: relative;
top: -5px; margin-left: 5px;
left: 10px;
li { li {
padding: 0; padding: 0 4px;
width: 15px; margin: 0 2px 1px 0;
height: 20px;
border-radius: 3px; border-radius: 3px;
font-size: 80%; font-size: 75%;
border: none transparent; border: none transparent;
float: left; float: left;
span { span {
display: none; display: inline-block;
} font-weight: bold;
&:hover span {
position: absolute;
padding: 3px;
background-color: inherit; background-color: inherit;
line-height: normal;
} }
} }
} }
@@ -1451,4 +1442,4 @@ body:not(.snapjs-left) {
#app-navigation-toggle-custom { #app-navigation-toggle-custom {
display: none; display: none;
} }
} }