Citation explorer: Windows styling

This commit is contained in:
Adomas Venčkauskas 2025-09-23 13:47:47 +03:00
parent 2c18b3973a
commit e05696acb2
4 changed files with 22 additions and 10 deletions

View file

@ -25,11 +25,11 @@
***** END LICENSE BLOCK *****
-->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://zotero/skin/integration.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero/skin/overlay.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform/content/overlay.css" type="text/css"?>
<?xml-stylesheet href="chrome://zotero-platform/content/zotero.css"?>
<?xml-stylesheet href="chrome://zotero/skin/integration.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://zotero/locale/zotero.dtd">
<xul:window

View file

@ -9,13 +9,14 @@
search-textbox, input, button {
margin: 0;
}
.citation-explorer-grid {
display: grid;
grid-template-columns: 4fr 6fr;
grid-template-rows: auto auto minmax(0, 1fr) auto;
height: 100%;
margin: -16px;
margin: -8px;
.citation-explorer-grid-left {
border-right: solid 1px ThreeDShadow;
@ -26,6 +27,10 @@
}
}
.tabbox-container, #citations-label {
padding-top: 16px !important;
}
#citations-label {
align-content: center;
}
@ -59,8 +64,8 @@
}
@media (-moz-platform: macos) {
.tabbox-container, #citations-label {
padding-top: 16px !important;
.citation-explorer-grid {
margin: -16px;
}
.button-container {
@ -96,12 +101,11 @@
}
@media (-moz-platform: windows) {
tab:focus-visible > .tab-middle {
outline: none;
}
input[type="button"], button {
margin-top: 7px;
tabbox tabs {
border-bottom: none;
tab {
margin-bottom: 0;
}
}
}
}

View file

@ -48,4 +48,8 @@
fill: currentColor;
-moz-context-properties: fill,fill-opacity;
}
@media (-moz-platform: windows) {
padding-right: 6px;
}
}

View file

@ -127,6 +127,10 @@
}
}
search-textbox:not([no-native]) {
padding-inline-start: 0;
}
textarea:not([no-native]) {
height: unset;
}