aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkEditor.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-11-29 12:05:29 -0500
committerbobzel <zzzman@gmail.com>2022-11-29 12:05:29 -0500
commitc6d1059e24f362a167b9ac24e6f13d1e45361da9 (patch)
treea0136cee04608c73f54ac3ecd63bed0307a37fd4 /src/client/views/linking/LinkEditor.scss
parent1f5db9cfc594dbf337d752ec94dab5fca7d8b6f7 (diff)
changes to streamline link editing UI (got rid of LinkEditor). cleaned up link (un)highlighting.
Diffstat (limited to 'src/client/views/linking/LinkEditor.scss')
-rw-r--r--src/client/views/linking/LinkEditor.scss334
1 files changed, 0 insertions, 334 deletions
diff --git a/src/client/views/linking/LinkEditor.scss b/src/client/views/linking/LinkEditor.scss
deleted file mode 100644
index b0ee4e46d..000000000
--- a/src/client/views/linking/LinkEditor.scss
+++ /dev/null
@@ -1,334 +0,0 @@
-@import '../global/globalCssVariables';
-
-.linkEditor {
- width: 100%;
- height: auto;
- font-size: 13px; // TODO
- user-select: none;
- max-width: 280px;
-}
-
-.linkEditor-button-back {
- //margin-bottom: 6px;
- border-radius: 10px;
- width: 18px;
- height: 18px;
- padding: 0;
-
- &:hover {
- cursor: pointer;
- }
-}
-
-.linkEditor-info {
- padding-top: 12px;
- padding-left: 5px;
- padding-bottom: 3px;
- //margin-bottom: 6px;
- display: flex;
- justify-content: space-between;
- color: black;
-
- .linkEditor-linkedTo {
- width: calc(100% - 46px);
- overflow: hidden;
- position: relative;
- text-overflow: ellipsis;
- white-space: pre;
-
- .linkEditor-downArrow {
- &:hover {
- cursor: pointer;
- }
- }
- }
-}
-
-.linkEditor-moreInfo {
- margin-left: 12px;
- padding-left: 13px;
- padding-right: 6.5px;
- padding-bottom: 4px;
- font-size: 9px;
- //font-style: italic;
- text-decoration-color: grey;
-
- .button {
- color: black;
-
- &:hover {
- cursor: pointer;
- }
- }
-}
-
-.linkEditor-zoomFollow {
- padding-left: 26px;
- padding-right: 6.5px;
- padding-bottom: 3.5px;
- display: flex;
-
- .linkEditor-zoomFollow-label {
- text-decoration-color: black;
- color: black;
- line-height: 1.7;
- }
-
- .linkEditor-zoomFollow-input {
- display: block;
- width: 20px;
- }
-}
-.linkEditor-deleteBtn {
- padding-left: 3px;
-}
-
-.linkEditor-description {
- padding-left: 26px;
- padding-bottom: 3.5px;
- display: flex;
-
- .linkEditor-description-label {
- text-decoration-color: black;
- color: black;
- }
-
- .linkEditor-description-input {
- display: flex;
-
- .linkEditor-description-editing {
- min-width: 85%;
- //border: 1px solid grey;
- //border-radius: 4px;
- padding-left: 2px;
- //margin-right: 4px;
- color: black;
- text-decoration-color: grey;
- }
-
- .linkEditor-description-add-button {
- display: inline;
- border-radius: 7px;
- font-size: 9px;
- background: black;
- height: 80%;
- color: white;
- padding: 3px;
- margin-left: 3px;
-
- &:hover {
- cursor: pointer;
- background: grey;
- }
- }
- }
-}
-
-.linkEditor-relationship-dropdown {
- position: absolute;
- width: 154px;
- max-height: 90px;
- overflow: auto;
- background: white;
-
- p {
- padding: 3px;
- cursor: pointer;
- border: 1px solid $medium-gray;
- }
-
- p:hover {
- background: $light-blue;
- }
-}
-
-.linkEditor-followingDropdown {
- padding-left: 26px;
- padding-right: 6.5px;
- padding-bottom: 15px;
- display: flex;
-
- &:hover {
- cursor: pointer;
- }
-
- .linkEditor-followingDropdown-label {
- color: black;
- padding-right: 3px;
- }
-
- .linkEditor-followingDropdown-dropdown {
- .linkEditor-followingDropdown-header {
- border: 1px solid grey;
- border-radius: 4px;
- //background-color: rgb(236, 236, 236);
- padding-left: 2px;
- padding-right: 2px;
- text-decoration-color: black;
- color: rgb(94, 94, 94);
-
- .linkEditor-followingDropdown-icon {
- float: right;
- color: black;
- }
- }
-
- .linkEditor-followingDropdown-optionsList {
- padding-left: 3px;
- padding-right: 3px;
-
- &:last-child {
- border-bottom: none;
- }
-
- .linkEditor-followingDropdown-option {
- border: 0.25px solid grey;
- //background-color: rgb(236, 236, 236);
- padding-left: 2px;
- padding-right: 2px;
- color: grey;
- text-decoration-color: grey;
- font-size: 9px;
- border-top: none;
-
- &:hover {
- background-color: rgb(187, 220, 231);
- }
- }
- }
- }
-}
-
-.linkEditor-button,
-.linkEditor-addbutton {
- width: 15%;
- border-radius: 7px;
- font-size: 9px;
- background: black;
- padding: 3px;
- height: 80%;
- color: white;
- text-align: center;
- margin: auto;
- margin-left: 3px;
- > svg {
- margin: auto;
- }
- &:disabled {
- background-color: gray;
- }
-}
-
-.linkEditor-addbutton {
- margin-left: 0px;
-}
-
-.linkEditor-groupsLabel {
- display: flex;
- justify-content: space-between;
-}
-
-.linkEditor-group {
- background-color: $light-gray;
- padding: 6px;
- margin: 3px 0;
- border-radius: 3px;
-
- .linkEditor-group-row {
- display: flex;
- margin-bottom: 3px;
- }
-
- .linkEditor-group-row-label {
- margin-right: 6px;
- display: inline-block;
- }
-
- .linkEditor-metadata-row {
- display: flex;
- justify-content: space-between;
- margin-bottom: 6px;
-
- .linkEditor-error {
- border-color: red;
- }
-
- input {
- width: calc(50% - 16px);
- height: 20px;
- }
-
- button {
- width: 20px;
- height: 20px;
- margin-left: 3px;
- padding: 0;
- font-size: 10px;
- }
- }
-}
-
-.linkEditor-dropdown {
- width: 100%;
- position: relative;
- z-index: 999;
-
- input {
- width: 100%;
- }
-
- .linkEditor-options-wrapper {
- width: 100%;
- position: absolute;
- top: 19px;
- left: 0;
- display: flex;
- flex-direction: column;
- }
-
- .linkEditor-option {
- background-color: $light-gray;
- border: 1px solid $medium-gray;
- border-top: 0;
- padding: 3px;
- cursor: pointer;
-
- &:hover {
- background-color: lightgray;
- }
-
- &.onDown {
- background-color: gray;
- }
- }
-}
-
-.linkEditor-typeButton {
- background-color: transparent;
- color: $dark-gray;
- height: 20px;
- padding: 0 3px;
- padding-bottom: 2px;
- text-align: left;
- text-transform: none;
- letter-spacing: normal;
- font-size: 12px;
- font-weight: bold;
- display: inline-block;
- width: calc(100% - 40px);
-
- &:hover {
- background-color: $white;
- }
-}
-
-.linkEditor-group-buttons {
- height: 20px;
- display: flex;
- justify-content: flex-end;
- margin-top: 5px;
-
- .linkEditor-button {
- margin-left: 3px;
- }
-}