Commit 4d72e576 authored by Ale's avatar Ale

sass: More minor adjustments

parent 942a08f1
This diff is collapsed.
......@@ -127,6 +127,7 @@ const show_all_timeline_items = function()
var posts = document.querySelectorAll('.timeline-item');
posts.forEach( post => {
post.classList.remove('hidden');
post.classList.remove('selected');
});
const markers = document.querySelectorAll('.leaflet-marker-icon');
markers.forEach(marker => {
......
......@@ -463,6 +463,9 @@ select:hover {
margin-top: 0.8rem;
font-size: 1.4rem; }
.collapsed .legend__help {
display: none; }
.legend__label {
font-size: 1.6rem;
margin: 0;
......@@ -600,8 +603,10 @@ select:hover {
background: white;
margin-bottom: 3.2rem;
padding-bottom: 3.2rem; }
.timeline-item:not(:last-child) {
.timeline-item:not(:last-child):not(.selected) {
border-bottom: 2px solid #43AD36; }
.timeline-item:hover {
cursor: pointer; }
.timeline-item > a {
display: block; }
......@@ -641,6 +646,12 @@ select:hover {
text-transform: capitalize;
opacity: 0.75; }
.timeline-item.selected::after {
content: "Pulsa en cualquier lugar del mapa para deseleccionar este elemento";
font-size: 1.6rem;
position: relative;
top: 3.2rem; }
.form__field {
margin-bottom: 3.2rem; }
......
This diff is collapsed.
......@@ -16,6 +16,9 @@
margin-top: $m/2
font-size: 1.4rem
.collapsed .legend__help
display: none
.legend__label
font-size: 1.6rem
margin: 0
......
......@@ -6,8 +6,10 @@
background: white
margin-bottom: $m*2
padding-bottom: $m*2
&:not(:last-child)
&:not(:last-child):not(.selected)
border-bottom: 2px solid $green
&:hover
cursor: pointer
.timeline-item > a
display: block
.timeline-item__name
......@@ -31,3 +33,9 @@
font-size: 1.4rem
text-transform: capitalize
opacity: .75
.timeline-item.selected::after
content: "Pulsa en cualquier lugar del mapa para deseleccionar este elemento"
font-size: 1.6rem
position: relative
top: $m*2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment