Extract component for budget groups and headings
This commit is contained in:
committed by
Javi Martín
parent
45135bb87e
commit
16c582f282
29
app/assets/stylesheets/budgets/groups_and_headings.scss
Normal file
29
app/assets/stylesheets/budgets/groups_and_headings.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.groups-and-headings {
|
||||
|
||||
.heading {
|
||||
border: 1px solid $border;
|
||||
border-radius: rem-calc(3);
|
||||
display: inline-block;
|
||||
margin-bottom: $line-height / 2;
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: $line-height / 2;
|
||||
|
||||
&:hover {
|
||||
background: $highlight;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.heading-name {
|
||||
padding: $line-height / 2;
|
||||
}
|
||||
|
||||
span {
|
||||
color: $text;
|
||||
display: block;
|
||||
font-size: $small-font-size;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user