Skip to content

TagSpaces is an offline, open source, document manager with tagging support

less exchanged for css

uggrock0bbf77684fea
diff --git a/data/css/tagspaces.css b/data/css/tagspaces.css
index 6fc9912b2..0204e8897 100644
--- a/data/css/tagspaces.css
+++ b/data/css/tagspaces.css
@@ -3,10 +3,11 @@
* is governed by a AGPL3 license that can be
* found in the LICENSE file. */
+/*
@fileExtColor: #008080; // #008080 | #9be8e8
@baseTagColor: #008000; // #008000 | #a1eda1
@directoryColor: #F6A828;
-@tagFontSize: 1em;
+@tagFontSize: 1em; */
@media print {
#viewer {
@@ -23,18 +24,18 @@
}
}
-
+/*
.roundedTagCorners (@radius: 2px) {
border-radius: @radius;
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
}
-.arrowDownImage () {
+.arrowDownImage {
background-image: url("arrow-down.png");
background-repeat: no-repeat;
background-position: right;
-}
+} */
html, body {
width: 100%;
@@ -65,7 +66,8 @@ html, body {
#logo {
padding: 0px;
font-size: 1.4em;
- color: #dedede; // 00AE00
+ margin: 3px;
+ color: white;
font-weight: bold;
padding-left: 32px;
padding-top: 4px;
@@ -75,12 +77,6 @@ html, body {
display: inline-block;
}
-.icon-tagspaces {
- background: url("logo.png") no-repeat;
- width: 16px;
- height: 16px;
-}
-
#logo:hover {
color: #00AE00;
}
@@ -130,7 +126,7 @@ html, body {
float: right;
color: white;
font-weight: bold;
- background-color: @fileExtColor;
+ /*background-color: @fileExtColor; */
}
#viewsRadio {
@@ -182,10 +178,10 @@ li hr {
border-color: transparent;
}
-// @baseTagColor;
+/* @baseTagColor; */
.tagButton {
padding: 0px 2px 0px 2px;
-// background: #008000 !important;
+ /* background: #008000 !important; */
color: white !important;
margin: 1px;
border-color: transparent;
@@ -206,14 +202,14 @@ li hr {
padding-left: 1px;
padding-right: 12px;
font-weight: normal;
- font-size: @tagFontSize;
+ /* font-size: @tagFontSize; */
color: #222222;
text-align: left;
margin: 1px;
border: #ddd solid 1px;
z-index: 9999;
- .arrowDownImage;
- .roundedTagCorners;
+ /*.arrowDownImage; */
+ /*.roundedTagCorners; */
}
.fileTitleButton {
@@ -248,12 +244,13 @@ li hr {
.ui-layout-north {
padding: 0px;
+ height: 40px;
background-color: #333333;
overflow: hidden !important;
}
#directoryNavigatorNorth, #dirTree, #tagGroups, .middle-north, .east-north {
- background-color: white; //#F0F0F0;
+ background-color: white;
}
#directoryNavigatorNorth {
@@ -266,11 +263,11 @@ li hr {
}
#viewToolbars {
- background-color: white; //#F0F0F0;
+ background-color: white;
padding: 2px;
}
#viewContainers, #viewFooters {
- background-color: white; //#F0F0F0;
+ background-color: white;
padding: 0;
}
@@ -302,13 +299,13 @@ li hr {
.dirButton {
padding: 1px;
- background-color: @directoryColor !important;
+ /* background-color: @directoryColor !important; */
font-weight: bold;
- font-size: @tagFontSize;
+ /* font-size: @tagFontSize; */
color: white;
margin: 1px;
border-color: transparent;
- .roundedTagCorners;
+ /* .roundedTagCorners; */
}
.dirButton:hover, .dirButton:active, .dirButton:focus {
@@ -441,10 +438,12 @@ input a.resetFilter {
text-shadow: none;
}
+/* Main Menu */
#mainMenu .btn-link, #mainMenu .btn-link:hover, #mainMenu .btn-link:focus, #mainMenu .btn-link:active {
text-decoration: none;
- color: #dedede;
+ color: white;
text-shadow: none;
+ height: 35px;
}
#mainMenu .btn-link:hover, #mainMenu .btn-link:focus, #mainMenu .btn-link:active {
diff --git a/data/css/tagspaces.less b/data/css/tagspaces.less
deleted file mode 100644
index 6fc9912b2..000000000
--- a/data/css/tagspaces.less
+++ /dev/null
@@ -1,466 +0,0 @@
-/* Copyright (c) 2012 The Tagspaces Authors.
- * All rights reserved. Use of this source code
- * is governed by a AGPL3 license that can be
- * found in the LICENSE file. */
-
-@fileExtColor: #008080; // #008080 | #9be8e8
-@baseTagColor: #008000; // #008000 | #a1eda1
-@directoryColor: #F6A828;
-@tagFontSize: 1em;
-
-@media print {
- #viewer {
- background-color: white;
- border: 2px dotted #c0c0c0;
- top: 0;
- left: 0;
- margin: 5px;
- padding: 10px;
- font-size: 14px;
- line-height: 18px;
- height: 100%;
- width: 100%;
- }
-}
-
-
-.roundedTagCorners (@radius: 2px) {
- border-radius: @radius;
- -webkit-border-radius: @radius;
- -moz-border-radius: @radius;
-}
-
-.arrowDownImage () {
- background-image: url("arrow-down.png");
- background-repeat: no-repeat;
- background-position: right;
-}
-
-html, body {
- width: 100%;
- height: 100%;
- padding: 0;
- margin: 0;
- overflow: hidden;
- font-size: 0.8em;
- font-family: Geneva, Arial, Helvetica, sans-serif;
-}
-
-/* Removes the selection border on ui elements on android */
-* { -webkit-tap-highlight-color: rgba(0,0,0,0); }
-
-#directoryList .ui-selecting { background: #fff5a3; }
-#directoryList .ui-selected { background: #fff5a3; color: white; }
-#directoryList { list-style-type: none; margin: 0; padding: 0; width: 100%; }
-#directoryList li { margin: 3px; padding: 0.4em; font-size: 1.0em; height: 18px; }
-
-/* Thumbs box design
- * TODO Move to viewThumb extension css
- * */
-.selectableFiles .ui-selecting { background: #fff5a3; }
-.selectableFiles .ui-selected { background: #fff5a3; color: white; }
-.selectableFiles { list-style-type: none; margin: 0; padding: 0; }
-.selectableFiles li { margin: 3px; padding: 1px; float: left; width: 100px; height: 100px; font-size: 1em; text-align: center; }
-
-#logo {
- padding: 0px;
- font-size: 1.4em;
- color: #dedede; // 00AE00
- font-weight: bold;
- padding-left: 32px;
- padding-top: 4px;
- background: url("logo28.png") no-repeat left center ;
- background-position: 0px 0px;
- height: 31px;
- display: inline-block;
-}
-
-.icon-tagspaces {
- background: url("logo.png") no-repeat;
- width: 16px;
- height: 16px;
-}
-
-#logo:hover {
- color: #00AE00;
-}
-
-#appVersion {
- font-size: 0.6em;
- color: white;
-}
-
-#currentLocation {
- padding: 0px;
- font-size: 1.3em;
- color: lightgray;
- display: inline-block;
- margin: 6px;
-}
-
-
-#loadingAnimation {
- display: inline-block;
- width: 24px;
- height: 28px;
- background: url("loading.gif") no-repeat center;
- vertical-align: middle;
-}
-
-#iframeViewer {
- width: 100%;
- height: 100%;
- border-width: 0px;
-}
-
-.thumbImg {
- max-width: 100px;
- max-height: 100px;
- vertical-align: text-top;
- border: 1px lightgray solid;
-}
-
-.fileTitle {
- font-size: 1.2em;
- color: #333333;
-}
-
-.fileExtension {
- padding: 2px;
- float: right;
- color: white;
- font-weight: bold;
- background-color: @fileExtColor;
-}
-
-#viewsRadio {
- margin: 3px 3px 3px 0px;
- display: inline-block;
-}
-
-#viewsRadio input {
- display: inline-block;
-}
-
-#fileSortRadio {
- display: inline-block;
-}
-
-#fileSortRadio input {
- display: inline-block;
-}
-
-
-#dialogAbout {
- width: 600px;
-}
-
-#fileTitle {
- font-weight: bold;
- font-size: 1.5em;
- color: #333333;
-}
-/*
-.contextMenu {
- display: none;
- width: 150px;
- z-index: 1000;
-}*/
-
-li hr {
- height: 0px;
- border: 0px;
-}
-
-.suggestedTagButton {
- background-color: #99B3FF;
- font-weight: bold;
- font-size: 1em;
- color: white;
- padding: 1px;
- margin: 1px;
- border-color: transparent;
-}
-
-// @baseTagColor;
-.tagButton {
- padding: 0px 2px 0px 2px;
-// background: #008000 !important;
- color: white !important;
- margin: 1px;
- border-color: transparent;
- z-index: 9999;
-}
-
-.tagButton:hover {
- color: white;
-}
-
-.tagButton:active {
- color: white;
-}
-
-.fileButton {
- padding: 1px;
- background-color: #E5E5E5;
- padding-left: 1px;
- padding-right: 12px;
- font-weight: normal;
- font-size: @tagFontSize;
- color: #222222;
- text-align: left;
- margin: 1px;
- border: #ddd solid 1px;
- z-index: 9999;
- .arrowDownImage;
- .roundedTagCorners;
-}
-
-.fileTitleButton {
- margin: 0px;
- z-index: 9999;
- text-align: left;
-}
-
-.extTagButton {
- padding: 0px 2px 0px 2px;
- color: white !important;
- margin: 1px;
- border-color: transparent;
- z-index: 9999;
- margin: 1px;
-}
-
-#container {
- height: 100%;
- margin: 0 auto;
- width: 100%;
- min-width: 700px;
-}
-.pane {
- display: none; /* will appear when layout inits */
-}
-
-/* Layout */
-.ui-layout-pane { /* all 'panes' */
- border: 0px;
-}
-
-.ui-layout-north {
- padding: 0px;
- background-color: #333333;
- overflow: hidden !important;
-}
-
-#directoryNavigatorNorth, #dirTree, #tagGroups, .middle-north, .east-north {
- background-color: white; //#F0F0F0;
-}
-
-#directoryNavigatorNorth {
- overflow: hidden !important;
-}
-
-#tagsContainer {
- width: 100%;
- min-height: 25px;
-}
-
-#viewToolbars {
- background-color: white; //#F0F0F0;
- padding: 2px;
-}
-#viewContainers, #viewFooters {
- background-color: white; //#F0F0F0;
- padding: 0;
-}
-
-.middle-north {
- background-color: #FFFFFF;
- overflow: hidden !important;
-}
-
-.middle-south {
- overflow: hidden !important;
-}
-
-.east-north {
- background-color: #FFFFFF;
- overflow: hidden !important;
-}
-
-/* Full screen workaround for webkit browser*/
-:-webkit-full-screen #viewer {
- width: 100%;
- height: 100%;
-}
-
-#viewer {
- background-color: white;
-}
-
-/* Directory Navigation css*/
-
-.dirButton {
- padding: 1px;
- background-color: @directoryColor !important;
- font-weight: bold;
- font-size: @tagFontSize;
- color: white;
- margin: 1px;
- border-color: transparent;
- .roundedTagCorners;
-}
-
-.dirButton:hover, .dirButton:active, .dirButton:focus {
- text-decoration: none;
- color: white;
-}
-
-/*desaturate(@directoryColor, 30%) */
-.dirButtonActive {
- background-color: #FFCC99;
-}
-
-#dirTree .selectedDirectory {
- background-color: #EBD5AA;
-}
-
-#dirTree {
- overflow-x: hidden;
- overflow-y: auto;
-}
-
-/* Tag Groups css */
-
-.tagGroupTitle {
- padding-left: 5px;
- text-decoration: none;
- color: gray;
- font-size: 12px;
- font-family: Geneva, Arial, Helvetica, sans-serif;
-}
-
-.tagGroupTitle:hover, .tagGroupTitle:active, .tagGroupTitle:focus {
- text-decoration: none;
- color: gray;
-}
-
-#tagGroups {
- overflow: auto;
-}
-
-/* JSON Editor */
-div.jsoneditor-menu {
- background-color: #C4E1A4;
-}
-
-div.jsoneditor-frame {
- border-color: green;
-}
-
-table.dataTable tr.even {
- background-color: white;
-}
-
-table.dataTable tr.odd {
- background-color: white;
-}
-
-.activeRow { background: #FFCC99 !important; }
-
-table.dataTable tr.ui-selecting { background: #fff5a3 !important; }
-table.dataTable tr.ui-selected { background: #fff5a3 !important; }
-
-table.dataTable tr.odd td.sorting_1 { background-color: inherit; }
-table.dataTable tr.odd td.sorting_2 { background-color: inherit; }
-table.dataTable tr.odd td.sorting_3 { background-color: inherit; }
-table.dataTable tr.even td.sorting_1 { background-color: inherit; }
-table.dataTable tr.even td.sorting_2 { background-color: inherit; }
-table.dataTable tr.even td.sorting_3 { background-color: inherit; }
-
-table.dataTable thead th {
- border-bottom: 1px solid lightgray;
-}
-
-table.dataTable tfoot th {
- border-top: 1px solid lightgray;
-}
-
-table.dataTable tbody td {
- border-bottom: 1px solid lightgray;
- text-align: top;
-}
-
-input a.resetFilter {
- text-indent: -1000em;
- width: 16px;
- height: 16px;
- display: inline-block;
- background: url('filter-reset.png') no-repeat center;
- position: relative;
- left: -20px;
- top: 3px;
-}
-
-
-/* Hiding the OOTB filter box */
-.dataTables_filter {
- display: none;
-}
-
-#selectedFilePath {
- color: #363636;
-}
-
-/* Bootstrap Styles */
-
-.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {
- text-decoration: none;
- color: gray;
- text-shadow: none;
-}
-
-/* Folders */
-.btn-warning, .btn-warning:hover, .btn-warning:focus, .btn-warning:active {
- background-color: #F6A828;
- background-image: none;
- text-shadow: none;
-}
-
-/* Extension #33b5be from logo */
-.btn-info, .btn-info:hover, .btn-info:focus, .btn-info:active {
- background-color: #417200;
- background-image: none;
- text-shadow: none;
-}
-
-/* Tags */
-.btn-success, .btn-success:hover, .btn-success:focus, .btn-success:active {
- background-color: green;
- background-image: none;
- text-shadow: none;
-}
-
-#mainMenu .btn-link, #mainMenu .btn-link:hover, #mainMenu .btn-link:focus, #mainMenu .btn-link:active {
- text-decoration: none;
- color: #dedede;
- text-shadow: none;
-}
-
-#mainMenu .btn-link:hover, #mainMenu .btn-link:focus, #mainMenu .btn-link:active {
- background-color: #999;
-}
-
-#mainMenu .active {
- background-color: #666;
-}
-
-#mainMenu .btn-group > .btn:last-child, #mainMenu .btn-group > .btn:first-child {
- -webkit-border-radius: 0px;
- -moz-border-radius: 0px;
- border-radius: 0px;
-}
-
-.icon-leaf:hover {
- color: green;
-}
\ No newline at end of file