aboutsummaryrefslogtreecommitdiff
path: root/src/client/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views')
-rw-r--r--src/client/views/collections/CollectionDockingView.scss15
-rw-r--r--src/client/views/search/IconButton.tsx36
2 files changed, 12 insertions, 39 deletions
diff --git a/src/client/views/collections/CollectionDockingView.scss b/src/client/views/collections/CollectionDockingView.scss
index a654596bd..11543bbe5 100644
--- a/src/client/views/collections/CollectionDockingView.scss
+++ b/src/client/views/collections/CollectionDockingView.scss
@@ -276,8 +276,6 @@
z-index: 20;
} /*# sourceMappingURL=goldenlayout-base.css.map */
-// @import '../../../../node_modules/golden-layout/src/css/goldenlayout-dark-theme.css';
-
.lm_title {
-webkit-appearance: none;
display: inline-block;
@@ -681,11 +679,6 @@ ul.lm_tabs::before {
height: 8px;
}
- .flexlayout__tab_button:hover .flexlayout__tab_button_trailing,
- .flexlayout__tab_button--selected .flexlayout__tab_button_trailing {
- // background: transparent url('../../../../node_modules/flexlayout-react/images/close_white.png') no-repeat center;
- }
-
.flexlayout__tab_button_overflow {
float: left;
width: 20px;
@@ -696,7 +689,6 @@ ul.lm_tabs::before {
font-size: 10px;
color: lightgray;
font-family: Arial, sans-serif;
- // background: transparent url('../../../../node_modules/flexlayout-react/images/more.png') no-repeat left;
}
.flexlayout__tabset_header {
@@ -751,7 +743,6 @@ ul.lm_tabs::before {
height: 20px;
border: none;
outline-width: 0;
- // background: transparent url('../../../../node_modules/flexlayout-react/images/maximize.png') no-repeat center;
}
.flexlayout__tab_toolbar_button-max {
@@ -759,7 +750,6 @@ ul.lm_tabs::before {
height: 20px;
border: none;
outline-width: 0;
- // background: transparent url('../../../../node_modules/flexlayout-react/images/restore.png') no-repeat center;
}
.flexlayout__popup_menu_item {
@@ -877,11 +867,6 @@ ul.lm_tabs::before {
height: 8px;
}
- .flexlayout__border_button:hover .flexlayout__border_button_trailing,
- .flexlayout__border_button--selected .flexlayout__border_button_trailing {
- // background: transparent url('../../../../node_modules/flexlayout-react/images/close_white.png') no-repeat center;
- }
-
.flexlayout__border_toolbar_left {
position: absolute;
display: flex;
diff --git a/src/client/views/search/IconButton.tsx b/src/client/views/search/IconButton.tsx
index 9aae347e7..e12e4511c 100644
--- a/src/client/views/search/IconButton.tsx
+++ b/src/client/views/search/IconButton.tsx
@@ -8,7 +8,6 @@ import '../global/globalCssVariables.scss';
import { IconBar } from './IconBar';
import './IconButton.scss';
import './SearchBox.scss';
-import { Font } from '@react-pdf/renderer';
interface iconButtonProps {
type: string;
@@ -60,29 +59,18 @@ export class IconButton extends React.Component<iconButtonProps> {
@action.bound
getIcon() {
switch (this.props.type) {
- case DocumentType.NONE:
- return 'ban';
- case DocumentType.AUDIO:
- return 'music';
- case DocumentType.COL:
- return 'object-group';
- case DocumentType.IMG:
- return 'image';
- case DocumentType.LINK:
- return 'link';
- case DocumentType.PDF:
- return 'file-pdf';
- case DocumentType.RTF:
- return 'sticky-note';
- case DocumentType.VID:
- return 'video';
- case DocumentType.WEB:
- return 'globe-asia';
- case DocumentType.MAP:
- return 'map-marker-alt';
- default:
- return 'caret-down';
- }
+ case DocumentType.NONE: return 'ban';
+ case DocumentType.AUDIO: return 'music';
+ case DocumentType.COL: return 'object-group';
+ case DocumentType.IMG: return 'image';
+ case DocumentType.LINK: return 'link';
+ case DocumentType.PDF: return 'file-pdf';
+ case DocumentType.RTF: return 'sticky-note';
+ case DocumentType.VID: return 'video';
+ case DocumentType.WEB: return 'globe-asia';
+ case DocumentType.MAP: return 'map-marker-alt';
+ default: return 'caret-down';
+ } // prettier-ignore
}
@action.bound