aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionMenu.scss
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-07-14 23:55:59 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-07-14 23:55:59 -0400
commit95429adb77402ce2a218c5585ceef4db0c8494db (patch)
tree266de306f27c13494298f3644640b6fefd634797 /src/client/views/collections/CollectionMenu.scss
parent6c96bd6c8ef06e1ecb75ca39a575155dafcc26f1 (diff)
converted collectionChrome into a menu bar
Diffstat (limited to 'src/client/views/collections/CollectionMenu.scss')
-rw-r--r--src/client/views/collections/CollectionMenu.scss475
1 files changed, 467 insertions, 8 deletions
diff --git a/src/client/views/collections/CollectionMenu.scss b/src/client/views/collections/CollectionMenu.scss
index 6280670d8..c1a3f9c09 100644
--- a/src/client/views/collections/CollectionMenu.scss
+++ b/src/client/views/collections/CollectionMenu.scss
@@ -1,12 +1,471 @@
-.antimodeMenu-button {
- padding:0;
- width:40px;
+@import "../globalCssVariables";
+
+
+.collectionMenu-cont {
+ position:relative;
+ display:inline-flex;
+ width: 100%;
+ opacity: 0.9;
+ z-index: 9001;
+ transition: top .5s;
+ background: #121721;
+ color: white;
+ transform-origin: top left;
+
+ .antimodeMenu-button {
+ padding:0;
+ width:40px;
+ display: flex;
+ svg {
+ margin:auto;
+ }
+ }
+
+ .collectionViewChrome {
+ display: flex;
+ padding-bottom: 1px;
+ height: 32px;
+ border-bottom: .5px solid rgb(180, 180, 180);
+ overflow: visible;
+ z-index: 9001;
+
+ .collectionViewBaseChrome {
+ display: flex;
+
+ .collectionViewBaseChrome-viewPicker {
+ font-size: 75%;
+ //text-transform: uppercase;
+ //letter-spacing: 2px;
+ background: #121721;
+ color: white;
+ outline-color: black;
+ border: none;
+ //padding: 12px 10px 11px 10px;
+ }
+
+ .collectionViewBaseChrome-viewPicker:active {
+ outline-color: black;
+ }
+
+ .collectionViewBaseChrome-button {
+ font-size: 75%;
+ text-transform: uppercase;
+ letter-spacing: 2px;
+ background: rgb(238, 238, 238);
+ color: purple;
+ outline-color: black;
+ border: none;
+ padding: 12px 10px 11px 10px;
+ margin-left: 10px;
+ }
+
+ .collectionViewBaseChrome-cmdPicker {
+ margin-left: 3px;
+ margin-right: 0px;
+ font-size: 75%;
+ background: #121721;
+ border: none;
+ color: white;
+ }
+
+ .commandEntry-outerDiv {
+ pointer-events: all;
+ background-color: #121721;
+ display: flex;
+ flex-direction: row;
+ height: 30px;
+
+ .commandEntry-drop {
+ color: white;
+ width: 30px;
+ margin-top: auto;
+ margin-bottom: auto;
+ }
+ }
+
+ .collectionViewBaseChrome-collapse {
+ transition: all .5s, opacity 0.3s;
+ position: absolute;
+ width: 40px;
+ transform-origin: top left;
+ pointer-events: all;
+ // margin-top: 10px;
+ }
+
+ @media only screen and (max-device-width: 480px) {
+ .collectionViewBaseChrome-collapse {
+ display: none;
+ }
+ }
+
+ .collectionViewBaseChrome-template,
+ .collectionViewBaseChrome-viewModes {
+ display: grid;
+ background: rgb(238, 238, 238);
+ color: grey;
+ margin-top: auto;
+ margin-bottom: auto;
+ }
+ .collectionViewBaseChrome-viewSpecs {
+ margin-left: 5px;
+ display: grid;
+
+ .collectionViewBaseChrome-filterIcon {
+ position: relative;
+ display: flex;
+ margin: auto;
+ background: #121721;
+ color: white;
+ width: 30px;
+ height: 30px;
+ align-items: center;
+ justify-content: center;
+ }
+
+ .collectionViewBaseChrome-viewSpecsInput {
+ padding: 12px 10px 11px 10px;
+ border: 0px;
+ color: grey;
+ text-align: center;
+ letter-spacing: 2px;
+ outline-color: black;
+ font-size: 75%;
+ background: rgb(238, 238, 238);
+ height: 100%;
+ width: 75px;
+ }
+
+ .collectionViewBaseChrome-viewSpecsMenu {
+ overflow: hidden;
+ transition: height .5s, display .5s;
+ position: absolute;
+ top: 60px;
+ z-index: 100;
+ display: flex;
+ flex-direction: column;
+ background: rgb(238, 238, 238);
+ box-shadow: grey 2px 2px 4px;
+
+ .qs-datepicker {
+ left: unset;
+ right: 0;
+ }
+
+ .collectionViewBaseChrome-viewSpecsMenu-row {
+ display: grid;
+ grid-template-columns: 150px 200px 150px;
+ margin-top: 10px;
+ margin-right: 10px;
+
+ .collectionViewBaseChrome-viewSpecsMenu-rowLeft,
+ .collectionViewBaseChrome-viewSpecsMenu-rowMiddle,
+ .collectionViewBaseChrome-viewSpecsMenu-rowRight {
+ font-size: 75%;
+ letter-spacing: 2px;
+ color: grey;
+ margin-left: 10px;
+ padding: 5px;
+ border: none;
+ outline-color: black;
+ }
+ }
+
+ .collectionViewBaseChrome-viewSpecsMenu-lastRow {
+ display: grid;
+ grid-template-columns: 1fr 1fr 1fr;
+ grid-gap: 10px;
+ margin: 10px;
+ }
+ }
+ }
+ }
+
+ .collectionStackingViewChrome-cont,
+ .collectionTreeViewChrome-cont,
+ .collection3DCarouselViewChrome-cont {
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .collectionGridViewChrome-cont {
+ display: flex;
+ margin-left: 10;
+
+ .collectionGridViewChrome-viewPicker {
+ font-size: 75%;
+ //text-transform: uppercase;
+ //letter-spacing: 2px;
+ background: #121721;
+ color: white;
+ outline-color: black;
+ border: none;
+ //padding: 12px 10px 11px 10px;
+ }
+
+ .collectionGridViewChrome-viewPicker:active {
+ outline-color: black;
+ }
+
+ .grid-control {
+ align-self: center;
+ display: flex;
+ flex-direction: row;
+ margin-right: 5px;
+
+ .grid-icon {
+ margin-right: 5px;
+ align-self: center;
+ }
+
+ .flexLabel {
+ margin-bottom: 0;
+ }
+ }
+
+ .collectionGridViewChrome-entryBox {
+ width: 50%;
+ }
+ }
+
+
+ .collectionStackingViewChrome-sort,
+ .collectionTreeViewChrome-sort {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+
+ .collectionStackingViewChrome-sortIcon,
+ .collectionTreeViewChrome-sortIcon {
+ transition: transform .5s;
+ margin-left: 10px;
+ }
+ }
+
+ button:hover {
+ transform: scale(1);
+ }
+
+
+ .collectionStackingViewChrome-pivotField-cont,
+ .collectionTreeViewChrome-pivotField-cont,
+ .collection3DCarouselViewChrome-scrollSpeed-cont {
+ justify-self: right;
+ display: flex;
+ font-size: 75%;
+ letter-spacing: 2px;
+
+ .collectionStackingViewChrome-pivotField-label,
+ .collectionTreeViewChrome-pivotField-label,
+ .collection3DCarouselViewChrome-scrollSpeed-label {
+ vertical-align: center;
+ padding-left: 10px;
+ margin: auto;
+ }
+
+ .collectionStackingViewChrome-pivotField,
+ .collectionTreeViewChrome-pivotField,
+ .collection3DCarouselViewChrome-scrollSpeed {
+ color: white;
+ width: 100%;
+ min-width: 100px;
+ display: flex;
+ align-items: center;
+ background: rgb(238, 238, 238);
+
+ .editable-view-input,
+ input,
+ .editableView-container-editing-oneLine,
+ .editableView-container-editing {
+ margin: auto;
+ border: 0px;
+ color: grey !important;
+ text-align: center;
+ letter-spacing: 2px;
+ outline-color: black;
+ height: 100%;
+ }
+
+ .react-autosuggest__container {
+ margin: 0;
+ color: grey;
+ padding: 0px;
+ }
+ }
+ }
+
+ .collectionStackingViewChrome-pivotField:hover,
+ .collectionTreeViewChrome-pivotField:hover,
+ .collection3DCarouselViewChrome-scrollSpeed:hover {
+ cursor: text;
+ }
+
+ }
+}
+
+.collectionFreeFormMenu-cont {
+ width: 60px;
display: flex;
- svg {
- margin:auto;
+ position: relative;
+ align-items: center;
+
+ .fwdKeyframe,
+ .numKeyframe,
+ .backKeyframe {
+ cursor: pointer;
+ position: absolute;
+ width: 20;
+ height: 30;
+ bottom: 0;
+ background: #121721;
+ display: flex;
+ align-items: center;
+ color: white;
+ }
+
+ .backKeyframe {
+ left: 0;
+
+ svg {
+ display: block;
+ margin: auto;
+ }
+ }
+
+ .numKeyframe {
+ left: 20;
+ display: flex;
+ flex-direction: column;
+ padding: 5px;
+ }
+
+ .fwdKeyframe {
+ left: 40;
+
+ svg {
+ display: block;
+ margin: auto;
+ }
}
}
-.collectionViewChrome-cont {
- position:relative;
- display:inline-flex;
+
+.collectionSchemaViewChrome-cont {
+ display: flex;
+ font-size: 10.5px;
+
+ .collectionSchemaViewChrome-toggle {
+ display: flex;
+ margin-left: 10px;
+ }
+
+ .collectionSchemaViewChrome-label {
+ text-transform: uppercase;
+ letter-spacing: 2px;
+ margin-right: 5px;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ }
+
+ .collectionSchemaViewChrome-toggler {
+ width: 100px;
+ height: 41px;
+ background-color: black;
+ position: relative;
+ }
+
+ .collectionSchemaViewChrome-togglerButton {
+ width: 47px;
+ height: 35px;
+ background-color: $light-color-secondary;
+ // position: absolute;
+ transition: all 0.5s ease;
+ // top: 3px;
+ margin-top: 3px;
+ color: gray;
+ letter-spacing: 2px;
+ text-transform: uppercase;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ text-align: center;
+
+ &.on {
+ margin-left: 3px;
+ }
+
+ &.off {
+ margin-left: 50px;
+ }
+ }
+}
+
+
+.commandEntry-outerDiv {
+ display: flex;
+ flex-direction: column;
+ height: 40px;
+}
+
+.commandEntry-inputArea {
+ display: flex;
+ flex-direction: row;
+ width: 150px;
+ margin: auto auto auto auto;
+}
+
+.react-autosuggest__container {
+ position: relative;
+ width: 100%;
+ margin-left: 5px;
+ margin-right: 5px;
+}
+
+.react-autosuggest__input {
+ border: 1px solid #aaa;
+ border-radius: 4px;
+ width: 100%;
+}
+
+.react-autosuggest__input--focused {
+ outline: none;
+}
+
+.react-autosuggest__input--open {
+ border-bottom-left-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+.react-autosuggest__suggestions-container {
+ display: none;
+}
+
+.react-autosuggest__suggestions-container--open {
+ display: block;
+ position: fixed;
+ overflow-y: auto;
+ max-height: 400px;
+ width: 180px;
+ border: 1px solid #aaa;
+ background-color: #fff;
+ font-family: Helvetica, sans-serif;
+ font-weight: 300;
+ font-size: 16px;
+ border-bottom-left-radius: 4px;
+ border-bottom-right-radius: 4px;
+ z-index: 2;
+}
+
+.react-autosuggest__suggestions-list {
+ margin: 0;
+ padding: 0;
+ list-style-type: none;
+}
+
+.react-autosuggest__suggestion {
+ cursor: pointer;
+ padding: 10px 20px;
+}
+
+.react-autosuggest__suggestion--highlighted {
+ background-color: #ddd;
} \ No newline at end of file