libreoffice-online/browser/css/jsdialogs.css
Szymon Kłos fb79675c0f jsdialog: simplify intert hyperlink dialog
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I44bae5fd01a6d4c099af46742eb2069b5b6db7ab
2023-09-11 09:48:25 +02:00

1680 lines
No EOL
37 KiB
CSS

/* JSDialog */
.jsdialog-overlay {
-webkit-animation: vex-fadein .5s;
animation: vex-fadein .5s;
position: absolute;
background: transparent;
top: 0;
right: 0;
bottom: 0;
left: 0;
max-width: 100%;
max-height: 100%;
z-index: 2000;
display: flex;
}
.jsdialog-overlay.cancellable {
-webkit-animation: none;
animation: none;
}
.jsdialog-overlay.dimmed {
background: #1c5fa814;
}
.lokdialog_container.ui-dialog.ui-widget-content.modalpopup,
.jsdialog-window.modalpopup {
z-index: 2001;
}
.jsdialog-window {
position: absolute;
z-index: 1105;
}
.jsdialog-container {
position: absolute;
}
.jsdialog-window:not(.modalpopup) .jsdialog-container:not(.snackbar) {
min-width: 400px;
}
.jsdialog.one-child-popup {
border: 0;
margin: 0 !important;
}
.jsdialog-window.modalpopup:not(.snackbar) {
min-width: 198px;
max-width: 498px;
border: 1px solid var(--color-border-darker) !important;
border-radius: var(--border-radius);
box-shadow: 0 0 3px var(--color-border-darker);
overflow: auto;
position: relative;
margin: auto;
max-height: calc(100% - 30px);
}
/* Overwrite .jsdialog-window.modalpopup width */
#modal-dialog-about-dialog-box {
max-width: 94%;
width: 754px;
}
.jsdialog-window.modalpopup .jsdialog-container {
position: relative;
}
.jsdialog-container .ui-dialog-titlebar {
background-color: var(--color-background-lighter);
}
.jsdialog-container .ui-dialog-content {
background-color: var(--color-background-lighter) !important;
font-family: var(--jquery-ui-font);
line-height: 1.5;
}
.jsdialog-container .lokdialog.ui-dialog-content.ui-widget-content {
overflow: hidden;
}
.jsdialog.vertical label, .ui-frame-label {
margin: auto 0px;
color: var(--color-main-text);
font-size: var(--default-font-size);
line-height: var(--default-height);
padding-left: inherit;
}
#glowframe > div.ui-frame.jsdialog.sidebar > label,
#softedgeframe > div.ui-frame.jsdialog.sidebar > label {
color: var(--color-main-text);
font-size: var(--header-font-size);
line-height: var(--header-height);
margin: 4px;
}
#accessibilityCheckBox .jsdialog.ui-text {
margin: 0;
padding-inline-end: 112px;
color: var(--color-main-text);
font-size: var(--default-font-size);
text-transform: none;
}
*:not(.modalpopup) > .lokdialog_container.ui-dialog.ui-widget-content, .autofilter-container {
border: 1px solid var(--color-border-darker);
-webkit-box-shadow: 0 0 3px var(--color-border-darker);
box-shadow: 0 0 3px var(--color-border-darker);
border-radius: var(--border-radius);
background: var(--color-background-darker);
}
.jsdialog.ui-separator.vertical {
height: 100%;
padding-right: 6px;
/* border-right: 1px dashed #888; */
background-image: linear-gradient(#888 22%, rgba(255,255,255,0) 0%);
background-position: right center;
background-size: 1px 14px;
background-repeat: repeat-y;
box-shadow: inset 0 34px 0 0 white;
}
.jsdialog.ui-separator.horizontal {
padding-bottom: 6px;
}
.jsdialog.row {
display: table-row;
}
.jsdialog.cell {
display: table-cell;
vertical-align: middle;
}
.jsdialog.vertical:not(.sidebar) {
width: 100%;
}
th.jsdialog:not(:first-child) {
padding-inline-end: 24px;
}
th.jsdialog {
text-align: start;
}
.jsdialog.vertical:not([id^='table-dialog-action_area']) > .jsdialog.row,
td.jsdialog > [id^='table-box']:not(.sidebar) {
display: table;
width: 100%;
}
.jsdialog.ui-alignment {
margin: 0px;
display: block;
}
.jsdialog.ui-grid {
border-spacing: 0px;
width: 100%;
display: grid;
grid-gap: 4px;
}
/* Find and replace dialog */
#search_grid, #replace_grid {
grid-template-columns: minmax(100px, min-content) auto !important;
}
#searchframe input[type='checkbox'] {
margin-inline-start: 0;
}
/* keep structure with hidden elements correct */
.ui-grid > .hidden {
visibility: hidden;
display: initial !important;
/* don't occupy space showing empty area */
width: 0px !important;
height: 0px !important;
margin: 0px !important;
padding: 0px !important;
}
/* Page number dialog placed under Insert menu */
#PageNumberDialog #rightVBox,
#PageNumberDialog #leftVBox {
display: flex;
flex-direction: column;
margin: 5px;
}
/* Scrollwindow - used eg. in accessibility check in writer */
.jsdialog.ui-scrollwindow:not(.formulabar) {
overflow: auto;
max-height: 500px;
max-width: 700px;
width: max-content;
}
/* AccessibilityCheckDialog hack to prevent huge height in Firefox */
#AccessibilityCheckDialog .cell {
vertical-align: unset !important;
}
/* Tabs */
.ui-tabs-content.jsdialog {
display: grid;
}
.ui-tabs-content.jsdialog > .ui-content {
grid-row: 1;
grid-column: 1;
display: flex;
justify-items: stretch;
align-items: stretch;
}
.ui-tabs-content.jsdialog > .ui-content.hidden {
display: inherit !important;
visibility: hidden;
}
.ui-tabpage.jsdialog {
width: 100%;
height: 100%;
}
.ui-tab.jsdialog {
float: left !important;
font-size: var(--default-font-size) !important;
font-family: var(--cool-font) !important;
line-height: normal !important;
color: dimgray !important;
color: var(--color-text-dark) !important;
height: 24px !important;
display: flex !important;
align-items: center !important;
padding: 0px 1em !important;
border: solid 1px transparent !important;
border-radius: var(--border-radius) !important;
background-color: var(--color-main-background) !important;
margin-inline-end: 12px !important;
margin-bottom: 6px;
}
.ui-tab.hidden.jsdialog {
visibility: hidden !important;
}
.ui-tab.selected.jsdialog {
background-color: var(--color-background-lighter) !important;
color: var(--color-text-darker) !important;
box-shadow: 0 0 2px 1px var(--color-box-shadow) !important;
}
.ui-tab.jsdialog:not(.selected):hover {
cursor: pointer !important;
background-color: var(--color-background-darker) !important;
color: var(--color-text-darker) !important;
}
/* Expander */
.jsdialog.ui-expander {
box-shadow: 0 1px 0px 0 var(--color-border-lighter);
}
#options.ui-expander {
margin-top: 8px;
}
.ui-expander-label {
color: #666;
}
.ui-expander-label::before,
.ui-treeview-expandable.collapsed > .ui-treeview-expander::before {
display: inline-block;
content: 'V';
color: transparent;
margin-inline-end: 7px;
background: transparent url('images/lc_menu_chevron.svg') no-repeat center right;
filter: brightness(0.5);
}
.ui-expander-label.expanded::before,
.ui-treeview-expandable:not(.collapsed) > .ui-treeview-expander::before {
content: 'V';
color: transparent;
margin-inline-end: 7px;
transform: rotate(90deg);
background: transparent url('images/lc_menu_chevron.svg') no-repeat center;
filter: brightness(0.5);
}
[data-theme='dark'] .ui-expander-label::before,
[data-theme='dark'] .ui-treeview-expandable > .ui-treeview-expander::before {
filter: brightness(1);
}
.ui-treeview-expandable > .ui-treeview-expander::before {
margin-inline-end: 7px !important;
display: inline-block;
position: relative !important;
}
.ui-treeview-header-sort-icon::after {
content: '\25BC';
margin-inline-start: 7px;
display: none;
}
.ui-treeview-header-sort-icon.up::after {
transform: rotate(180deg);
display: inline-block;
}
.ui-treeview-header-sort-icon.down::after {
display: inline-block;
}
.ui-listview-icon {
height: var(--btn-size);
width: var(--btn-size);
margin-inline-end: 8px;
}
.ui-expander-label.expanded {
padding-left: 14px; /*adding extra padding to account for image absolute position*/
color: #444;
}
.ui-expander-content.expanded {
display: block;
}
.ui-expander-content:not(.expanded) {
display: none;
}
.ui-expander:hover {
cursor: pointer;
}
.ui-expander-content > .root-container.jsdialog {
margin: 4px;
}
/* TreeView */
.ui-treeview {
display: block;
border: 1px solid var(--color-border);
border-radius: var(--border-radius);
overflow-y: auto;
overflow-x: hidden;
max-width: 1000px;
min-width: 150px;
padding: 1px;
padding-inline-end: 3px;
}
.ui-treeview.disabled {
background-color: var(--color-background-dark) !important;
color: var(--color-text-lighter) !important;
}
.ui-treeview-body,
#custom_animation_label_parent {
color: var(--color-main-text);
font-size: var(--default-font-size);
line-height: var(--default-height);
display: block;
min-height: 100px;
min-width: 100px;
max-height: 150px;
width: 100%;
}
.ui-treeview.empty .ui-treeview-body {
color: var(--color-text-lighter);
}
.ui-treeview-cell.with-sub-dialog {
cursor: context-menu;
}
.ui-treeview-expandable.collapsed + ul {
display: none;
}
.ui-treeview-body > ul {
margin: 0;
padding: 0;
}
.ui-treeview-body ul {
list-style-type: none;
}
.ui-treeview-entry {
display: flex;
width: 100%;
}
.ui-treeview-entry:not(.autofilter) {
padding-inline-start: 2px;
margin-inline-end: 2px;
background-color: var(--color-background-lighter);
}
.ui-treeview.disabled .ui-treeview-entry:not(.autofilter) {
background-color: var(--color-background-dark);
}
input[type='checkbox'].autofilter, .jsdialog input[type='checkbox'] {
-webkit-appearance: none;
-moz-appearance: none;
-o-appearance: none;
appearance: none;
width: 20px;
height: 20px;
background: url('images/lc_checkboxoff.svg') no-repeat center;
margin: 1px 8px;
}
[data-theme='dark'] input[type='checkbox'].autofilter, .jsdialog input[type='checkbox'] {
background: url('images/dark/lc_checkboxoff.svg') no-repeat center;
}
input[type='checkbox']:checked.autofilter, .jsdialog input[type='checkbox']:checked {
border-color: transparent;
background-image: url('images/lc_checkbox.svg');
}
[data-theme='dark'] input[type='checkbox']:checked.autofilter, .jsdialog input[type='checkbox']:checked {
background-image: url('images/dark/lc_checkbox.svg');
}
.ui-treeview-entry span {
width: 100%;
}
.ui-treeview-entry.mobile-wizard {
line-height: 40px;
padding-left: 10px;
padding-right: 10px;
}
.ui-treeview-entry.selected,
.ui-listview-entry.selected {
background-color: var(--color-background-dark);
color: var(--color-text-dark);
}
.ui-treeview.disabled .ui-treeview-entry.selected,
.ui-treeview.disabled .ui-listview-entry.selected {
background-color: var(--color-background-darker) !important;
}
.ui-treeview-entry:hover,
.ui-listview-entry:hover {
background-color: var(--color-background-darker);
color: var(--color-text-darker);
}
#mobile-wizard .ui-treeview-body input[type='checkbox'] {
float: none;
vertical-align: middle;
}
.ui-treeview.droptarget {
border: 1px solid #888;
}
.ui-treeview.droptarget:hover{
border: 1px solid #888;
box-shadow: 0 0 2px 0 #777;
}
/* context menu */
.context-menu-list {
background: var(--color-background-lighter);
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius);
-webkit-box-shadow: 0 0 3px var(--color-box-shadow);
box-shadow: 0 0 3px var(--color-box-shadow);
}
.context-menu-item {
color: var(--color-main-text);
background-color: transparent;
}
.context-menu-separator {
border-bottom: 1px solid var(--color-border-lighter);
}
.context-menu-item.context-menu-disabled {
color: var(--color-text-lighter);
background-color: var(--color-background-lighter);
}
/* input text */
.jsdialog.ui-edit, #hyperlink-text-box:not(.mobile-wizard) {
color: var(--color-text-dark);
background-color: var(--color-background-dark);
line-height: 28px;
max-height: 32px;
width: auto;
width: -webkit-fill-available;
width: -moz-available;
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius);
overflow: hidden;
align-self: center;
padding-inline: 4px;
}
#search_edit.ui-edit.autofilter {
width: 100%;
width: -moz-available;
width: -webkit-fill-available;
width: fill-available;
margin-top: 8px;
border-radius: 0;
border-left: none;
border-right: none;
}
/* checkbox */
.jsdialog.checkbutton {
white-space: nowrap;
}
.jsdialog.checkbutton input,
.jsdialog.checkbutton label {
vertical-align: middle;
font-size: var(--default-font-size);
}
.jsdialog.checkbutton label {
padding: 0px 2px;
line-height: 28px;
color: var(--color-main-text);
}
/* Radio button */
.radiobutton.jsdialog {
display: flex;
align-items: center;
justify-content: flex-start;
}
.jsdialog input[type='radio'] {
margin: 1px 8px;
border: none;
height: 18px;
width: 20px;
}
.jsdialog .radiobutton > label {
vertical-align: middle;
}
.jsdialog input[type='radio'][disabled='disabled'] ~ label {
color: var(--color-text-lighter);
}
/* text label */
.ui-dialog-content .jsdialog.ui-text {
padding-inline-start: 0;
}
.jsdialog.ui-text {
padding-inline-start: 8px;
}
/* spinfield */
.spinfieldcontainer input {
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius);
background: var(--color-background-dark);
color: var(--color-text-dark);
}
.spinfieldcontainer input:not([disabled]):hover {
border: 1px solid var(--color-border-darker);
color: var(--color-text-darker);
background-color: var(--color-background-lighter);
}
.spinfield {
padding: 4px 0 4px 4px;
height: 28px;
box-sizing: border-box;
margin-right: 1px;
min-width: 70px;
width: 100%;
}
.spinfieldunit {
font-size: var(--default-font-size);
color: var(--color-text-dark);
margin: 5px;
margin-inline-start: calc(-40px);
}
/* spinfield (number) */
input[type='number'] {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
opacity: 0.5;
height: 28px;
margin: 0;
}
input[type='number']:hover::-webkit-inner-spin-button,
input[type='number']:hover::-webkit-outer-spin-button {
opacity: 1;
cursor: pointer;
}
/* listbox */
.ui-listbox-container,
.ui-combobox {
display: flex;
margin: auto 0;
}
.ui-listbox {
padding: 0 14px 0 4px;
border: 1px solid var(--color-border-dark);
}
.ui-listbox,
.ui-combobox {
box-sizing: border-box;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
min-width: 100px;
width: 100%;
height: 28px;
line-height: normal;
font-size: var(--default-font-size);
font-family: var(--jquery-ui-font);
border-radius: var(--border-radius);
background-color: var(--color-background-dark);
color: var(--color-text-dark);
}
.ui-listbox option {
font-weight: normal;
display: block;
white-space: nowrap;
min-height: 1.2em;
padding: 0 5px;
}
.ui-listbox::-ms-expand {
display: none;
}
.ui-listbox-arrow {
content: '';
background: url('images/jquery-ui-lightness/ui-icons_222222_256x240.png') no-repeat transparent;
background-position: -67px -18px !important;
display: inline-block;
position: relative;
width: 11px;
height: 11px;
cursor: pointer;
pointer-events: none;
margin-block-start: 8px;
margin-inline-start: -16px;
margin-inline-end: 4px;
}
[data-theme='dark'] .ui-listbox-arrow {
background: url('images/jquery-ui-lightness/ui-icons_ffffff_256x240.png') no-repeat transparent;
}
.ui-listbox[disabled='disabled'] ~ .ui-listbox-arrow,
.ui-combobox[disabled='disabled'] ~ .ui-listbox-arrow {
opacity: 0.5;
cursor: auto;
}
/* ui-combobox */
.ui-combobox {
border: 1px solid var(--color-border);
}
.ui-combobox-content {
width: 100%;
border: none;
border-radius: var(--border-radius);
color: var(--color-text-dark);
background-color: var(--color-background-lighter);
}
.ui-combobox-button {
padding-left: 20px;
border-left: 1px solid var(--color-border);
}
.ui-combobox-dropdown {
position: absolute;
z-index: 2001;
padding: 0px;
overflow-y: auto;
max-height: 500px;
background-color: var(--color-background-dark);
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius);
}
.modalpopup[id$='-dropdown'] .ui-dialog-content {
padding: 0px;
}
.modalpopup[id$='-dropdown'] .ui-grid {
grid-gap: 0px;
}
.ui-combobox-entry {
width: calc(100% + 15px); /* + padding for scrollbar */
}
.ui-combobox-entry span:hover {
border: 1px solid var(--color-border-darker);
background-color: var(--color-background-darker);
}
.ui-combobox-entry.selected span:not(:hover) {
border: 1px solid var(--color-primary);
background-color: var(--color-primary);
color: var(--color-primary-text);
}
.ui-combobox-entry span {
border: 1px solid transparent;
padding: 5px;
display: block;
width: 100%;
font-size: var(--default-font-size);
font-family: var(--jquery-ui-font);
color: var(--color-text-dark);
}
.ui-combobox-entry img {
border: 1px solid transparent;
max-height: 24px; /* required for hidpi*/
}
.ui-combobox-entry img:hover {
border: 1px solid var(--color-border-darker);
filter: contrast(0.5);
}
.ui-combobox-entry.selected img:not(:hover) {
border: 1px solid var(--color-primary);
}
[data-theme='dark'] .ui-combobox-entry img {
filter: invert(1);
}
/* Apply style always show real colors */
#applystyle-dropdown .ui-dialog-content {
background-color: white !important;
}
#applystyle-dropdown .ui-combobox-entry img {
filter: none !important;
max-height: 30px; /* hidpi, avoid blurry text */
}
/* ui-textarea */
.jsdialog.ui-textarea {
color: var(--color-text-dark);
background-color: var(--color-background-dark);
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius);
}
/* buttons: btns.css */
/* Icon View */
.ui-iconview {
overflow: auto;
display: inline-flex;
display: -ms-inline-flexbox;
flex-wrap: wrap;
justify-content: space-between;
}
.ui-iconview.mobile-wizard {
justify-content: space-around;
}
@supports (display: flex) {
.ui-iconview-entry {
flex: 1;
}
}
.ui-iconview-entry {
float: left;
text-align: center;
position: relative;
flex-direction: row;
align-self: center;
border: 1px solid transparent;
border-radius: var(--border-radius);
padding-top: 5px;
}
.ui-iconview-entry.selected {
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius);
background-color: var(--color-background-dark);
}
.ui-iconview-entry:hover {
border: 1px solid var(--color-border-darker);
background-color: var(--color-background-darker);
}
.ui-iconview-separator {
flex: 0 0 99%;
}
/* Autofilter dropdown */
.autofilter.row {
display: table-row;
}
.autofilter.cell {
display: table-cell;
vertical-align: middle;
padding: 2px;
}
.autofilter-container {
background-color: var(--color-main-background);
border: 1px solid var(--color-border);
position: absolute;
z-index: 1105;
padding: 0;
font-family: var(--jquery-ui-font);
}
.autofilter-container > .root-container,
.autofilter-container .cell,
.autofilter-container .row {
margin: 0;
padding: 0;
}
.autofilter-container .ui-treeview {
border: none;
}
.autofilter-container #menu.ui-treeview .ui-treeview-body {
height: auto;
width: 100%;
padding: 8px 1px;
}
.autofilter-container #toggle_all.checkbutton {
display: flex;
}
.autofilter-container #menu + #search_edit {
display: block;
}
#mobile-wizard #toggle_all.checkbutton + #select_current,
.autofilter-container #select_current {
background: url('images/lc_checkbox.svg') no-repeat center;
}
[data-theme='dark'] #mobile-wizard #toggle_all.checkbutton + #select_current,
.autofilter-container #select_current {
background: url('images/dark/lc_checkbox.svg') no-repeat center;
}
.autofilter-container #select_current {
/* Same size as #toggle_all.checkbutton > input */
height: 18px;
width: 18px;
margin: 8px;
border: none;
}
#mobile-wizard #toggle_all.checkbutton + #select_current + #unselect_current,
.autofilter-container #unselect_current {
background: url('images/lc_checkboxoff.svg') no-repeat center;
}
[data-theme='dark'] #mobile-wizard #toggle_all.checkbutton + #select_current + #unselect_current,
.autofilter-container #unselect_current {
background: url('images/dark/lc_checkboxoff.svg') no-repeat center;
}
.autofilter-container #unselect_current {
/* Same size as #toggle_all.checkbutton > input */
height: 18px;
width: 18px;
margin: 8px 8px 8px 0px;
border: none;
}
.autofilter-container #unselect_current img,
.autofilter-container #select_current img {
display: none;
}
.autofilter-container #toggle_all.checkbutton > label,
.autofilter-container #toggle_all.checkbutton > input {
height: 18px;
line-height: normal;
}
.autofilter-container #check_tree_box.ui-treeview .ui-treeview-body,
.autofilter-container #check_list_box.ui-treeview .ui-treeview-body {
width: 100%;
min-width: 200px;
max-height: 150px;
}
#ZoteroDialog .ui-treeview-body {
max-height: 500px;
}
.autofilter-container-submenu > .autofilter-container {
padding: 0px;
}
.autofilter-container-submenu .autofilter.root-container .ui-treeview {
border-color: transparent;
}
/* Word count dialog */
#label9, #documentlabel-mobile {
color: #636363 !important;
}
#documentlabel-mobile {
padding-top: 10px;
}
#mobile-wizard #wordslabel,
#mobile-wizard #inclspaceslabel,
#mobile-wizard #exclspaceslabel,
#mobile-wizard #cjkcharsft,
#mobile-wizard #wordslabel2,
#mobile-wizard #inclspaceslabel2,
#mobile-wizard #exclspaceslabel2,
#mobile-wizard #cjkcharsft2
{
float: left !important;
clear: left !important;
width: 70% !important;
color: #636363 !important;
}
#mobile-wizard #selectwords,
#mobile-wizard #selectchars,
#mobile-wizard #selectcharsnospaces,
#mobile-wizard #selectcjkchars,
#mobile-wizard #docwords,
#mobile-wizard #docchars,
#mobile-wizard #doccharsnospaces,
#mobile-wizard #doccjkchars
{
float: right !important;
clear: right !important;
width: 20% !important;
border-bottom: none !important;
color: #636363 !important;
}
/* Dialog-specific excelptions*/
#DefineNameDialog .cell.jsdialog,
#ManageNamesDialog .cell.jsdialog {
padding-left: 0px;
}
#table-Selection .jsdialog.ui-listbox {
margin: 8px 2px 2px;
}
#SelectSourceDialog .ui-frame-label {
display: none;
}
#hideitems {
border: none;
}
/* Fontwork dialog */
#FontworkGalleryDialog #ctlFavoriteswin {
width: 400px;
height: 400px;
}
#FontworkGalleryDialog #label1 {
display: none;
}
/* Macros dialos */
#MacroWarnMedium label {
max-width: 400px;
color: var(--color-main-text);
text-transform: none;
}
#MacroSelectorDialog #helpmacro {
margin-bottom: 8px;
text-transform: none;
font-size: var(--default-font-size);
}
#MacroSelectorDialog #description {
text-transform: none;
}
#MacroSelectorDialog #commands,
#MacroSelectorDialog #categories {
height: 150px;
}
#MacroSelectorDialog #categories {
box-sizing: border-box;
border-color: transparent;
}
#MacroSelectorDialog #categories .ui-treeview-entry.selected, #MacroSelectorDialog #categories .ui-listview-entry, #MacroSelectorDialog #categories .ui-listview-entry.selected {
background-color: var(--color-background-dark);
color: var(--color-text-dark);
}
#MacroSelectorDialog #categories .ui-treeview-entry:hover, #MacroSelectorDialog #categories .ui-treeview-entry.selected:hover, #MacroSelectorDialog #categories .ui-listview-entry:hover, #MacroSelectorDialog #categories .ui-listview-entry.selected:hover, #MacroSelectorDialog #categories .ui-treeview-entry.selected {
background-color: var(--color-background-darker);
color: var(--color-text-darker);
}
/* color selector */
.unotoolbutton .selected-color {
height: 5px;
width: 24px;
position: relative;
top: -6px;
border: 1px solid var(--color-border-dark);
border-radius: 7px;
outline: 1px solid var(--color-background-lighter);
}
/* dropdown arrow */
.unoarrow, .menubutton .arrow {
width: auto !important;
height: 0px;
font-size: 0;
line-height: 0;
border: 4px solid transparent;
border-top: 5px solid var(--color-main-text);
display: inline-block !important;
margin-left: 3px;
}
.unoarrow:not([disabled]):hover, .menubutton .arrow:not([disabled]):hover {
border-top: 5px solid var(--color-text-darker);
}
.arrowbackground {
width: 15px;
height: 23px;
display: inline-block;
border-left: 1px solid transparent;
background-color: transparent;
}
.arrowbackground:hover {
border-left-color: transparent;
background-color: transparent;
}
.unoarrow:not([disabled]):hover, .arrowbackground:not([disabled]):hover .unoarrow {
border-top-color: var(--color-text-darker);
}
/* menu button */
.jsdialog.menubutton {
box-sizing: border-box;
line-height: normal;
font-size: calc(var(--default-font-size)*1.2);
font-family: var(--jquery-ui-font);
border: 1px solid var(--color-border-dark);
border-radius: var(--border-radius);
padding: 8px 10px;
margin: 2px 0px;
background-color: var(--color-background-dark);
}
.menubutton span {
margin: 0px 5px;
}
.jsdialog.menubutton img {
vertical-align: middle;
}
.menubutton .arrow {
display: table-cell !important;
float: right;
margin: 5px 0px 5px 5px;
}
.jsdialog.menubutton[disabled] {
background-color: var(--color-background-lighter) !important;
color: var(--color-text-lighter) !important;
}
.jsdialog.menubutton[disabled] .arrow {
border-top-color: var(--color-text-lighter);
}
/* sum button in formulabar */
.formulabar.menubutton {
padding: 0px !important;
margin: 0 4px 0 0 !important;
}
/* toolbox */
.jsdialog.toolbox {
display: flex;
}
/* spinner */
.spinner {
border: 6px solid #f3f3f3; /* Light grey */
border-top: 6px solid grey; /* Blue */
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* busy popup */
#busypopup.jsdialog-container {
min-width: 200px;
min-height: 100px;
background: var(--color-background-lighter);
}
#busypopup .lokdialog {
z-index: 1;
}
#busypopup .vertical {
margin: auto;
}
#busypopup #busyspinner {
margin: -20px auto 0px;
}
#busypopup #busyspinner svg {
display: block;
margin: auto;
}
#busypopup #busylabel,
.popup #busylabel {
margin: 20px;
text-align: center;
font-size: 100%;
text-transform: initial;
display: block;
}
#busypopup #spinner-paper-g,
.popup #spinner-paper-g {
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
animation-direction: normal;
-webkit-animation-play-state: running; /* Safari 4.0 - 8.0 */
animation-play-state: running;
-webkit-animation-name: spinner-saving-anim;
animation-name: spinner-saving-anim;
-webkit-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out;
}
@keyframes spinner-saving-anim{
0%{transform: translateY(-20px) translateX(0px); opacity: 0;}
20%{transform: translateY(5px) translateX(15px); opacity: 1;}
45%{transform: translateY(22px) translateX(-10px); opacity: 1;}
100%{transform: translateY(60px) translateX(15px); opacity: 0;}
}
@-webkit-keyframes spinner-saving-anim{
0%{transform: translateY(-20px) translateX(0px); opacity: 0;}
20%{transform: translateY(5px) translateX(15px); opacity: 1;}
45%{transform: translateY(22px) translateX(-10px); opacity: 1;}
100%{transform: translateY(60px) translateX(15px); opacity: 0;}
}
.spinner-img.text-doctype #spinner-box-f-right {
fill: rgba(var(--blue1-txt-primary-color),0.5);
}
.spinner-img.text-doctype #spinner-box-f-left {
fill: rgba(var(--blue1-txt-primary-color),0.2);
}
.spinner-img.text-doctype #spinner-inner-right {
fill: rgba(var(--blue1-txt-primary-color),0.5);
}
.spinner-img.text-doctype #spinner-box-back {
fill: rgba(var(--blue1-txt-primary-color),0.4);
}
.spinner-img.text-doctype #spinner-handle {
stroke: rgba(var(--blue1-txt-primary-color),0.8);
}
.spinner-img.text-doctype #spinner-inner-left-linearGradient stop:first-child {
stop-color: rgba(var(--blue1-txt-primary-color));
stop-opacity: 0.7;
}
.spinner-img.text-doctype #spinner-inner-left-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--blue1-txt-primary-color));
stop-opacity: 0.5;
}
.spinner-img.text-doctype #spinner-paper-fold {
fill: rgba(var(--blue1-txt-primary-color),0.8);
}
.spinner-img.text-doctype #spinner-paper-linearGradient stop:first-child {
stop-color: rgba(var(--blue1-txt-primary-color));
stop-opacity: 0.3;
}
.spinner-img.text-doctype #spinner-paper-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--blue1-txt-primary-color));
stop-opacity: 0.2;
}
.spinner-img.spreadsheet-doctype #spinner-box-f-right {
fill: rgba(var(--green0-txt-primary-color),0.5);
}
.spinner-img.spreadsheet-doctype #spinner-box-f-left {
fill: rgba(var(--green0-txt-primary-color),0.2);
}
.spinner-img.spreadsheet-doctype #spinner-inner-right {
fill: rgba(var(--green0-txt-primary-color),0.5);
}
.spinner-img.spreadsheet-doctype #spinner-box-back {
fill: rgba(var(--green0-txt-primary-color),0.4);
}
.spinner-img.spreadsheet-doctype #spinner-handle {
stroke: rgba(var(--green0-txt-primary-color),0.8);
}
.spinner-img.spreadsheet-doctype #spinner-inner-left-linearGradient stop:first-child {
stop-color: rgba(var(--green0-txt-primary-color));
stop-opacity: 0.7;
}
.spinner-img.spreadsheet-doctype #spinner-inner-left-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--green0-txt-primary-color));
stop-opacity: 0.5;
}
.spinner-img.spreadsheet-doctype #spinner-paper-fold {
fill: rgba(var(--green0-txt-primary-color),0.8);
}
.spinner-img.spreadsheet-doctype #spinner-paper-linearGradient stop:first-child {
stop-color: rgba(var(--green0-txt-primary-color));
stop-opacity: 0.3;
}
.spinner-img.spreadsheet-doctype #spinner-paper-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--green0-txt-primary-color));
stop-opacity: 0.2;
}
.spinner-img.presentation-doctype #spinner-box-f-right {
fill: rgba(var(--orange1-txt-primary-color),0.5);
}
.spinner-img.presentation-doctype #spinner-box-f-left {
fill: rgba(var(--orange1-txt-primary-color),0.2);
}
.spinner-img.presentation-doctype #spinner-inner-right {
fill: rgba(var(--orange1-txt-primary-color),0.5);
}
.spinner-img.presentation-doctype #spinner-box-back {
fill: rgba(var(--orange1-txt-primary-color),0.4);
}
.spinner-img.presentation-doctype #spinner-handle {
stroke: rgba(var(--orange1-txt-primary-color),0.8);
}
.spinner-img.presentation-doctype #spinner-inner-left-linearGradient stop:first-child {
stop-color: rgba(var(--orange1-txt-primary-color));
stop-opacity: 0.7;
}
.spinner-img.presentation-doctype #spinner-inner-left-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--orange1-txt-primary-color));
stop-opacity: 0.5;
}
.spinner-img.presentation-doctype #spinner-paper-fold {
fill: rgba(var(--orange1-txt-primary-color),0.8);
}
.spinner-img.presentation-doctype #spinner-paper-linearGradient stop:first-child {
stop-color: rgba(var(--orange1-txt-primary-color));
stop-opacity: 0.3;
}
.spinner-img.presentation-doctype #spinner-paper-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--orange1-txt-primary-color));
stop-opacity: 0.2;
}
.spinner-img.drawing-doctype #spinner-box-f-right {
fill: rgba(var(--yellow0-txt-primary-color),0.5);
}
.spinner-img.drawing-doctype #spinner-box-f-left {
fill: rgba(var(--yellow0-txt-primary-color),0.2);
}
.spinner-img.drawing-doctype #spinner-inner-right {
fill: rgba(var(--yellow0-txt-primary-color),0.5);
}
.spinner-img.drawing-doctype #spinner-box-back {
fill: rgba(var(--yellow0-txt-primary-color),0.4);
}
.spinner-img.drawing-doctype #spinner-handle {
stroke: rgba(var(--yellow0-txt-primary-color),0.8);
}
.spinner-img.drawing-doctype #spinner-inner-left-linearGradient stop:first-child {
stop-color: rgba(var(--yellow0-txt-primary-color));
stop-opacity: 0.7;
}
.spinner-img.drawing-doctype #spinner-inner-left-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--yellow0-txt-primary-color));
stop-opacity: 0.5;
}
.spinner-img.drawing-doctype #spinner-paper-fold {
fill: rgba(var(--yellow0-txt-primary-color),0.8);
}
.spinner-img.drawing-doctype #spinner-paper-linearGradient stop:first-child {
stop-color: rgba(var(--yellow0-txt-primary-color));
stop-opacity: 0.3;
}
.spinner-img.drawing-doctype #spinner-paper-linearGradient stop:nth-child(2) {
stop-color: rgba(var(--yellow0-txt-primary-color));
stop-opacity: 0.2;
}
/* snackbar */
.snackbar {
border: none !important;
}
.snackbar.jsdialog-window {
overflow: visible;
}
#mobile-wizard.popup.snackbar,
.snackbar.jsdialog-container .ui-dialog-content {
min-width: 200px;
background-color: #323232 !important;
}
.snackbar.jsdialog-container .ui-dialog-content {
width: max-content !important;
}
#mobile-wizard.popup.snackbar #label,
.snackbar.jsdialog-container #label,
#mobile-wizard.popup.snackbar #label-no-action,
.snackbar.jsdialog-container #label-no-action {
color: white !important;
font-size: var(--header-font-size) !important;
margin: 0px !important;
border-bottom: none !important;
padding-left: 12px;
flex: min-content;
text-transform: inherit;
}
#mobile-wizard.popup.snackbar #label-no-action,
.snackbar.jsdialog-container #label-no-action {
padding-right: 8px;
text-align: center;
}
.snackbar.jsdialog-container #label {
padding: 2px 24px 2px 8px;
}
.snackbar.jsdialog-container #label-no-action {
padding: 2px 8px;
}
#mobile-wizard.popup.snackbar #button,
.snackbar.jsdialog-container #button.ui-pushbutton.jsdialog {
padding-right: 12px;
background-color: transparent !important;
border: none !important;
margin: 0 !important;
}
.snackbar.jsdialog-container #button.ui-pushbutton.jsdialog {
padding-right: 0;
}
#mobile-wizard.popup.snackbar #button,
.snackbar.jsdialog-container #button {
color: #469cff !important;
font-weight: 600;
font-size: var(--header-font-size) !important;
padding: 8px;
}
.snackbar.jsdialog-container #button:hover {
background-color: #ffffff15 !important;
}
/* toolbuttons */
.jsdialog .ui-content.unobutton {
width: var(--btn-size);
height: var(--btn-size);
margin-inline-end: 5px;
vertical-align: middle;
background-color: transparent;
border: none;
}
.unotoolbutton.jsdialog.sidebar.ui-content > .arrowbackground {
width: auto;
}
/* handling show/hide state */
.hidden {
display: none !important;
}
/* dialog/popup fade animation */
.fadeout {
animation: fade 0.7s;
-webkit-animation: fade 0.7s;
-moz-animation: fade 0.7s;
}
@keyframes fade {
from { opacity: 1 }
to { opacity: 0 }
}
@-moz-keyframes fade {
from { opacity: 1 }
to { opacity: 0 }
}
@-webkit-keyframes fade {
from { opacity: 1 }
to { opacity: 0 }
}
/* images */
.ui-image {
margin: auto;
}
.ui-drawing-area-container {
margin: auto;
}
/* formulabar */
#sc_input_window.formulabar {
height: 28px;
border: 1px solid var(--color-border);
flex-grow: 1;
background-color: var(--color-background-lighter);
border-radius: var(--border-radius) 0 0 var(--border-radius);
}
.ui-custom-textarea {
overflow: auto;
display: grid;
}
.ui-custom-textarea.focused {
border: 1px solid var(--color-primary) !important;
}
.ui-custom-textarea,
.ui-custom-textarea-cursor-layer,
.ui-custom-textarea-text-layer {
font-family: monospace;
line-height: 1.2;
font-size: calc(var(--default-font-size)*1.2) !important;
color: var(--color-main-text);
overflow-wrap: anywhere;
}
.ui-custom-textarea-cursor-layer,
.ui-custom-textarea-text-layer {
padding: 4px;
grid-column: 1;
grid-row: 1;
white-space: pre-wrap;
text-wrap: wrap;
}
.ui-custom-textarea-cursor-layer {
color: transparent;
pointer-events: none;
}
.ui-custom-textarea.focused .ui-custom-textarea-cursor-layer span.cursor:not(.hidden) {
border-left: 1px solid black;
margin-left: -1px;
}
.ui-custom-textarea-cursor-layer span.selection:not(.hidden) {
background-color: var(--color-primary-darker);
color: var(--color-primary-text);
}
#sc_input_window.formulabar:focus {
outline-offset: -1px;
}
#sc_input_window.formulabar.expanded {
height: 72px !important;
border-radius: var(--border-radius) 0 var(--border-radius) var(--border-radius) !important;
}
.formulabar.unotoolbutton {
margin-inline-end: 4px !important;
opacity: 0.8;
}
#acceptformula {
margin-inline-start: 3px;
}
.formulabar.unotoolbutton:hover {
opacity: 1;
}
.formulabar.unotoolbutton img, .formulabar.ui-pushbutton {
height: 24px !important;
width: 24px !important;
min-width: unset !important;
}
#expand.formulabar {
height: 28px !important;
margin: 0 !important;
border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
border-inline-start: none !important;
background-color: var(--color-main-background) !important;
}
/* Zotero dialog*/
#ZoteroDialog-mainbox.jsdialog .ui-treeview {
height: 400px;
}
#ZoteroDialog-search-container.jsdialog, #ZoteroDialog-locale-container.jsdialog {
margin-block: 7px;
}
#ZoteroDialog-locale-container.jsdialog {
width: fit-content;
}
#zoterocategory.jsdialog {
margin-inline-end: 7px;
min-width: 150px !important;
overflow-x: scroll;
}
#zoterolist.jsdialog {
width: 800px;
}
.jsdialog[id^='zotero'][id$='-label'] {
margin-inline-end: 7px;
}
.jsdialog[id^='zotero'][id$='-label']:not(:first-child) {
margin-inline-start: 24px;
}
/* hover effect */
.jsdialog.menubutton:not([disabled]):hover,
.ui-listbox:not([disabled]):hover,
.jsdialog.ui-edit:not([disabled]):hover,
.jsdialog.ui-textarea:not([disabled]):hover {
color: var(--color-text-darker);
background-color: var(--color-background-lighter);
border: 1px solid var(--color-border-darker);
}
/* Formula Wizard */
#FormulaDialog #ParameterPage > .ui-grid-cell {
display: flex;
flex-direction: column;
}
#FormulaDialog > [id^='dialog-vbox'] > [id^='box'] > [id^='box'] {
grid-auto-columns: max-content;
grid-column-gap: 8px;
}
#FormulaDialog label {
max-width: 400px;
}
#FormulaDialog #box3 {
display: grid;
}
div [id^='TemplateDialog'] {
min-width: 590px;
}
#CharacterPropertiesDialog {
min-width: 656px;
}
/* Keyboard input keys */
kbd,
.kbd {
background-color: var(--color-background-dark);
border-radius: var(--border-radius);
border: 1px solid var(--color-border-dark);
color: var(--color-text-dark);
display: inline-block;
font-family: monospace;
font-size: .85em;
line-height: 1;
padding: 4px;
white-space: nowrap;
}
.kbd--plus {
color: var(--color-text-dark);
padding: 0 4px;
font-size: 0.85em;
}
.warn-copy-paste {
width: 100%;
}
/* manage changes dialog */
.jsdialog #writerchanges .ui-treeview-body {
min-height: 300px;
}
/* Insert hyperlink dialog */
#HyperlinkInternetPage #grid2,
#HyperlinkInternetPage #label2,
#HyperlinkInternetPage #lbProtocol,
#HyperlinkInternetPage #linktyp_ftp,
#HyperlinkInternetPage #linktyp_internet {
display: none;
}