rentgen/components/report-window/screenshot-generator.scss

100 lines
2.0 KiB
SCSS
Raw Normal View History

2022-05-22 16:49:24 +02:00
@import './../../styles/colors.scss';
2022-05-22 17:46:56 +02:00
h1 {
font-size: 1.1rem;
2022-05-22 18:16:14 +02:00
margin-bottom: calc(24 / 16 * 1rem);
}
h2 {
font-weight: 600;
font-size: 0.875rem;
2022-05-22 17:46:56 +02:00
}
2022-05-22 16:49:24 +02:00
.images {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
width: 100%;
2022-05-22 16:49:24 +02:00
grid-gap: 1rem;
margin: 2rem 0 1rem;
max-height: 45vh;
overflow-y: scroll;
overflow-x: clip;
z-index: 1;
position: relative;
2022-05-22 16:49:24 +02:00
}
2022-05-22 18:16:14 +02:00
.buttons-container {
display: flex;
justify-content: center;
margin: 2rem 0;
padding: 1em 0;
}
.container {
padding: 0.75rem 1.5rem;
margin-bottom: 1rem;
border-radius: 3px;
box-shadow: rgba(12, 12, 13, 0.1) 0px 1px 4px 0px;
background-color: #fff;
}
2022-05-22 16:49:24 +02:00
.browser {
height: 8.667rem;
2022-05-22 16:49:24 +02:00
font-weight: 800 !important;
color: $disabled-grey !important;
border: 1px solid $disabled-grey;
background-image: linear-gradient(to bottom, $icd-rentgen-color 20%, #fff 20%, #fff 100%);
animation: xray 2s cubic-bezier(0, 1.43, 0.39, 1.43) infinite;
&--filled {
background-size: 100%;
2022-07-14 23:05:45 +02:00
background-position-y: 26.5px;
2022-05-22 16:49:24 +02:00
animation: none;
.browser__header {
background-color: #fff;
}
}
@keyframes xray {
to {
background-position-y: 11.1rem;
}
}
&__header {
height: 1.667rem;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 0.5rem;
font-size: 1.25rem;
border-bottom: 1px solid $disabled-grey;
&--address-bar {
border: 1px solid #8a949f;
2022-05-22 16:49:24 +02:00
height: 1rem;
width: 10rem;
font-size: 0.667rem;
font-weight: 400;
padding: 0 0.25rem;
2022-05-22 16:49:24 +02:00
color: #000;
overflow: hidden;
word-break: normal;
inline-size: 10rem;
text-overflow: ellipsis;
2022-05-22 16:49:24 +02:00
}
&--controls {
padding-bottom: 0.25rem;
font-weight: 900;
}
}
&__content {
height: 6.667rem;
2022-05-22 16:49:24 +02:00
}
}