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

277 lines
5.8 KiB
SCSS
Raw Permalink Normal View History

@import './../../styles/colors.scss';
2022-02-02 10:33:09 +01:00
2022-04-25 20:02:20 +02:00
* {
2022-05-22 16:49:24 +02:00
box-sizing: border-box;
2022-04-25 20:02:20 +02:00
font-family: 'OpenSans' !important;
}
2022-02-02 10:33:09 +01:00
html {
2022-04-25 14:29:55 +02:00
font-size: 1rem;
2022-02-02 10:33:09 +01:00
}
body {
2022-04-25 20:02:20 +02:00
background-color: #f9f9fa;
2022-05-22 18:16:14 +02:00
padding: 0rem 0.75rem;
2022-05-22 18:27:18 +02:00
margin: 0;
2022-02-02 10:33:09 +01:00
}
nav {
2022-04-25 14:29:55 +02:00
position: sticky;
top: 0;
display: flex;
flex-wrap: wrap;
justify-content: left;
align-items: center;
padding: 1rem 1rem;
border-bottom: 2px solid $ultra-light-grey;
height: 5rem;
img {
margin-right: 0.5rem;
}
2022-02-02 10:33:09 +01:00
}
2022-02-10 21:52:40 +01:00
p,
li,
h1,
h2,
h3 {
2022-05-22 18:16:14 +02:00
max-width: 100ex;
2022-04-25 14:29:55 +02:00
}
2022-05-22 17:46:56 +02:00
h1 {
font-size: 1.1rem;
}
2022-04-25 14:29:55 +02:00
.header {
display: grid;
grid-template-columns: 1.75rem 1fr;
align-items: center;
max-height: 3.5rem;
min-height: 3.5rem;
position: sticky;
top: 0;
z-index: 1;
2022-07-03 19:35:36 +02:00
user-select: none;
2022-04-25 14:29:55 +02:00
.webpage-metadata {
word-break: break-all;
display: flex;
flex-flow: column;
flex-wrap: nowrap;
font-size: 0.875rem;
font-weight: 600;
justify-content: center;
padding-left: 1rem;
color: #000;
&--hyperlink {
font-weight: 400;
color: $ultra-black-color;
max-height: 2rem;
overflow: hidden;
}
}
}
.sv_main {
2022-04-25 20:02:20 +02:00
font-family: 'OpenSans' !important;
background-color: transparent;
.sv_p_root {
2022-05-22 18:16:14 +02:00
max-width: 100ex;
margin: 0 auto;
2022-04-25 20:02:20 +02:00
& > .sv_row:nth-child(2n) {
background-color: #fff;
}
& > .sv_row:nth-child(2n + 1) {
background-color: #fff;
}
& > .sv_row {
border-bottom: none;
background-color: #fff;
box-shadow: rgba(12, 12, 13, 0.1) 0px 1px 4px 0px;
}
& > .sv_row:last-child {
border-bottom: none;
}
}
2022-04-25 14:29:55 +02:00
.sv_container {
2022-04-25 20:02:20 +02:00
color: rgb(12, 12, 13);
padding: 0;
.sv_body {
padding: 0;
.sv_p_root {
& > .sv_row {
padding: 0.75rem 1.5rem;
margin-bottom: 1rem;
border-radius: 3px;
}
.sv_page_title {
font-weight: bold;
font-size: calc(15 / 16 * 1rem);
}
.sv_q {
padding: 0;
}
}
.sv_progress {
height: 0.25rem;
.sv_progress_bar {
margin-top: 0;
margin-bottom: 0.5rem;
}
}
}
2022-04-25 14:29:55 +02:00
}
.sv_body {
border: none !important;
2022-04-25 20:02:20 +02:00
background-color: transparent;
}
.sv_progress {
background-color: hsl(240, 9.1%, 87.8%);
margin-bottom: 4rem;
transition: all 200ms;
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
& > span {
font-weight: 600;
}
2022-04-25 14:29:55 +02:00
}
2022-04-25 20:02:20 +02:00
.sv_progress_bar {
background-color: #000;
transition: all 200ms;
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}
}
.sv_main .sv_container .sv_body .sv_p_root .sv_page_title {
font-size: 1.1rem;
font-weight: bold;
2022-04-25 14:29:55 +02:00
}
.sv_q_radiogroup {
2022-04-25 20:02:20 +02:00
margin-top: 0.25rem;
2022-04-25 14:29:55 +02:00
}
2022-04-25 20:02:20 +02:00
.sv_main .sv_q_other input,
.sv_main .sv_q_text_root,
.sv_main .sv_q_dropdown_control,
.sv_main
input:not([type='button']):not([type='reset']):not([type='submit']):not([type='image']):not([type='checkbox']):not([type='radio']),
.sv_main select,
.sv_main textarea {
border: 1px solid #6d7072;
color: #000;
padding-left: 0.25rem !important;
margin-top: 0.5rem;
margin-bottom: 0.5rem;
2022-04-25 14:29:55 +02:00
}
2022-07-03 19:51:04 +02:00
.sv_q_radiogroup_label {
cursor: pointer;
}
2022-04-25 14:29:55 +02:00
.sv_nav {
2022-04-25 20:02:20 +02:00
display: flex;
2022-04-25 14:29:55 +02:00
margin: 2rem 0;
2022-05-22 18:16:14 +02:00
justify-content: center;
2022-04-25 14:29:55 +02:00
}
.sv_prev_btn,
2022-07-03 19:51:04 +02:00
.sv_next_btn,
.sv_complete_btn {
2022-04-25 14:29:55 +02:00
border: 0;
outline: 0;
2022-04-25 20:02:20 +02:00
font-size: 0.875rem !important;
line-height: 0.875rem !important;
2022-04-25 14:29:55 +02:00
height: 2.5rem;
cursor: pointer;
2022-05-22 18:16:14 +02:00
min-width: 100px;
2022-04-25 20:02:20 +02:00
}
2022-07-03 19:51:04 +02:00
.sv_next_btn,
.sv_complete_btn {
2022-04-25 14:29:55 +02:00
background-color: #000 !important;
2022-04-25 20:02:20 +02:00
font-weight: 800 !important;
2022-04-25 14:29:55 +02:00
padding: 0 1.5rem;
background-color: #000;
2022-04-25 20:02:20 +02:00
margin: 0 !important;
color: #fff !important;
&:hover {
color: $icd-rentgen-color !important;
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;
}
}
}
.sv_prev_btn {
margin-right: 0.5rem !important;
color: #000 !important;
text-decoration: underline !important;
background-color: transparent !important;
font-weight: 700 !important;
}
.sv_main .sv_q_erbox:not([style*='display: none']):not([style*='display:none']) {
color: $dark-red;
}
.sv_main .sv_q_erbox:not([style*='display: none']):not([style*='display:none']) {
border: 1px solid $dark-red;
background-color: $pale-red;
}
.sv_main
.sv_container
.sv_body
.sv_p_root
.sv_q
.sv_q_erbox:not([style*='display: none']):not([style*='display:none']) {
margin: 0.5rem 0;
padding: 1rem;
}
.sv_qstn fieldset {
margin: 0px;
padding: 0px;
font-size: calc(14 / 16 * 1rem);
}
.sv_main .sv_custom_header {
background-color: transparent;
}
.sv_main .sv_q_other input:focus,
.sv_main .sv_q_text_root:focus,
.sv_main .sv_q_dropdown_control:focus,
.sv_main
input:not([type='button']):not([type='reset']):not([type='submit']):not([type='image']):not([type='checkbox']):not([type='radio']):focus,
.sv_main select:focus,
.sv_main textarea:focus {
border: 1px solid #000;
}
2022-07-06 20:01:14 +02:00
.sv_q_title,
2022-04-25 20:02:20 +02:00
.sv_main .sv_container .sv_body .sv_p_root .sv_q_title {
font-weight: 600;
font-size: calc(14 / 16 * 1rem);
2022-02-10 21:52:40 +01:00
}