Files
storage-manager/client/src/styles/app.css
T
2021-03-02 17:52:43 -06:00

275 lines
5.2 KiB
CSS

@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
:root {
--black_light: #9aa0a6;
--black_dark: #212121;
--white_light:#fafafa;
--white_darker: #e0e0e0;
}
html, body, #root {
margin: 0;
}
html {
background-color: var(--white_light);
color: var(--black_dark)
}
.body-container {
margin: 0 2em;
overflow:auto;
}
form > fieldset > label {
display: flex;
}
form > fieldset {
border: none;
}
h1, h2, h3, h4 {
font-weight:normal;
margin: 0;
padding: 0;
}
.filter-container {
margin: 1rem 3rem;
display: flex;
align-items: center;
width: 344px;
height: 44px;
background-color: white;
font-size: 1rem;
border-radius: 2rem;
border: 1px solid #dfe1e5;
}
.filter-container > span.icon {
font-size: 1rem;
margin: 0 0.75rem 0 1rem;
color: var(--black_light);
}
.filter-container > span.icon.clear {
margin-left: auto;
}
.filter-container > span.icon.clear:hover {
cursor: pointer;
color: var(--black_dark);
}
.filter {
width: 100%;
font-weight: lighter;
border: none;
height: 100%;
font-size: 1rem;
}
.filter:focus {
outline: none;
}
.filter::-webkit-search-cancel-button {
-webkit-appearance: none;
}
button:hover {
cursor: pointer;
}
.box-header {
display: flex;
align-items: center;
padding: 0 16px;
}
.box-menu-container {
margin-right: 1em;
margin-left: auto;
}
.box-title {
font-size: 1rem;
line-height: 2rem;
}
.box-subtitle {
font-size: 0.875rem;
line-height: 1.25rem;
opacity: 0.6;
text-transform: lowercase;
}
ul.list-box {
padding: 10px;
display: grid;
grid-template-columns: repeat(4, 1fr);
margin: 0;
gap: 1em;
}
li.box {
position: relative;
height: min-content;
width: auto;
padding: 16px 0;
background-color: white;
border-radius: 4px;
border-width: 1px;
border-style: solid;
border-color: var(--white_darker);
box-shadow:
0px 0px 0px 0px rgba(0, 0, 0, 0.2),
0px 0px 0px 0px rgba(0, 0, 0, 0.14),
0px 0px 0px 0px rgba(0,0,0,.12);
list-style: none;
}
li.box.target:hover {
cursor: pointer;
box-shadow:
0 3px 6px rgba(0,0,0,0.16),
0 3px 6px rgba(0,0,0,0.23);
}
.item-menu-more-container {
z-index: 1;
}
.item-menu-more-list {
padding: 0;
width: 120px;
position: absolute;
margin: 0 10px 0 0;
top: 2rem;
right: 0;
z-index: 1;
background-color: white;
border-radius: 4px;
border-width: 1px;
border-style: solid;
border-color: var(--white_darker);
box-shadow:
0px 0px 0px 0px rgba(0, 0, 0, 0.2),
0px 0px 0px 0px rgba(0, 0, 0, 0.14),
0px 0px 0px 0px rgba(0,0,0,.12);
}
.box-menu-action {
list-style: none;
display: flex;
align-items: center;
}
.item-menu-action:hover {
cursor: pointer;
}
.item-menu-action > .icon {
margin: 1rem 1rem;
}
.list-box-item {
padding: 0;
padding: 1rem 0 3rem 0;
max-height: 8rem;
overflow-y: auto;
}
.scroll-container::-webkit-scrollbar {
width: 5px;
}
.scroll-container::-webkit-scrollbar-track {
background: #ddd;
}
.scroll-container::-webkit-scrollbar-thumb {
background: #666;
}
li.item {
font-size: 0.75rem;
display: grid;
grid-template-columns: 0 1fr auto auto ;
position: relative;
align-items: center;
justify-content: flex-start;
padding: 0.5rem 0.75rem 0.5rem 1.25rem;
list-style: none;
}
.head-divider {
margin: 16px;
width: auto;
height: 1px;
background-color: var(--white_darker);
}
.menu-more-container {
z-index: 1;
}
.menu-bottom {
display: flex;
justify-content: center;
align-items: center;
margin-right: 1rem;
}
.add {
background-color: var(--white_light);
padding: 0.75rem;
margin-right: 0;
margin-left: auto;
border-radius: 50%;
}
.add:hover {
cursor: pointer;
background-color: var(--white_darker);
}
.menu-btn {
display: flex;
justify-content: center;
align-items: center;
padding: 0.1rem;
margin-right: 0;
margin-left: auto;
border-radius: 50%;
}
.menu-btn.box {
font-size: 1.25rem;
}
.menu-btn.item {
font-size: 1rem;
}
.menu-btn:hover {
cursor: pointer;
}
.menu-more-list {
padding: 0;
position: absolute;
z-index: 1;
background-color: white;
border-radius: 4px;
border-width: 1px;
border-style: solid;
border-color: var(--white_darker);
box-shadow:
0px 0px 0px 0px rgba(0, 0, 0, 0.2),
0px 0px 0px 0px rgba(0, 0, 0, 0.14),
0px 0px 0px 0px rgba(0,0,0,.12);
}
.menu-more-list.box {
width: 120px;
margin: 0 10px 0 0;
top: 4rem;
right: 0;
}
.menu-more-list.item {
width: 4.8rem;
margin: 0 10px 0 0;
top: 2rem;
right: 0;
}
.menu-more-list.item > .menu-action > .icon {
margin: 0.2rem 0.2rem;
}
.menu-action {
z-index: inherit;
list-style: none;
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
}
.menu-action:hover {
cursor: pointer;
background-color: var(--white_darker);
}
.menu-action > .icon {
margin: 1rem 1rem;
}
.header-container {
display: flex;
justify-content: center;
align-items: center;
}