portal-oddajanje-solar/static/css/history.css

283 lines
4.9 KiB
CSS
Raw Permalink Normal View History

2021-11-16 17:45:20 +00:00
@import url(https://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,900,900italic,300italic,300,100italic,100);
html {
font-family: 'Roboto', sans-serif;
font-size: 16px;
2023-01-16 17:52:30 +00:00
color: #46535B;
}
2021-11-16 17:45:20 +00:00
body {
font-size: 16px;
padding: 0;
2023-01-16 17:52:30 +00:00
margin: 0;
}
2021-11-16 17:45:20 +00:00
h1 {
font-size: 30px;
font-style: normal;
font-weight: 300;
line-height: 35px;
2023-01-16 17:52:30 +00:00
color: #006CB7;
}
2021-11-16 17:45:20 +00:00
h2 {
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 21px;
text-transform: uppercase;
2023-01-16 17:52:30 +00:00
color: #006CB7;
}
2021-11-16 17:45:20 +00:00
h3 {
font-size: 18px;
font-style: normal;
font-weight: 300;
2023-01-16 17:52:30 +00:00
line-height: 21px;
}
2021-11-16 17:45:20 +00:00
em {
2023-01-16 17:52:30 +00:00
font-weight: 300;
}
2021-11-16 17:45:20 +00:00
.btn {
border: none;
line-height: 2.5rem;
padding: 0 2.5rem;
color: white;
background: #006CB7;
border-radius: 20px;
font-size: 1.125rem;
font-weight: 400;
cursor: pointer;
2023-01-16 17:52:30 +00:00
-webkit-transition: opacity 0.3s ease-out;
transition: opacity 0.3s ease-out;
}
.btn:hover {
opacity: 0.8;
}
.btn:disabled {
cursor: default;
opacity: 0.5;
}
2021-11-16 17:45:20 +00:00
.panel {
background: #F5F5F5;
padding: 40px 60px;
2021-11-26 12:50:32 +00:00
border-radius: 20px;
2023-01-16 17:52:30 +00:00
max-width: 30rem;
}
.panel .panel-logo {
position: absolute;
top: -60px;
left: 0;
right: 0;
display: block;
margin: auto;
background: #F5F5F5;
padding: 20px 30px;
width: 100px;
border-radius: 100%;
text-align: center;
}
2021-11-16 17:45:20 +00:00
.line {
background: #C4C4C4;
height: 2px;
width: 200px;
2023-01-16 17:52:30 +00:00
margin: auto;
}
2021-11-16 17:45:20 +00:00
.a-right {
display: block;
text-align: right;
font-size: 10px;
text-decoration: none;
color: #006CB7;
2023-01-16 17:52:30 +00:00
text-transform: uppercase;
}
2021-11-16 17:45:20 +00:00
.alert {
position: relative;
2021-11-26 12:50:32 +00:00
color: #8D3D3D;
2023-01-16 17:52:30 +00:00
margin-bottom: 2rem;
}
.alert.alert-success {
color: #88B52F;
}
.alert img {
position: relative;
top: 0.25rem;
width: 1.8rem;
}
.alert p {
position: absolute;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
height: 2rem;
left: 3rem;
top: 0;
margin: 0;
text-transform: uppercase;
}
2021-11-16 17:45:20 +00:00
.submit-alert {
background: white;
border: 2px solid #B7DB70;
2023-01-16 17:52:30 +00:00
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-radius: 8px;
}
.submit-alert .btn {
margin-top: 0.5rem;
background: #88B52F;
border-radius: 4px;
}
2021-11-16 17:45:20 +00:00
.history-item {
background: white;
2021-11-26 12:50:32 +00:00
min-height: 2.875rem;
max-height: 2.875rem;
2021-11-16 17:45:20 +00:00
padding: 1rem 1.5rem;
2021-11-26 12:50:32 +00:00
position: relative;
2023-01-16 17:52:30 +00:00
-webkit-transition: max-height 1s ease-out;
2021-12-13 20:01:28 +00:00
transition: max-height 1s ease-out;
2022-01-04 17:36:42 +00:00
cursor: pointer;
2023-01-16 17:52:30 +00:00
overflow: hidden;
}
.history-item .history-item-chevron {
position: absolute;
bottom: 1rem;
right: 1rem;
}
.history-item .history-item-date {
text-transform: uppercase;
display: inline-block;
color: #848C90;
line-height: 1rem;
font-weight: 400;
font-size: 0.875rem;
}
.history-item .history-item-uploader {
display: inline-block;
padding-left: 1rem;
margin-left: 1rem;
border-left: 1px solid #848C90;
color: #848C90;
line-height: 1rem;
font-weight: 400;
font-size: 0.875rem;
}
.history-item .history-item-filecount {
position: absolute;
top: 1rem;
right: 1rem;
color: #006CB7;
line-height: 1rem;
font-weight: 400;
font-size: 0.875rem;
}
.history-item .history-item-desc {
position: absolute;
bottom: 1rem;
font-style: normal;
font-weight: normal;
font-size: 1rem;
line-height: 1.25rem;
color: #46535B;
}
.history-item .history-item-desc-full {
display: none;
margin-top: 1rem;
}
.history-item .history-item-files-full {
display: none;
}
.history-item .history-item-files-full .file-item {
position: relative;
height: 3.125rem;
border-bottom: 1px solid #848C90;
}
.history-item .history-item-files-full .file-item:last-child {
border-bottom: none;
}
.history-item .history-item-files-full .file-item .file-icon {
position: absolute;
width: 1.5rem;
height: 1.5rem;
left: 0;
top: 1rem;
}
.history-item .history-item-files-full .file-item .file-name {
position: absolute;
left: 3rem;
top: 1rem;
color: #46535B;
text-decoration: none;
cursor: pointer;
}
.history-item .history-item-files-full .file-item .file-name:hover {
text-decoration: underline;
}
.history-item.open {
max-height: 20rem;
}
.history-item.open .history-item-date {
display: block;
}
.history-item.open .history-item-uploader {
display: block;
padding-left: 0;
margin-left: 0;
border-left: none;
}
.history-item.open .history-item-desc {
display: none;
}
.history-item.open .history-item-desc-full {
display: block;
}
.history-item.open .history-item-files-full {
display: block;
}
.history-item.open .history-item-chevron {
-webkit-transform: rotate(180deg);
transform: rotate(180deg);
}
/*# sourceMappingURL=history.css.map */