diff --git a/web/viewer.css b/web/viewer.css index bd997567a..a35345e5e 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -51,7 +51,6 @@ --field-color: rgba(6, 6, 6, 1); --field-bg-color: rgba(255, 255, 255, 1); --field-border-color: rgba(187, 187, 188, 1); - --findbar-nextprevious-btn-bg-color: rgba(227, 228, 230, 1); --treeitem-color: rgba(0, 0, 0, 0.8); --treeitem-hover-color: rgba(0, 0, 0, 0.9); --treeitem-selected-color: rgba(0, 0, 0, 0.9); @@ -135,7 +134,6 @@ --field-color: rgba(250, 250, 250, 1); --field-bg-color: rgba(64, 64, 68, 1); --field-border-color: rgba(115, 115, 115, 1); - --findbar-nextprevious-btn-bg-color: rgba(89, 89, 89, 1); --treeitem-color: rgba(255, 255, 255, 0.8); --treeitem-hover-color: rgba(255, 255, 255, 0.9); --treeitem-selected-color: rgba(255, 255, 255, 0.9); @@ -433,6 +431,9 @@ select { .findbar > div { height: 32px; } +.findbar > div#findbarInputContainer { + margin-inline-end: 4px; +} .findbar.wrapContainers > div, .findbar.wrapContainers > div#findbarMessageContainer > * { clear: both; @@ -441,30 +442,6 @@ select { height: auto; } -.findbar .splitToolbarButton { - margin-top: 3px; - margin-inline: 0 5px; -} - -.findbar .splitToolbarButton > .toolbarButton { - background-color: var(--findbar-nextprevious-btn-bg-color); - border-radius: 0; - height: 26px; - border-top: 1px solid var(--field-border-color); - border-bottom: 1px solid var(--field-border-color); -} - -.findbar .splitToolbarButton > .toolbarButton::before { - top: 5px; -} - -.findbar .splitToolbarButton > .findNext { - width: 29px; - border-start-end-radius: 2px; - border-end-end-radius: 2px; - border-inline-end: 1px solid var(--field-border-color); -} - .findbar input[type="checkbox"] { pointer-events: none; } @@ -486,8 +463,6 @@ select { #findInput { width: 200px; - border-start-end-radius: 0; - border-end-end-radius: 0; } #findInput::-webkit-input-placeholder { color: rgba(191, 191, 191, 1); @@ -675,12 +650,6 @@ select { margin: 4px 0; } -.findbar .splitToolbarButtonSeparator { - background-color: var(--field-border-color); - margin: 0; - padding: 13px 0; -} - .toolbarButton, .dropdownToolbarButton, .secondaryToolbarButton, @@ -830,11 +799,11 @@ select { transform: scaleX(var(--dir-factor)); } -.toolbarButton.findPrevious::before { +#findPrevious.toolbarButton::before { mask-image: var(--findbarButton-previous-icon); } -.toolbarButton.findNext::before { +#findNext.toolbarButton::before { mask-image: var(--findbarButton-next-icon); } diff --git a/web/viewer.html b/web/viewer.html index d33a36855..c820ac244 100644 --- a/web/viewer.html +++ b/web/viewer.html @@ -118,11 +118,11 @@ See https://github.com/adobe-type-tools/cmap-resources