Files
grecia/app/assets/stylesheets/annotator_overrides.scss
Javi Martín 2ccf725815 Add properties-alphabetical-order Stylelint rule
We hadn't added this rule before because there was no such rule in
scss-lint. Instead, we were following it without a linter, and so we
unintentionally broke it sometimes.

But now we're using Stylelint, so we can add the rule and let the linter
check we're still following it.
2024-07-22 17:34:08 +02:00

57 lines
914 B
SCSS

// Overrides styles of annotator.min
//
.annotator-adder {
background-image: image-url("annotator_adder.png");
margin-top: -52px;
}
.annotator-hl {
background: rgba(255, 249, 218, 0.75);
cursor: pointer;
&.weight-1 {
background: hsla(50, 100%, 93%, 0.5);
.weight-1 {
background: hsla(50, 100%, 93%, 0.75);
}
}
&.weight-2 {
background: hsla(63, 78%, 86%, 0.5);
.weight-2 {
background: hsla(63, 78%, 86%, 0.75);
}
}
&.weight-3 {
background: hsla(52, 100%, 85%, 0.5);
.weight-3 {
background: hsla(52, 100%, 85%, 0.75);
}
}
&.weight-4 {
background: hsla(51, 91%, 75%, 0.5);
.weight-4 {
background: hsla(51, 91%, 75%, 0.75);
}
}
&.weight-5 {
background: hsla(46, 83%, 60%, 0.5);
.weight-5 {
background: hsla(46, 83%, 60%, 0.5);
}
}
}
.current-annotation {
text-decoration: underline;
}