rentgen/components/toolbar/toolbar.scss

173 lines
3.9 KiB
SCSS
Raw Normal View History

@import '../../styles/colors.scss';
2022-04-15 10:34:29 +02:00
body {
width: 400px;
overflow-x: hidden;
2022-07-03 19:35:36 +02:00
user-select: none;
2022-04-15 10:34:29 +02:00
}
.toolbar {
2022-04-15 10:34:29 +02:00
padding: 0.125rem 1rem;
2022-01-20 19:03:03 +01:00
.header {
display: grid;
2022-04-15 10:34:29 +02:00
grid-template-columns: 1.75rem 1fr 1.25rem;
2022-01-24 12:50:54 +01:00
align-items: center;
2022-01-24 12:21:28 +01:00
max-height: 3.5rem;
2022-01-24 12:50:54 +01:00
min-height: 3.5rem;
2022-01-20 19:03:03 +01:00
border-bottom: 1px solid $light-grey;
position: sticky;
top: 0;
background: #ffffff;
2022-01-20 19:03:03 +01:00
z-index: 1;
2022-07-03 19:35:36 +02:00
user-select: none;
2022-01-20 19:03:03 +01:00
.webpage-metadata {
word-break: break-all;
display: flex;
flex-flow: column;
flex-wrap: nowrap;
font-size: 0.875rem;
2022-04-15 10:34:29 +02:00
font-weight: 700;
2022-01-20 19:03:03 +01:00
justify-content: center;
padding-left: 1rem;
color: #000;
2022-01-24 12:50:54 +01:00
2022-01-20 19:03:03 +01:00
&--hyperlink {
2022-04-15 10:34:29 +02:00
font-weight: 600;
2022-02-02 10:33:09 +01:00
color: $ultra-black-color;
2022-01-20 19:03:03 +01:00
max-height: 2rem;
overflow: hidden;
}
}
2022-01-20 19:03:03 +01:00
button {
border: none;
background: transparent;
cursor: pointer;
padding: 0;
}
2022-01-19 13:12:28 +01:00
}
2022-04-13 13:57:31 +02:00
.summary {
display: flex;
2022-04-15 10:34:29 +02:00
flex-flow: column;
justify-content: center;
padding-bottom: 1.5rem;
border-bottom: 1px solid $light-grey;
.counters-wrapper {
flex-flow: row;
2022-01-20 19:03:03 +01:00
display: flex;
2022-04-15 10:34:29 +02:00
justify-content: center;
.counters {
display: flex;
flex-flow: column;
align-content: flex-start;
justify-content: center;
margin-right: 1rem;
.counter {
font-size: 1.25rem;
font-weight: 700;
align-items: center;
display: flex;
img {
margin-right: 0.5rem;
}
span {
margin-right: 2rem;
}
&:nth-child(1) {
margin-bottom: 1rem;
}
}
}
.big-counter {
font-size: 6rem;
font-weight: 700;
2022-01-19 14:12:52 +01:00
}
2022-04-13 13:57:31 +02:00
}
2022-01-19 14:12:52 +01:00
2022-04-15 10:34:29 +02:00
.notice {
font-size: 0.875rem;
font-weight: 700;
text-align: center;
2022-01-19 13:12:28 +01:00
}
}
2022-01-23 21:42:49 +01:00
2022-04-15 10:34:29 +02:00
.details {
padding-top: 1.5rem;
2022-01-23 21:42:49 +01:00
2022-04-15 10:34:29 +02:00
p {
font-size: 0.875rem;
padding-bottom: 1rem;
2022-01-23 21:42:49 +01:00
}
2022-04-15 10:34:29 +02:00
}
2022-01-23 21:42:49 +01:00
2022-04-15 10:34:29 +02:00
.about {
2022-06-29 19:31:20 +02:00
&__no-errors {
text-align: center;
padding-bottom: 1.5rem;
}
2022-04-15 10:34:29 +02:00
p {
font-size: 0.875rem;
font-weight: 700;
}
}
.actions {
padding: 2rem 0;
display: flex;
justify-content: center;
align-items: center;
a {
font-size: 0.875rem;
font-weight: 700;
color: #000;
margin-right: 0.5rem;
}
.button {
border: 0;
outline: 0;
height: 3rem;
font-size: 0.875rem;
line-height: 0.875rem;
2022-01-23 21:42:49 +01:00
cursor: pointer;
2022-04-15 10:34:29 +02:00
&--report {
font-weight: 800;
padding: 0 1.5rem;
background-color: #000;
2022-04-25 20:02:20 +02:00
color: #fff;
2022-05-02 13:46:53 +02:00
2022-04-15 10:34:29 +02:00
&:hover {
2022-04-25 20:02:20 +02:00
color: $icd-rentgen-color;
2022-04-15 10:34:29 +02:00
background-image: linear-gradient(
to right,
$icd-rentgen-color 0%,
$icd-rentgen-color 4%,
#000 4%,
#000 100%
);
animation: slidebg 1s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}
}
@keyframes slidebg {
to {
background-position: 155px;
}
}
2022-01-23 21:42:49 +01:00
}
}
}