libreoffice-online/browser/css/device-desktop.css
Pedro Pinto Silva 9de01e11b6 Fixes Menu items hover color are inconsistent #6254
Fixes https://github.com/CollaboraOnline/online/issues/6254

Before this commit and with recent a11y changes generic btn hover
styles were bleeding out to multiple places where icon btns are present

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I3855d081595a2d3aa56e58137e21aba5d7bf8532
2023-04-28 16:46:34 +02:00

40 lines
1 KiB
CSS

/* CSS specific for desktop browsers. */
/* Related to selectionMarkers.css on formulabar*/
#tb_formulabar_item_formula .inputbar_selection_handles *{
background-size: 20px;
background-position-y: top;
width: 20px;
background-repeat: no-repeat;
margin-left: 1px !important;
transform: translateY(-12px);
}
#tb_formulabar_item_formula .inputbar_selection_handles .leaflet-selection-marker-start{
margin-left: -20px !important;
}
#coolwsd-version span:before,
#lokit-version > span:before {
content: ' (';
white-space: pre;
}
#coolwsd-version span:after,
#lokit-version > span:after {
content: ')';
}
/* btns hover status
Rules not intended for touch devices */
.button-secondary:hover,
button:not(.ui-corner-all):not(.button-primary):not(.unobutton):hover {
cursor: pointer;
color: var(--color-text-darker) !important;
background-color: var(--color-background-lighter) !important;
border: 0px solid var(--color-border-darker);
}
.button-primary:hover {
background-color: var(--color-primary-lighter);
color: var(--color-primary-dark);
}