Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
&.on {
border: 1px solid @panel-border-color;
border-bottom: 1px solid @panel-dark-bg;
color: @brand-secondary;
color: @accent-text;
margin-bottom: -1px;
height: 25px;
line-height: 25px;
Expand Down Expand Up @@ -117,7 +117,8 @@
padding: 0 @padding-medium-horizontal 0 0;

.iiif-tree-component ul li a.selected {
color: @brand-primary !important;
color: @text-color !important;
background-color: @accent-bg !important;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
box-shadow: inset 0 0 10px #5a5a5a;

.label {
color: #fff;
color: @text-color;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,25 @@
text-transform: uppercase;
}

.label {
color: @text-muted;
border-bottom: 1px solid @panel-border-color;
}

.value {
color: @text-color;
}
}
}

.items .item a.toggle,
[data-uv-navigate] {
color: @link-secondary-color;
color: @link-color;
cursor: pointer;

&:hover {
text-decoration: underline;
color: @link-secondary-hover-color;
color: @link-hover-color;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
}
});
}


div[title="Previous page"] {
display: none !important;
Expand Down Expand Up @@ -258,7 +258,7 @@
cursor: pointer;

span {
color: #2a2a2a;
color: @panel-dark-bg;
user-select: none;
display: block;
width: 95%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
width: 41px;
font-size: @font-size-small;
overflow: hidden;
color: white;
color: @text-color;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

.label {
position: absolute;
color: #fff;
color: @text-color;
margin: 8px @margin-large-horizontal 0 @margin-large-horizontal;
min-width: 160px;

Expand Down Expand Up @@ -176,7 +176,7 @@
margin: 4px 0 0 0;

.label {
color: #fff;
color: @text-color;
font-weight: bold;
padding: 0 10px 0 0;
margin: 4px 0 0 0;
Expand Down Expand Up @@ -251,7 +251,7 @@

.searchResultsInfo {
margin: 4px 0 0 0;
color: #fff;
color: @text-color;
text-align: center;
font-size: 14px;
float: left;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.btn-warning &,
.btn-danger &,
.btn-info & {
border-top-color: #fff;
border-top-color: @btn-default-color;
}
}
.dropup {
Expand All @@ -30,7 +30,7 @@
.btn-danger,
.btn-info {
.caret {
border-bottom-color: #fff;
border-bottom-color: @btn-default-color;
}
}
}
Expand Down Expand Up @@ -249,4 +249,4 @@
display: none;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
}

.iiif-gallery-component {

.header {
.btn {
&.size-up,
Expand All @@ -189,7 +189,7 @@
.btn {
&.size-up,
&.size-down {
margin-top: 4px;
margin-top: 4px;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

margin-right: @margin-small-horizontal;

color: white;
color: @text-color;
font-size: 0;

&.moreInfo {
Expand All @@ -62,7 +62,7 @@
&.embed {
display: none;
}

&.fullScreen {
display: inline-block;
}
Expand All @@ -73,4 +73,4 @@

.uv.loaded .uv-iiif-extension-host {
background-color: #000;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@
&.active,
.open .dropdown-toggle& {
color: @color;
background-color: darken(@background, 8%);
border-color: darken(@border, 12%);
background-color: if((iscolor(@background)), darken(@background, 8%), @border);
border-color: if((iscolor(@border)), darken(@border, 12%), @border);
}
&:active,
&.active,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@

.overlay {
position: absolute;
color: @overlay-color;

input,
textarea {
width: 100%;
}

input,
select,
textarea {
padding: 2px;
color: black;
background-color: white;
border: 1px solid black;
}

[readonly] {
font-family: monospace;
background-color: #eee;
}

.top {
width: 100%;
Expand All @@ -30,7 +50,7 @@
width: 100%;
background: @overlay-bg;
overflow: hidden;
border: 1px solid rgba(0, 0, 0, 0.1);
border: 1px solid @overlay-border;

.share__section {
margin-block-end: 1.5em;
Expand Down Expand Up @@ -92,15 +112,13 @@
text-overflow: ellipsis;

h1 {
color: @headings-color;
font-size: @headings-size-large;
font-weight: @headings-font-weight;
margin: @margin-large-vertical 0px 0px 0px;
padding: 0 0 @padding-medium-vertical 0;
}

h2 {
color: @headings-color;
font-size: @headings-size-small;
font-weight: @headings-font-weight;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

.headerPanel {
position: relative;
color: #fff;
color: @text-color;
height: 40px;
}

Expand Down Expand Up @@ -318,4 +318,3 @@
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}

.thumbsView .thumbs .thumb.selected .wrap {
border: 2px solid white;
border: 2px solid @accent-text;
}

.thumbsView .thumbs .thumb.searchpreview .wrap {
Expand Down Expand Up @@ -355,4 +355,4 @@
// }
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,50 @@
// Exposed CSS variables
// --------------------------------------------------

@property --uv-color-canvas { syntax: "<color>"; }
@property --uv-color-text { syntax: "<color>"; }
@property --uv-color-text-muted { syntax: "<color>"; }

@property --uv-color-panel-bg { syntax: "<color>"; }
@property --uv-color-panel-border { syntax: "<color>"; }

@property --uv-color-overlay-bg { syntax: "<color>"; }
@property --uv-color-overlay-text { syntax: "<color>"; }
@property --uv-color-overlay-border { syntax: "<color>"; }

@property --uv-color-accent-bg { syntax: "<color>"; }
@property --uv-color-accent-text { syntax: "<color>"; }
@property --uv-color-link { syntax: "<color>"; }

@property --uv-color-btn-text { syntax: "<color>"; }
@property --uv-color-btn-bg { syntax: "<color>"; }
@property --uv-color-btn-border { syntax: "<color>"; }
@property --uv-color-btn-primary-text { syntax: "<color>"; }
@property --uv-color-btn-primary-bg { syntax: "<color>"; }
@property --uv-color-btn-primary-border { syntax: "<color>"; }

@body-bg: var(--uv-color-canvas, #000);
@text-color: var(--uv-color-text, #fff);
@text-muted: var(--uv-color-text-muted, #9a9a9a);

@panel-dark-bg: var(--uv-color-panel-bg, #212121);
@panel-border-color: var(--uv-color-panel-border, #212121);

@overlay-bg: var(--uv-color-overlay-bg, white);
@overlay-color: var(--uv-color-overlay-text, black);
@overlay-border: var(--uv-color-overlay-border, transparent);

@accent-bg: var(--uv-color-accent-bg, @brand-primary);
@accent-text: var(--uv-color-accent-text, @brand-primary);
@link-color: var(--uv-color-link, @accent-text);

@btn-default-color: var(--uv-color-btn-text, @text-color);
@btn-default-bg: var(--uv-color-btn-bg, @gray);
@btn-default-border: var(--uv-color-btn-border, @gray);

@btn-primary-color: var(--uv-color-btn-primary-text, #fff);
@btn-primary-bg: var(--uv-color-btn-primary-bg, @accent-bg);
@btn-primary-border: var(--uv-color-btn-primary-border, @accent-bg);

// Global values
// --------------------------------------------------
Expand Down Expand Up @@ -33,8 +80,8 @@
// Scaffolding
// -------------------------

@body-bg: #000;
@text-color: #fff;
// @body-bg: #000; See CSS Variables at top
// @text-color: #fff; See CSS Variables at top
@text-secondary-color: #000;
@text-tertiary-color: #949494;
@headings-color: #000;
Expand All @@ -43,8 +90,8 @@
// Links
// -------------------------

@link-color: #26b5cc;
@link-hover-color: lighten(@link-color, 10%);
// @link-color: #26b5cc; See CSS Variables at top
@link-hover-color: if((iscolor(@link-color)), lighten(@link-color, 10%), @text-color);
@link-secondary-color: @brand-secondary;
@link-secondary-hover-color: lighten(@link-secondary-color, 10%);

Expand Down Expand Up @@ -97,13 +144,14 @@

@btn-font-weight: normal;

@btn-default-color: #fff;
@btn-default-bg: @gray;
@btn-default-border: @gray;
// See CSS Variables at top
// @btn-default-color: #fff;
// @btn-default-bg: @gray;
// @btn-default-border: @gray;

@btn-primary-color: #fff;
@btn-primary-bg: @brand-primary;
@btn-primary-border: @brand-primary;
// @btn-primary-color: #fff;
// @btn-primary-bg: @brand-primary;
// @btn-primary-border: @brand-primary;

@btn-secondary-color: #fff;
@btn-secondary-bg: @brand-secondary;
Expand Down Expand Up @@ -135,9 +183,9 @@
// Panels
// -------------------------

@panel-dark-bg: #212121;
// @panel-dark-bg: #212121; See CSS Variables at top
@panel-light-bg: #dfdfdf;
@panel-border-color: #373737;
// @panel-border-color: #373737; See CSS Variables at top
@panel-border: none;
@panel-margin: 8px;

Expand Down Expand Up @@ -190,8 +238,8 @@
// -------------------------

@overlay-modal-bg: rgba(0, 0, 0, 0.5);
@overlay-bg: #fff;
@overlay-group-bg: #F5F5F5;
// @overlay-bg: #fff; see CSS Variables at top

// Miscellaneous
// -------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/uv.css

Large diffs are not rendered by default.