mirror of
https://gitlab.com/parroquia-san-leandro/cancionero-web.git
synced 2026-01-28 13:07:58 +01:00
Move to less, improved style, fixed bugs
* Redirection wasn't being encoded properly * CSS to LESS transition * Improved Makefile * Explained red color in index * Unified link and button styles
This commit is contained in:
parent
67bedb49e4
commit
c7bca76c8c
15 changed files with 268 additions and 220 deletions
78
res/song.less
Normal file
78
res/song.less
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
@import "colors.less";
|
||||
|
||||
table.chordedline {
|
||||
border-spacing: 0px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.song div {
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
|
||||
.chordedline td {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.chord {
|
||||
font-style: italic;
|
||||
color: @chord-color;
|
||||
}
|
||||
|
||||
div.chorus {
|
||||
font-weight: bold;
|
||||
border-left: black 2px solid;
|
||||
padding-left: 0.5em;
|
||||
div {
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
table {
|
||||
margin-left: 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.rrep {
|
||||
background-image: url(repeat-sign.svg);
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
.lrep {
|
||||
-moz-transform: scaleX(-1);
|
||||
-o-transform: scaleX(-1);
|
||||
-webkit-transform: scaleX(-1);
|
||||
transform: scaleX(-1);
|
||||
filter: FlipV;
|
||||
-ms-filter: "FlipV";
|
||||
.rrep();
|
||||
}
|
||||
|
||||
.rep {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.echo {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
button, select#transposeSelect {
|
||||
min-width: 2em;
|
||||
min-height: 2em;
|
||||
padding: .4em;
|
||||
border-style: none;
|
||||
border-radius: @border-radius;
|
||||
background-color: @secondary;
|
||||
&:hover {
|
||||
background-color: @secondary-hover;
|
||||
transition-duration: @transition;
|
||||
}
|
||||
}
|
||||
|
||||
select#transposeSelect {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue