mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
split sass sheets, move style cascades
This commit is contained in:
@@ -1,35 +1,22 @@
|
||||
@import '~ChillMainAssets/module/bootstrap/bootstrap';
|
||||
@import '~ChillMainAssets/chill/scss/mixins';
|
||||
|
||||
section.chill-entity {
|
||||
// have no effect for render label, row, bloc
|
||||
display: inline;
|
||||
|
||||
&.entity-person {
|
||||
div.entity-label {
|
||||
div.denomination {
|
||||
&.h3 {
|
||||
font-size: 1.3em;
|
||||
font-weight: 700;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
span.firstname, span.lastname, span.altname {}
|
||||
span.badge {
|
||||
margin-left: 0.3em;
|
||||
}
|
||||
section.chill-entity.entity-person {
|
||||
div.entity-label {
|
||||
div.denomination {
|
||||
&.h3 {
|
||||
font-size: 1.3em;
|
||||
font-weight: 700;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
span.firstname, span.lastname, span.altname {}
|
||||
span.badge {
|
||||
margin-left: 0.3em;
|
||||
}
|
||||
p.moreinfo {}
|
||||
}
|
||||
div.entity-row {}
|
||||
div.entity-bloc {}
|
||||
}
|
||||
|
||||
// don't break flex cascade with section tag
|
||||
div.flex-bloc & {
|
||||
display: flex;
|
||||
flex-grow: 1; flex-shrink: 1; flex-basis: auto;
|
||||
p.moreinfo {}
|
||||
}
|
||||
div.entity-row {}
|
||||
div.entity-bloc {}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user