Skip to content

Commit

Permalink
Button normalization (#1247)
Browse files Browse the repository at this point in the history
- fix(less): add some button normalization to fix appearance.
- fix(seadragon): prevent layered icons from breaking the First Directive.
  • Loading branch information
crhallberg authored Dec 10, 2024
1 parent 4697b9f commit 6c96669
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
&.disabled {
background-image: data-uri('../img/right_arrow_disabled.png');
}

& .uv-icon-next {
background-image: none;
}
}

&.next.vertical {
Expand All @@ -93,6 +97,13 @@
}
}
}


/* fixes out-of-scope iiif-tree and iiif-gallery icons */
&.prev .uv-icon-prev,
&.next .uv-icon-next {
background-image: none;
}
}

.zoomIn{
Expand Down Expand Up @@ -262,4 +273,4 @@
.openseadragon-canvas {
outline: none;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
line-height: inherit;
}

// Button normalization

button {
border: 0;
background-color: transparent;
}

// Links

a {
Expand Down

0 comments on commit 6c96669

Please sign in to comment.