Lightbox-Remastered/resize-lightbox-poc.css
2020-09-25 14:57:26 +02:00

250 lines
3.8 KiB
CSS

/* Faking a real website */
html {
height: 100%;
}
body {
background-color: rgb(236, 236, 236);
margin: 0;
min-height: 100%;
box-sizing: border-box;
}
.text-ph {
background-color: rgb(236, 236, 236);
color: transparent !important;
}
/* The body of the fake website consist of a scrollable big picture */
#fake {
/* background: url(./fake-home.jpg); */
z-index: 9;
/* position: fixed; */
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
}
/* lightbox stuff */
.lb-mod {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
/* overflow: auto; */
z-index: 10;
}
/*
.softener {
backdrop-filter: blur(5px);
background-color: rgba(0, 0, 0, 0.5);
} */
/* lightbox itself */
.lb-container {
display: grid;
margin: 5em;
grid-template-rows: min-content auto min-content;
position: static;
z-index: 11;
max-width: 1030px;
background-color: white;
border: 1px solid lightgray;
border-radius: 1em;
}
.scrollable {
overflow-y: scroll;
}
.lb-header {
position: relative;
}
.lb-header h2 {
margin: 0.5em 1em;
overflow: hidden;
}
.lb-header .close-button {
position: absolute;
right:.5em;
top:.5em;
width: 20px;
height: 20px;
}
#tabs-container {
display: flex;
letter-spacing: -0.5px;
overflow-x: auto;
}
#tabs-container a {
text-decoration: none;
}
/* #tabs-container > span.active a {
color: rgb(255, 141, 46);
} */
#tabs-container > span {
flex-grow: 1;
min-width: min-content;
text-align: center;
border-bottom: 1px solid lightgray;
padding: 9px;
}
#tabs-container > span.active {
flex-grow: 1;
min-width: min-content;
text-align: center;
border: 1px solid lightgray;
border-bottom: none;
background-color: white;
}
.lb-body {
/* padding: 1em; */
padding-bottom: 0;
/* max-height: 350px; */
max-height: calc(100vh - 10em - 200px);
border-bottom: 1px solid lightgray;
background-color: white;
}
.doc-file-browse {
display: grid;
grid-template-columns: [side] 220px [central] auto;
grid-template-rows: [toolbar] auto [main] auto;
grid-gap: 6px;
}
.doc-file-browse #doc-file-viewmode {
visibility: hidden;
grid-row: toolbar;
grid-column: side;
justify-self: start;
}
.doc-file-browse #doc-file-search {
visibility: hidden;
grid-row: toolbar;
grid-column: central;
justify-self: start;
}
.doc-file-browse #doc-file-nav {
grid-row: toolbar / span 2;
grid-column: side;
}
.doc-file-browse #doc-file-dominos {
grid-row: toolbar / span 2;
grid-column: central;
}
input[type="text"],
input[type="password"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="date"] {
border: 1px solid #c9ced5;
line-height: 25px;
padding: 0 10px;
box-sizing: border-box;
height: 40px;
font-size: initial;
}
button {
/* height: 40px; */
box-sizing: border-box;
border: none;
font-size: initial;
padding:9px 12px;
}
.list-nav ul {
padding-left: 0;
font-size: 12pt;
}
.list-nav li {
list-style: none;
margin: 9px;
}
.list-nav ul li ul li {
margin-left: 12px;
}
.list-nav li span {
padding: 3px 9px;
cursor: pointer;
}
.list-nav li:not(.active) span:hover {
background: lightgray;
}
.list-nav .active > span {
background: lightgray;
color: white;
}
.domino-container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
align-content: flex-start;
}
.domino-item {
margin: 5px;
border: 1px solid #ebebeb;
width: 150px;
height: 80px;
background: url(https://via.placeholder.com/80/ebebeb/ebebeb) no-repeat;
padding-left: 86px;
overflow: hidden;
}
.domino-item h4 {
margin: 6px 0 ;
color: rgb(53, 53, 53);
}
.domino-item h4 span.extension {
color:gray;
font-size: 70%;
}
.domino-item .subtitle {
color:gray;
font-size: 10pt;
margin: 0;
}
.lb-footer {
padding: 1em;
justify-self: end;
overflow: hidden;
}