Restyle tags splitter
This commit is contained in:
parent
9ff76d2dd9
commit
7fe5f0145d
6 changed files with 9 additions and 30 deletions
|
@ -213,34 +213,6 @@
|
||||||
width: 8px;
|
width: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#zotero-tags-splitter
|
|
||||||
{
|
|
||||||
-moz-appearance: none;
|
|
||||||
border-top: 1px;
|
|
||||||
border-bottom: 1px;
|
|
||||||
border-color: #A5A5A5;
|
|
||||||
height: 8px;
|
|
||||||
background-image: url("chrome://zotero/skin/mac/hsplitter.png") !important;
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#zotero-tags-splitter > grippy
|
|
||||||
{
|
|
||||||
-moz-appearance: none;
|
|
||||||
background: url(chrome://zotero/skin/mac/hgrippy.png) center/auto 8px no-repeat;
|
|
||||||
height: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#zotero-tags-splitter > grippy:hover,
|
|
||||||
#zotero-collections-splitter > grippy:hover,
|
|
||||||
#zotero-items-splitter > grippy:hover,
|
|
||||||
#zotero-context-splitter > grippy:hover,
|
|
||||||
#zotero-context-splitter-stacked > grippy:hover
|
|
||||||
{
|
|
||||||
background-color:transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
#zotero-context-toolbar-extension {
|
#zotero-context-toolbar-extension {
|
||||||
/* To cover #zotero-context-splitter 1px border */
|
/* To cover #zotero-context-splitter 1px border */
|
||||||
margin-inline-start: -1px;
|
margin-inline-start: -1px;
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
const React = require('react');
|
const React = require('react');
|
||||||
const PropTypes = require('prop-types');
|
const PropTypes = require('prop-types');
|
||||||
var { Collection } = require('react-virtualized');
|
var { Collection } = require('react-virtualized');
|
||||||
const { props } = require("bluebird");
|
|
||||||
|
|
||||||
// See also .tag-selector-item in _tag-selector.scss
|
// See also .tag-selector-item in _tag-selector.scss
|
||||||
var filterBarHeight = 36;
|
var filterBarHeight = 36;
|
||||||
|
@ -34,7 +33,7 @@ var tagPaddingLeft = 4;
|
||||||
var tagPaddingRight = 4;
|
var tagPaddingRight = 4;
|
||||||
var tagSpaceBetweenX = 2;
|
var tagSpaceBetweenX = 2;
|
||||||
var tagSpaceBetweenY = 4;
|
var tagSpaceBetweenY = 4;
|
||||||
var panePaddingTop = 8;
|
var panePaddingTop = 4; // + splitter 9px tall
|
||||||
var panePaddingLeft = 8;
|
var panePaddingLeft = 8;
|
||||||
var panePaddingRight = 2; // + scrollbar width
|
var panePaddingRight = 2; // + scrollbar width
|
||||||
//var panePaddingBottom = 2;
|
//var panePaddingBottom = 2;
|
||||||
|
|
|
@ -42,10 +42,12 @@
|
||||||
@import "components/syncButtonTooltip";
|
@import "components/syncButtonTooltip";
|
||||||
@import "components/tabBar";
|
@import "components/tabBar";
|
||||||
@import "components/tagSelector";
|
@import "components/tagSelector";
|
||||||
|
@import "components/tags-splitter";
|
||||||
@import "components/textLink";
|
@import "components/textLink";
|
||||||
@import "components/virtualized-table";
|
@import "components/virtualized-table";
|
||||||
@import "components/expand-button";
|
@import "components/expand-button";
|
||||||
|
|
||||||
|
|
||||||
// Elements
|
// Elements
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
4
scss/components/_tags-splitter.scss
Normal file
4
scss/components/_tags-splitter.scss
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#zotero-tags-splitter {
|
||||||
|
-moz-appearance: none;
|
||||||
|
border-top: var(--material-border-quarternary);
|
||||||
|
}
|
|
@ -63,5 +63,6 @@
|
||||||
--material-border50: 1px solid var(--color-border50);
|
--material-border50: 1px solid var(--color-border50);
|
||||||
--material-panedivider: 1px solid var(--color-panedivider);
|
--material-panedivider: 1px solid var(--color-panedivider);
|
||||||
--material-border-quinary: 1px solid var(--fill-quinary);
|
--material-border-quinary: 1px solid var(--fill-quinary);
|
||||||
|
--material-border-quarternary: 1px solid var(--fill-quarternary);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -63,5 +63,6 @@
|
||||||
--material-border50: 1px solid var(--color-border50);
|
--material-border50: 1px solid var(--color-border50);
|
||||||
--material-panedivider: 1px solid var(--color-panedivider);
|
--material-panedivider: 1px solid var(--color-panedivider);
|
||||||
--material-border-quinary: 1px solid var(--fill-quinary);
|
--material-border-quinary: 1px solid var(--fill-quinary);
|
||||||
|
--material-border-quarternary: 1px solid var(--fill-quarternary);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue