aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingView.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-08-03 18:59:00 -0400
committerbobzel <zzzman@gmail.com>2022-08-03 18:59:00 -0400
commit29d0c334b0bb28b6ae6e1f94fae12d1b4ee0e545 (patch)
tree5c1d769005abca78f2e6284386c30a19dd93ed6b /src/client/views/collections/CollectionNoteTakingView.scss
parent55bac585fa0b8d6c3f513ccecb22456d1d361040 (diff)
fixed dragging external documents onto notetaking view
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.scss')
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.scss152
1 files changed, 71 insertions, 81 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.scss b/src/client/views/collections/CollectionNoteTakingView.scss
index a878033ed..fe98f307e 100644
--- a/src/client/views/collections/CollectionNoteTakingView.scss
+++ b/src/client/views/collections/CollectionNoteTakingView.scss
@@ -1,50 +1,50 @@
-@import "../global/globalCssVariables";
+@import '../global/globalCssVariables';
.collectionNoteTakingView-DocumentButtons {
- display: flex;
- justify-content: space-between;
- margin: auto;
+ display: flex;
+ justify-content: space-between;
+ margin: auto;
}
.collectionNoteTakingView-addDocumentButton {
- display: flex;
- overflow: hidden;
- margin: auto;
- width: 100%;
- overflow: ellipses;
-
- .editableView-container-editing-oneLine,
- .editableView-container-editing {
- color: grey;
- padding: 10px;
- width: 100%;
- }
-
- .editableView-input:hover,
- .editableView-container-editing:hover,
- .editableView-container-editing-oneLine:hover {
- cursor: text
- }
-
- .editableView-input {
- outline-color: black;
- letter-spacing: 2px;
- color: grey;
- border: 0px;
- padding: 12px 10px 11px 10px;
- }
-
- font-size: 75%;
- letter-spacing: 2px;
- cursor: pointer;
-
- .editableView-input {
- outline-color: black;
- letter-spacing: 2px;
- color: grey;
- border: 0px;
- padding: 12px 10px 11px 10px;
- }
+ display: flex;
+ overflow: hidden;
+ margin: auto;
+ width: 100%;
+ overflow: ellipses;
+
+ .editableView-container-editing-oneLine,
+ .editableView-container-editing {
+ color: grey;
+ padding: 10px;
+ width: 100%;
+ }
+
+ .editableView-input:hover,
+ .editableView-container-editing:hover,
+ .editableView-container-editing-oneLine:hover {
+ cursor: text;
+ }
+
+ .editableView-input {
+ outline-color: black;
+ letter-spacing: 2px;
+ color: grey;
+ border: 0px;
+ padding: 12px 10px 11px 10px;
+ }
+
+ font-size: 75%;
+ letter-spacing: 2px;
+ cursor: pointer;
+
+ .editableView-input {
+ outline-color: black;
+ letter-spacing: 2px;
+ color: grey;
+ border: 0px;
+ padding: 12px 10px 11px 10px;
+ }
}
.collectionNoteTakingView {
@@ -83,21 +83,13 @@
overflow-y: auto;
overflow-x: hidden;
flex-wrap: wrap;
- transition: top .5s;
+ transition: top 0.5s;
- >div {
+ > div {
position: relative;
display: block;
}
- .collectionNoteTakingViewFieldColumn {
- height: max-content;
- }
-
- .collectionNoteTakingViewFieldColumnDragging {
- height: 100%;
- }
-
.collectionSchemaView-previewDoc {
height: 100%;
position: absolute;
@@ -144,33 +136,33 @@
// Documents in NoteTaking view
.collectionNoteTakingView-columnDoc {
display: flex;
- // margin: auto; // Removed auto so that it is no longer center aligned - this could be something we change
+ // margin: auto; // Removed auto so that it is no longer center aligned - this could be something we change
position: relative;
&:hover {
- .hoverButtons{
- opacity: 1;
- }
+ .hoverButtons {
+ opacity: 1;
+ }
}
.hoverButtons {
- display: flex;
- opacity: 0;
- position: absolute;
- height: 100%;
- left: -35px;
- justify-content: center;
- align-items: center;
- padding: 0px 10px;
-
- .buttonWrapper {
- padding: 3px;
- border-radius: 3px;
-
- &:hover {
- background: rgba(0, 0, 0, 0.26);
+ display: flex;
+ opacity: 0;
+ position: absolute;
+ height: 100%;
+ left: -35px;
+ justify-content: center;
+ align-items: center;
+ padding: 0px 10px;
+
+ .buttonWrapper {
+ padding: 3px;
+ border-radius: 3px;
+
+ &:hover {
+ background: rgba(0, 0, 0, 0.26);
+ }
}
- }
}
}
@@ -200,7 +192,7 @@
span::before,
span::after {
- content: "";
+ content: '';
width: 50%;
border-top: dashed gray 1px;
position: relative;
@@ -241,7 +233,7 @@
.editableView-input:hover,
.editableView-container-editing:hover,
.editableView-container-editing-oneLine:hover {
- cursor: text
+ cursor: text;
}
.collectionNoteTakingView-sectionHeader-subCont {
@@ -287,7 +279,7 @@
height: 100%;
display: none;
- [class*="css"] {
+ [class*='css'] {
max-width: 102px;
}
@@ -329,7 +321,7 @@
height: 100%;
display: none;
- [class*="css"] {
+ [class*='css'] {
max-width: 102px;
}
@@ -338,7 +330,6 @@
}
.collectionNoteTakingView-optionPicker {
-
.optionOptions {
display: inline;
}
@@ -398,7 +389,7 @@
.editableView-input:hover,
.editableView-container-editing:hover,
.editableView-container-editing-oneLine:hover {
- cursor: text
+ cursor: text;
}
.editableView-input {
@@ -451,7 +442,7 @@
top: 4px;
border-radius: 50% 50%;
background-color: #fff;
- content: " ";
+ content: ' ';
cursor: pointer;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
-webkit-transform: scale(1);
@@ -481,7 +472,6 @@
}
@media only screen and (max-device-width: 480px) {
-
.collectionNoteTakingView .collectionNoteTakingView-columnDragger,
.collectionNoteTakingView-columnDragger {
width: 0.1;
@@ -489,4 +479,4 @@
opacity: 0;
font-size: 0;
}
-} \ No newline at end of file
+}