@use '../global/globalCssVariables.module.scss' as global; .collectionNoteTakingView-DocumentButtons { opacity: 0; 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 { 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; border: 0px; padding: 12px 10px 11px 10px; } font-size: 75%; letter-spacing: 2px; cursor: pointer; .editableView-input { outline-color: black; letter-spacing: 2px; border: 0px; padding: 12px 10px 11px 10px; } } .collectionNoteTakingView { display: flex; } .collectionNoteTakingViewFieldColumnHover:hover { .collectionNoteTakingView-DocumentButtons { opacity: 1; } } // TODO:glr Turn this into a seperate class .documentButtonMenu { position: relative; height: fit-content; border-bottom: global.$standard-border; display: flex; justify-content: center; flex-direction: column; align-items: center; align-content: center; padding: 5px 0 5px 0; .documentExplanation { width: 90%; margin: 5px; font-size: 11px; background-color: global.$light-blue; color: global.$medium-blue; padding: 10px; border-radius: 10px; border: solid 2px global.$medium-blue; } } .collectionNoteTakingView { height: 100%; width: 100%; position: absolute; top: 0px; overflow-y: auto; overflow-x: hidden; transition: top 0.5s; > div { position: relative; display: block; } .collectionNoteTakingViewFieldColumn { overflow: auto; display: flex; flex-direction: column; height: max-content; } .collectionNoteTakingViewFieldColumnHover { min-height: 100%; // if we use this, then we can't have autoHeight } .collectionSchemaView-previewDoc { height: 100%; position: absolute; } .collectionNoteTakingView-docView-container { width: 45%; margin: 5% 2.5%; padding-left: 2.5%; height: auto; } .collectionNoteTakingView-columnStackContainer { height: 100%; overflow: auto; width: 100%; display: flex; } .collectionNoteTakingView-columnStack { height: 100%; width: 100%; display: table-cell; } .collectionNoteTakingView-Nodes { width: 100%; position: absolute; display: flex; flex-direction: column; align-items: center; top: 0px; left: 0px; width: 100%; position: absolute; margin: auto; height: max-content; position: relative; grid-auto-rows: 0px; } .collectionNoteTakingView-description { font-size: 100%; margin-bottom: 1vw; padding: 10px; height: 2vw; width: 100%; font-family: global.$sans-serif; background: global.$dark-gray; color: global.$white; } .collectionNoteTakingView-columnDragger { width: 15px; height: 15px; position: absolute; margin-left: -5px; } .collectionNoteTakingView-sectionDelete { display: none; position: absolute; right: 0px; width: max-content; height: max-content; top: 10px; padding: 2px; } // Documents in NoteTaking view .collectionNoteTakingView-columnDoc { display: flex; width: 100%; // 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 { 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); } } } } .collectionNoteTakingView-collapseBar { margin-left: 2px; margin-right: 2px; margin-top: 2px; background: global.$medium-gray; height: 5px; &.active { margin-left: 0px; margin-right: 0px; background: red; } } .collectionNoteTakingView-miniHeader { width: 100%; .editableView-container-editing-oneLine { min-height: 20px; display: flex; align-items: center; flex-direction: row; } span::before, span::after { content: ''; width: 50%; border-top: dashed gray 1px; position: relative; display: inline-block; } span::before { margin-right: 10px; } span::after { margin-left: 10px; } span { position: relative; text-align: center; white-space: nowrap; overflow: visible; width: 100%; display: flex; align-items: center; } } .collectionNoteTakingView-sectionHeader { text-align: center; margin: auto; margin-bottom: 10px; background: global.$medium-gray; // overflow: hidden; overflow is visible so the color menu isn't hidden -ftong .editableView-input:hover, .editableView-container-editing:hover, .editableView-container-editing-oneLine:hover { cursor: text; } .collectionNoteTakingView-sectionHeader-subCont { outline: none; border: 0px; width: 100%; letter-spacing: 2px; font-size: 75%; transition: transform 0.2s; position: relative; height: 30px; display: flex; align-items: center; justify-content: center; color: global.$dark-gray; .editableView-container-editing-oneLine, .editableView-container-editing { padding: 10px; } .editableView-input:hover, .editableView-container-editing:hover, .editableView-container-editing-oneLine:hover { cursor: text; } .editableView-input { padding: 12px 10px 11px 10px; border: 0px; text-align: center; letter-spacing: 2px; outline-color: black; } } .collectionNoteTakingView-sectionColor { position: absolute; left: 0px; top: 0px; height: 100%; display: none; [class*='css'] { max-width: 102px; } .collectionNoteTakingView-sectionColorButton { height: 30px; display: inherit; } .collectionNoteTakingView-colorPicker { width: 78px; z-index: 10; position: relative; background: white; .colorOptions { display: flex; flex-wrap: wrap; } .colorPicker { cursor: pointer; width: 20px; height: 20px; border-radius: 10px; margin: 3px; &.active { border: 2px solid white; box-shadow: 0 0 0 2px lightgray; } } } } .collectionNoteTakingView-sectionOptions { position: absolute; right: 0px; top: 0px; height: 100%; display: none; [class*='css'] { max-width: 102px; } .collectionNoteTakingView-sectionOptionButton { height: 30px; } .collectionNoteTakingView-optionPicker { .optionOptions { display: inline; } .optionPicker { cursor: pointer; height: 20px; border-radius: 10px; margin: 3px; width: max-content; &.active { color: red; } } } } } .collectionNoteTakingView-sectionHeader:hover { .collectionNoteTakingView-sectionColor { display: unset; } .collectionNoteTakingView-sectionOptions { display: unset; } .collectionNoteTakingView-sectionDelete { display: unset; } } .collectionNoteTakingView-addDocumentButton, .collectionNoteTakingView-addGroupButton { display: flex; overflow: hidden; margin: auto; width: 90%; overflow: ellipses; .editableView-container-editing-oneLine, .editableView-container-editing { 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; border: 0px; padding: 12px 10px 11px 10px; &::placeholder { color: black; } } } .collectionNoteTakingView-addDocumentButton { opacity: 0.5; font-size: 75%; letter-spacing: 2px; cursor: pointer; .editableView-input { outline-color: black; letter-spacing: 2px; border: 0px; padding: 12px 10px 11px 10px; } &:hover { opacity: unset; } } .collectionNoteTakingView-addGroupButton { background: rgb(238, 238, 238); font-size: 75%; text-align: center; letter-spacing: 2px; height: fit-content; } .rc-switch { position: absolute; display: inline-block; bottom: 4px; right: 4px; width: 70px; height: 30px; border-radius: 40px 40px; background-color: lightslategrey; } .rc-switch:after { position: absolute; width: 22px; height: 22px; left: 3px; top: 4px; border-radius: 50% 50%; background-color: #fff; content: ' '; cursor: pointer; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26); -webkit-transform: scale(1); transform: scale(1); transition: left 0.3s cubic-bezier(0.35, 0, 0.25, 1); -webkit-animation-timing-function: cubic-bezier(0.35, 0, 0.25, 1); animation-timing-function: cubic-bezier(0.35, 0, 0.25, 1); -webkit-animation-duration: 0.3s; animation-duration: 0.3s; } .rc-switch-checked:after { left: 44px; } .rc-switch-inner { color: #fff; font-size: 12px; position: absolute; left: 28px; top: 8px; } .rc-switch-checked .rc-switch-inner { left: 8px; } .collectionNoteTaking-pivotField { display: none; } &:hover { .collectionNoteTaking-pivotField { display: unset; } } } .collectionNoteTakingViewLight { .collectionNoteTakingView-addDocumentButton, .collectionNoteTakingView-addGroupButton { .editableView-input::placeholder { color: white; } } } @media only screen and (max-device-width: 480px) { .collectionNoteTakingView .collectionNoteTakingView-columnDragger, .collectionNoteTakingView-columnDragger { width: 0.1; height: 0.1; opacity: 0; font-size: 0; } }