TagSpaces is an offline, open source, document manager with tagging support
splitting the css
uggrock60bbe5bb314e
diff --git a/data/assets/components.css b/data/assets/components.cssindex b5186b89d..b33f8b13d 100644--- a/data/assets/components.css+++ b/data/assets/components.css@@ -148,6 +148,10 @@ Licensed under MIT https://github.com/tobiasahlin/SpinKit/blob/master/LICENSEfont-size: 14px;}+.select2-container {+ border: 1px solid #f4f4f4 !important;+}+.select2-search-choice-close {background-position: right -11px;}diff --git a/data/assets/core.css b/data/assets/core.cssnew file mode 100644index 000000000..7a3460593--- /dev/null+++ b/data/assets/core.css@@ -0,0 +1,542 @@+/* Copyright (c) 2012-2015 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. */++.appbody {+ position: fixed;+ top: 0;+ left: 0;+ right:0;+}++#logo {+ padding: 0;+ font-size: 1.5em;+ margin: 3px;+ color: #616577;+ font-weight: bold;+ padding-left: 32px;+ padding-top: 4px;+ background: url("icon.svg") no-repeat left center;+ background-size: 28px 28px;+ background-position: 0 0;+ height: 31px;+ display: inline-block;+}++#appVersion {+ font-size: 1.3em;+ color: #616577;+}++#startNewInstanceBack {+ cursor: pointer;+}++#currentLocation {+ padding: 0;+ font-size: 1.3em;+ color: lightgray;+ display: inline-block;+ margin: 6px;+}++#statusBar {+ margin-top: 12px;+ font-size: 14px;+ font-size: 12px;+ text-align: center;+}++#fileDropArea {+ width: 100%;+ height: 100%;+ background-color: rgba(29, 209, 159, 0.72);+ z-index: 1001;+ position: absolute;+ top: 80px;+ left: 0;+}++#fileDropExplanation {+ top:45%;+ width: 100%;+ text-align: center;+ position:absolute;+ color: white;+ font-size: 20px;+}++#iframeViewer {+ width: 100%;+ border-width: 0;+}++#fileMenuButton {+ padding-left: 0;+ padding-right: 0;+ margin-right: 4px;+}++#fileTitle {+ height: 30px;+ line-height: 2.2;+ padding-right: 4px;+ font-size: 16px;+ font-weight: 300;+ border: 0;+ background-color: transparent;+ color: #333333;+ max-width: 150px;+ z-index: 2;+ white-space: nowrap;+}++#fileTitle:hover {+ text-decoration: none;+ background-color: rgb(210, 210, 210);+}++/* bootstrap3xeditable class */+.editable-inline {+ margin-top: 5px;+}++.editable-inline input {+ font-size: 16px !important;+}+/* END bootstrap3xeditable class */++#viewsRadio {+ margin: 3px 3px 3px 0;+ display: inline-block;+}++#viewsRadio input {+ display: inline-block;+}++#fileSortRadio {+ display: inline-block;+}++#fileSortRadio input {+ display: inline-block;+}++#dialogAbout {+ width: 600px;+}++#container {+ height: 100%;+ margin: 0 auto;+ width: 100%;+ min-width: 700px;+}++/* Layout */+#locationContent, #tagGroupsContent{+ background-color: transparent;+}++#tagGroupsContent {+ min-height: 50px;+}++#clearFilterButton {+ padding-left: 8px;+ padding-right: 10px;+}++#searchButton {+ padding-left: 10px;+ padding-right: 10px;+}++#clearSearchButton {+ padding-left: 10px;+ padding-right: 10px;+}++#showSearchOptionsButton {+ padding-left: 10px;+ padding-right: 10px;+}++#searchToolbar {+ border-radius: 4px;+ width: 300px;+ background-color: #DBDBDB;+ display: none;+ margin-left: 4px;+ margin-right: 4px;+ margin-bottom: 4px;+ z-index: 1;+ box-shadow: -20px 0px 28px -7px rgba(244, 244, 244, 1);+}++#searchBox {+ margin-top: 4px;+ border: 0;+ background-color: transparent;+ border-bottom: 0;+ font-size: 14px;+ min-width: 30px;+ width: 100%;+}++.searchFormElements {+ font-size: 14px !important;+}++#tagsContainer {+ width: 100%;+ min-height: 40px;+ margin: 0;+}++#viewToolbars {+ min-height: 40px;+}++#viewContainers {+ background-color: white;+ padding: 0;+}++#viewer {+ background-color: white;+ width: 100%;+ /*height: 100%;*/+}+++/* Directory Navigation */++.dirButton {+ font-size: 13px;+ background-color: #E5E5E5;+ color: #444444;+ background-image: none;+ margin: 1px;+ text-align: left;++ flex: 1 1 auto;+ -webkit-flex: 1 1 auto;+ -ms-flex: 1 1 auto;+}++.dirButton div {+ max-width: 265px;+ text-overflow: ellipsis;+ overflow: hidden;+}++.dirButtonContainer {+ display: flex;+ display: -webkit-flex;+ display: -ms-flexbox;++ flex-wrap: wrap;+}++.dirAltNavMenu .dirButton{+ max-width: 265px;+ overflow: hidden;+ text-overflow: ellipsis;+}++.dirButton:hover, .dirButton:active, .dirButton:focus {+ background-color: #ddd;+}++.dropOnFolder {+ background-color: #F6A828 !important;+}++.dirButtonActive {+ background-color: #E2E2E2 !important;+}++#location .selectedDirectory {+ background-color: #EBD5AA;+}++#locationContent {+ overflow-x: hidden;+ overflow-y: auto;+}++.tagGroupIcon {+ width: 40px;+ padding-left: 5px;+}++.tagGroupTitle {+ text-align: left;+ padding: 10px 0 0 2px;+ font-size: 14px !important;+ max-width: 280px;+ text-overflow: ellipsis;+ overflow: hidden;+}++.tagGroupActions {+ width: 40px;+}++.directoryIcon {+ width: 40px;+ padding-left: 5px;+}++.tagButton .caret, .extTagButton .caret {+ border-top-color: white !important;+}++.tagButton {+ padding: 2px 4px 2px 4px !important;+ background: #008000 !important;+ color: white !important;+ margin: 1px;+ border: 0;+ z-index: 9999;+ border-radius: 5px !important;+ text-decoration: none !important;+ max-width: 150px;+ text-overflow: ellipsis;+ overflow: hidden;+}+++.directoryTitle {+ text-align: left;+ padding-left: 0px;+ padding-right: 0px;+ font-size: 14px !important;+ max-width: 280px;+ text-overflow: ellipsis;+ overflow: hidden;+}++.directoryActions {+ width: 40px;+}++input a.resetFilter {+ text-indent: -1000em;+ width: 16px;+ height: 16px;+ display: inline-block;+ position: relative;+ left: -20px;+ top: 3px;+}++/* Hiding the OOTB filter box */+.dataTables_filter {+ display: none;+}++/* Full screen workaround for webkit browser*/+:-webkit-full-screen #viewer {+ width: 100%;+ height: 100%;+}++/* Used in welcome dialog */+.carousel-inner > .item > img {+ margin: 0 auto;+ max-height: 100%;+ max-width: 100%;+}++.icon-leaf:hover {+ color: green;+}++.groupTitle {+ color: #444444;+ font-weight: bold;+ font-size: 12px;+ display: inline-block;+}++#dialogOptions .modal-header {+ height: 97px;+}++#dialogOptions .modal-body {+ overflow-y: auto;+ overflow-x: hidden;+ min-height: 400px;+ max-height: 400px;+}++.white-caret {+ border-top-color: white;+ border-bottom-color: white;+}++.fileTitleButton {+ margin: 1px;+ padding: 1px;+ margin-left: 5px;+}++.fileExt {+ background-color: #515151;+ text-transform:uppercase;+ font-size: 12px;+ padding: 4px;+ color: white;+}++.optionsTitle {+ text-transform: uppercase;+ font-weight: normal;+ color: gray;+ padding: 5px 10px 5px 10px !important;+ font-size: 12px;+}++#welcomeScreen {+ background: url(welcome-logo.png) no-repeat center;+ background-size: auto auto;+ width: 100%;+ height: 100%;+}++#newVersionAvailable {+ padding-top: 8px;+ color: #7bd148;+ display: none;+}++#sideBarButtonGroup {+ margin-right: 3px;+ white-space: nowrap;+}++#showTagGroups, #showLocations, #contactUs {+ width: 50px;+}++#contactUsContent {+ display: none;+}++#contactUsContent a {+ height: 45px;+ color: #404040;+ width: 100%;+ text-align: left;+}++#alternativeNavigator .btn-link {+ padding-left: 0px;+ padding-right: 0px;+ color: #404040;+}++#alternativeNavigator {+ margin: 0px 5px 5px 0;+ height: 30px;+ min-width: 100px;+ max-width: 150px+}++.dirAltNavMenu ul {+ overflow-y: auto;+ max-height: 430px;+ width: 250px;+ padding: 5px;+ display: block;+}++.dirAltNavMenu li {+ max-width: 240px;+ text-overflow: ellipsis;+ overflow: hidden;+}++.altNavFolderTitle {+ max-width: 200px;+ text-overflow: ellipsis;+ overflow: hidden;+ margin-left: 0;+ padding-left: 4px;+ padding-right: 4px;+}++.altNavFolderTitle:hover {+ background-color: lightgray;+}++#closeOpenedFile {+ position: fixed;+ top: 1px;+ right: 0px;+ height: 37px;+ box-shadow: -11px 1px 24px -1px #F2F2F2;+ background-color: #F2F2F2;+}++#perspectiveSwitcher {+ top: 7px;+ right: 7px;+ min-width: 200px;+}++.keyShortcut {+ margin-top: 15px;+ display: none;+}++#addTagFileViewer {+ height: 22px;+ width: 35px;+ margin-right: 4px;+ padding-top: 0px;+}++.contactUsSeparator {+ margin: 0 15px 0 15px;+ border-top: 1px solid #ddd+}++.appBackgroundTile {+ background-image: url('background.png');+ background-repeat: repeat;+ margin: 0;+}++/* Setting the background of every perspective to white */+.col2 > .row2 > div {+ background-color: white;+}++#exitFullScreen {+ position: absolute;+ top: 5px;+ right: 5px;+ color: white;+ background-color: rgba(173, 173, 173, 0.5);+ display: none;+ z-index: 99999;+}++#openLeftPanel {+ padding-left: 12px;+ padding-right: 12px;+ padding-top: 2px;+}++#perspectiveSwitcherButton {+ background-color: #F2F2F2;+}++.betaTag {+ color: red;+ margin-left: 5px;+}diff --git a/data/assets/general.css b/data/assets/general.cssindex 148a6c121..1f0d072cc 100644--- a/data/assets/general.css+++ b/data/assets/general.css@@ -25,13 +25,6 @@ html, body {font-family: Ubuntu, Geneva, Arial, Helvetica, sans-serif;}-.appbody {- position: fixed;- top: 0;- left: 0;- right:0;-}-/* Removes the selection border on ui elements on android */* {-webkit-tap-highlight-color: rgba(0,0,0,0);@@ -47,20 +40,17 @@ html, body {}/* Custom scrollbars for chrome */-::-webkit-scrollbar-track-{+::-webkit-scrollbar-track {background-color: transparent;}-::-webkit-scrollbar-{+::-webkit-scrollbar {width: 8px;height: 8px;background-color: #F5F5F5;}-::-webkit-scrollbar-thumb-{+::-webkit-scrollbar-thumb {background-color: #bbb;}@@ -70,103 +60,6 @@ html, body {color: lightgray;}-#logo {- padding: 0;- font-size: 1.5em;- margin: 3px;- color: #616577;- font-weight: bold;- padding-left: 32px;- padding-top: 4px;- background: url("icon.svg") no-repeat left center;- background-size: 28px 28px;- background-position: 0 0;- height: 31px;- display: inline-block;-}--#appVersion {- font-size: 1.3em;- color: #616577;-}--#startNewInstanceBack {- cursor: pointer;-}--#currentLocation {- padding: 0;- font-size: 1.3em;- color: lightgray;- display: inline-block;- margin: 6px;-}--#statusBar {- margin-top: 12px;- font-size: 14px;- font-size: 12px;- text-align: center;-}--#fileDropArea {- width: 100%;- height: 100%;- background-color: rgba(29, 209, 159, 0.72);- z-index: 1001;- position: absolute;- top: 80px;- left: 0;-}--#fileDropExplanation {- top:45%;- width: 100%;- text-align: center;- position:absolute;- color: white;- font-size: 20px;-}--#iframeViewer {- width: 100%;- border-width: 0;-}--#fileMenuButton {- padding-left: 0;- padding-right: 0;- margin-right: 4px;-}--#fileTitle {- height: 30px;- line-height: 2.2;- padding-right: 4px;- font-size: 16px;- font-weight: 300;- border: 0;- background-color: transparent;- color: #333333;- max-width: 150px;- z-index: 2;- white-space: nowrap;-}--#fileTitle:hover {- text-decoration: none;- background-color: rgb(210, 210, 210);-}--/* bootstrap3xeditable class */-.editable-inline {- margin-top: 5px;-}--.editable-inline input {- font-size: 16px !important;-}-.noWrap {white-space:nowrap !important;}@@ -175,255 +68,11 @@ html, body {word-wrap: break-word !important;}-#viewsRadio {- margin: 3px 3px 3px 0;- display: inline-block;-}--#viewsRadio input {- display: inline-block;-}--#fileSortRadio {- display: inline-block;-}--#fileSortRadio input {- display: inline-block;-}--#dialogAbout {- width: 600px;-}-li hr {height: 0;border: 0;}-#container {- height: 100%;- margin: 0 auto;- width: 100%;- min-width: 700px;-}--/* Layout */-#locationContent, #tagGroupsContent{- background-color: transparent;-}--#tagGroupsContent {- min-height: 50px;-}--#clearFilterButton {- padding-left: 8px;- padding-right: 10px;-}--#searchButton {- padding-left: 10px;- padding-right: 10px;-}--#clearSearchButton {- padding-left: 10px;- padding-right: 10px;-}--#showSearchOptionsButton {- padding-left: 10px;- padding-right: 10px;-}--#searchToolbar {- border-radius: 4px;- width: 300px;- background-color: #DBDBDB;- display: none;- margin-left: 4px;- margin-right: 4px;- margin-bottom: 4px;- z-index: 1;- box-shadow: -20px 0px 28px -7px rgba(244, 244, 244, 1);-}--#searchBox {- margin-top: 4px;- border: 0;- background-color: transparent;- border-bottom: 0;- font-size: 14px;- min-width: 30px;- width: 100%;-}--.searchFormElements {- font-size: 14px !important;-}--#tagsContainer {- width: 100%;- min-height: 40px;- margin: 0;-}--#viewToolbars {- min-height: 40px;-}--#viewContainers {- background-color: white;- padding: 0;-}--.searchSummary {- padding-top: 2px;- padding-left: 2px;- font-size: 1.0em;- border-width: 0-}--/* Full screen workaround for webkit browser*/-:-webkit-full-screen #viewer {- width: 100%;- height: 100%;-}--#viewer {- background-color: white;- width: 100%;- /*height: 100%;*/-}--/* Directory Navigation */--.dirButton {- font-size: 13px;- background-color: #E5E5E5;- color: #444444;- background-image: none;- margin: 1px;- text-align: left;-- flex: 1 1 auto;- -webkit-flex: 1 1 auto;- -ms-flex: 1 1 auto;-}--.dirButton div {- max-width: 265px;- text-overflow: ellipsis;- overflow: hidden;-}--.dirButtonContainer {- display: flex;- display: -webkit-flex;- display: -ms-flexbox;-- flex-wrap: wrap;-}--.dirAltNavMenu .dirButton{- max-width: 265px;- overflow: hidden;- text-overflow: ellipsis;-}--.dirButton:hover, .dirButton:active, .dirButton:focus {- background-color: #ddd;-}--.dropOnFolder {- background-color: #F6A828 !important;-}--.dirButtonActive {- background-color: #E2E2E2 !important;-}--#location .selectedDirectory {- background-color: #EBD5AA;-}--#locationContent {- overflow-x: hidden;- overflow-y: auto;-}--.tagGroupIcon {- width: 40px;- padding-left: 5px;-}--.tagGroupTitle {- text-align: left;- padding: 10px 0 0 2px;- font-size: 14px !important;- max-width: 280px;- text-overflow: ellipsis;- overflow: hidden;-}--.tagGroupActions {- width: 40px;-}--.directoryIcon {- width: 40px;- padding-left: 5px;-}--.tagButton .caret, .extTagButton .caret {- border-top-color: white !important;-}--.tagButton {- padding: 2px 4px 2px 4px !important;- background: #008000 !important;- color: white !important;- margin: 1px;- border: 0;- z-index: 9999;- border-radius: 5px !important;- text-decoration: none !important;- max-width: 150px;- text-overflow: ellipsis;- overflow: hidden;-}---.directoryTitle {- text-align: left;- padding-left: 0px;- padding-right: 0px;- font-size: 14px !important;- max-width: 280px;- text-overflow: ellipsis;- overflow: hidden;-}--.directoryActions {- width: 40px;-}--input a.resetFilter {- text-indent: -1000em;- width: 16px;- height: 16px;- display: inline-block;- position: relative;- left: -20px;- top: 3px;-}--/* Hiding the OOTB filter box */-.dataTables_filter {- display: none;-}-/* Bootstrap Styles */.btn, .btn:hover, .btn:focus, .btn:active, .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active {@@ -467,31 +116,12 @@ input a.resetFilter {text-shadow: none;}-/* Tags */-.carousel-inner > .item > img {- margin: 0 auto;- max-height: 100%;- max-width: 100%;-}--.icon-leaf:hover {- color: green;-}--.groupTitle {- color: #444444;- font-weight: bold;- font-size: 12px;- display: inline-block;-}-.modal-body {font-size: 14px;padding-bottom: 0;}/* Bootstap modals fullscreen on small screen */-@media (max-width: 768px) {.fullScreenMobile {position: fixed;@@ -575,17 +205,6 @@ input a.resetFilter {font-size: x-large;}-#dialogOptions .modal-header {- height: 97px;-}--#dialogOptions .modal-body {- overflow-y: auto;- overflow-x: hidden;- min-height: 400px;- max-height: 400px;-}-/* END Bootstap modals fullscreen on small screen *//* Tablet optimization */@@ -609,144 +228,12 @@ input a.resetFilter {background-color: #FAFAFA;}-.fileExt {- background-color: #515151;- text-transform:uppercase;- font-size: 12px;- padding: 4px;- color: white;-}-.dropdown {position: absolute;display:none;z-index: 88888;}-.white-caret {- border-top-color: white;- border-bottom-color: white;-}--.fileTitleButton {- margin: 1px;- padding: 1px;- margin-left: 5px;-}--.optionsTitle {- text-transform: uppercase;- font-weight: normal;- color: gray;- padding: 5px 10px 5px 10px !important;- font-size: 12px;-}--#welcomeScreen {- background: url(welcome-logo.png) no-repeat center;- background-size: auto auto;- width: 100%;- height: 100%;-}--#newVersionAvailable {- padding-top: 8px;- color: #7bd148;- display: none;-}--#sideBarButtonGroup {- margin-right: 3px;- white-space: nowrap;-}--#showTagGroups, #showLocations, #contactUs {- width: 50px;-}--#contactUsContent {- display: none;-}--#contactUsContent a {- height: 45px;- color: #404040;- width: 100%;- text-align: left;-}--#alternativeNavigator .btn-link {- padding-left: 0px;- padding-right: 0px;- color: #404040;-}--#alternativeNavigator {- margin: 0px 5px 5px 0;- height: 30px;- min-width: 100px;- max-width: 150px-}--.dirAltNavMenu ul {- overflow-y: auto;- max-height: 430px;- width: 250px;- padding: 5px;- display: block;-}--.dirAltNavMenu li {- max-width: 240px;- text-overflow: ellipsis;- overflow: hidden;-}--.altNavFolderTitle {- max-width: 200px;- text-overflow: ellipsis;- overflow: hidden;- margin-left: 0;- padding-left: 4px;- padding-right: 4px;-}--.altNavFolderTitle:hover {- background-color: lightgray;-}--#closeOpenedFile {- position: fixed;- top: 1px;- right: 0px;- height: 37px;- box-shadow: -11px 1px 24px -1px #F2F2F2;- background-color: #F2F2F2;-}--#perspectiveSwitcher {- top: 7px;- right: 7px;- min-width: 200px;-}--.keyShortcut {- margin-top: 15px;- display: none;-}--#addTagFileViewer {- height: 22px;- width: 35px;- margin-right: 4px;- padding-top: 0px;-}--.contactUsSeparator {- margin: 0 15px 0 15px;- border-top: 1px solid #ddd-}-@media(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {#welcomeScreen {@@ -762,12 +249,6 @@ input a.resetFilter {border: 3px dashed #1DD19F;}-.appBackgroundTile {- background-image: url('background.png');- background-repeat: repeat;- margin: 0;-}-@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi) {.appBackgroundTile {@@ -777,31 +258,6 @@ input a.resetFilter {}}-/* Setting the background of every perspective to white */-.col2 > .row2 > div {- background-color: white;-}--#exitFullScreen {- position: absolute;- top: 5px;- right: 5px;- color: white;- background-color: rgba(173, 173, 173, 0.5);- display: none;- z-index: 99999;-}--#openLeftPanel {- padding-left: 12px;- padding-right: 12px;- padding-top: 2px;-}--#perspectiveSwitcherButton {- background-color: #F2F2F2;-}-label.control-label {padding-top: 6px !important;}@@ -810,15 +266,6 @@ label.control-label {border: 1px solid #f4f4f4 !important;}-.select2-container {- border: 1px solid #f4f4f4 !important;-}-.form-control {border-radius: 0px;-}--.betaTag {- color: red;- margin-left: 5px;}\ No newline at end of filediff --git a/data/assets/tagspaces.css b/data/assets/tagspaces.cssindex ce31ae3de..56667ad43 100644--- a/data/assets/tagspaces.css+++ b/data/assets/tagspaces.css@@ -9,5 +9,6 @@@import '../libs/x-editable/dist/bootstrap3-editable/css/bootstrap-editable.css';@import '../libs/animate.css/animate.min.css';@import 'general.css';+@import 'core.css';@import 'layout.css';@import 'components.css';