aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionViewChromes.scss
diff options
context:
space:
mode:
authorFawn <fangrui_tong@brown.edu>2019-07-24 22:39:06 -0400
committerFawn <fangrui_tong@brown.edu>2019-07-24 22:39:06 -0400
commit48adb84b04e1799c5e3ba667b32e5c735bc5377e (patch)
tree5191a6e53e39a38efb24c5192a1958a6d8e02929 /src/client/views/collections/CollectionViewChromes.scss
parentf8f3ee8df596758ca6f5f7e735fb1296a676f5b6 (diff)
parentede0719d96cc2551490398caf3e1f41fe7992931 (diff)
merge
Diffstat (limited to 'src/client/views/collections/CollectionViewChromes.scss')
-rw-r--r--src/client/views/collections/CollectionViewChromes.scss121
1 files changed, 117 insertions, 4 deletions
diff --git a/src/client/views/collections/CollectionViewChromes.scss b/src/client/views/collections/CollectionViewChromes.scss
index e5cb1b546..d37228bde 100644
--- a/src/client/views/collections/CollectionViewChromes.scss
+++ b/src/client/views/collections/CollectionViewChromes.scss
@@ -1,11 +1,125 @@
@import "../globalCssVariables";
+@import '~js-datepicker/dist/datepicker.min.css';
-.collectionStackingViewChrome {
+.collectionViewChrome {
display: grid;
- grid-template-columns: 1fr 1fr;
+ grid-template-columns: 1fr auto;
padding-bottom: 10px;
border-bottom: .5px solid lightgrey;
margin: 10px;
+ position: relative;
+ z-index: 9001;
+ transition: top .5s;
+
+ .collectionViewBaseChrome {
+ display: flex;
+
+ .collectionViewBaseChrome-viewPicker {
+ font-size: 75%;
+ text-transform: uppercase;
+ letter-spacing: 2px;
+ background: rgb(238, 238, 238);
+ color: grey;
+ outline-color: black;
+ border: none;
+ padding: 12px 10px 11px 10px;
+ margin-left: 50px;
+ }
+
+ .collectionViewBaseChrome-viewPicker:active {
+ outline-color: black;
+ }
+
+ .collectionViewBaseChrome-collapse {
+ transition: all .5s;
+ position: absolute;
+ width: 40px;
+ }
+
+ .collectionViewBaseChrome-viewSpecs {
+ margin-left: 10px;
+ display: grid;
+
+ .collectionViewBaseChrome-viewSpecsInput {
+ padding: 12px 10px 11px 10px;
+ border: 0px;
+ color: grey;
+ text-align: center;
+ text-transform: uppercase;
+ letter-spacing: 2px;
+ outline-color: black;
+ font-size: 75%;
+ background: rgb(238, 238, 238);
+ height: 100%;
+ width: 150px;
+ }
+
+ .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;
+ grid-gap: 10px;
+ margin: 10px;
+ }
+ }
+ }
+ }
+
+
+ .collectionStackingViewChrome-cont {
+ display: flex;
+ justify-content: space-between;
+ }
+
+ .collectionStackingViewChrome-sort {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+
+ .collectionStackingViewChrome-sortIcon {
+ transition: transform .5s;
+ margin-left: 10px;
+ }
+ }
+
+ button:hover {
+ transform: scale(1);
+ }
+
.collectionStackingViewChrome-sectionFilter-cont {
justify-self: right;
@@ -21,10 +135,9 @@
.collectionStackingViewChrome-sectionFilter {
color: white;
- width: fit-content;
+ width: 100px;
text-align: center;
background: rgb(238, 238, 238);
- height: 37px;
.editable-view-input,
input,