439 lines
8.5 KiB
CSS
439 lines
8.5 KiB
CSS
|
|
.ansico-diagnosekoder {
|
||
|
|
border: 1px solid #dcdcde;
|
||
|
|
border-radius: 8px;
|
||
|
|
padding: 16px;
|
||
|
|
background: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__search {
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__search--inline {
|
||
|
|
display: flex;
|
||
|
|
gap: 8px;
|
||
|
|
align-items: center;
|
||
|
|
margin-bottom: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__input {
|
||
|
|
width: 100%;
|
||
|
|
padding: 10px 12px;
|
||
|
|
border: 1px solid #8c8f94;
|
||
|
|
border-radius: 6px;
|
||
|
|
font-size: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__message {
|
||
|
|
margin: 0;
|
||
|
|
color: #50575e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__list {
|
||
|
|
list-style: none;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__item {
|
||
|
|
border-top: 1px solid #f0f0f1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__item:first-child {
|
||
|
|
border-top: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__code {
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__separator {
|
||
|
|
color: #50575e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__text {
|
||
|
|
color: #1d2327;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__highlight {
|
||
|
|
padding: 0 0.12em;
|
||
|
|
background: #fff2a8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder-editor-preview {
|
||
|
|
border: 1px dashed #c3c4c7;
|
||
|
|
border-radius: 8px;
|
||
|
|
padding: 16px;
|
||
|
|
background: #f6f7f7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder--search-only {
|
||
|
|
padding: 0;
|
||
|
|
border: 0;
|
||
|
|
background: transparent;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__submit {
|
||
|
|
white-space: nowrap;
|
||
|
|
padding: 10px 14px;
|
||
|
|
border: 1px solid #2271b1;
|
||
|
|
border-radius: 6px;
|
||
|
|
background: #2271b1;
|
||
|
|
color: #fff;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__submit:hover {
|
||
|
|
background: #135e96;
|
||
|
|
border-color: #135e96;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__row {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 8px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__entry-link,
|
||
|
|
.ansico-diagnosekoder__entry-link:visited {
|
||
|
|
color: inherit;
|
||
|
|
text-decoration: none;
|
||
|
|
flex: 1 1 auto;
|
||
|
|
min-width: 0;
|
||
|
|
display: block;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__entry-link:hover,
|
||
|
|
.ansico-diagnosekoder__entry-link:focus-visible {
|
||
|
|
color: inherit;
|
||
|
|
text-decoration: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__entry {
|
||
|
|
min-width: 0;
|
||
|
|
flex: 1 1 auto;
|
||
|
|
line-height: 1.4;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__linked-badge {
|
||
|
|
display: inline-block;
|
||
|
|
margin-left: 8px;
|
||
|
|
font-size: 12px;
|
||
|
|
color: #50575e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__actions {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 6px;
|
||
|
|
flex: 0 0 auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__icon-button {
|
||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
width: 32px;
|
||
|
|
height: 32px;
|
||
|
|
border: 1px solid #dcdcde;
|
||
|
|
border-radius: 999px;
|
||
|
|
background: #fff;
|
||
|
|
color: #50575e;
|
||
|
|
cursor: pointer;
|
||
|
|
position: relative;
|
||
|
|
font-size: 16px;
|
||
|
|
transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__icon-button:hover,
|
||
|
|
.ansico-diagnosekoder__icon-button:focus-visible {
|
||
|
|
background: #f6f7f7;
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__icon-button.is-feedback-visible::after {
|
||
|
|
content: attr(aria-label);
|
||
|
|
position: absolute;
|
||
|
|
top: calc(100% + 6px);
|
||
|
|
right: 0;
|
||
|
|
white-space: nowrap;
|
||
|
|
background: #1d2327;
|
||
|
|
color: #fff;
|
||
|
|
font-size: 12px;
|
||
|
|
line-height: 1.2;
|
||
|
|
padding: 4px 6px;
|
||
|
|
border-radius: 4px;
|
||
|
|
z-index: 10;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__icon-button.is-pressed,
|
||
|
|
.ansico-diagnosekoder__icon-button:active {
|
||
|
|
transform: scale(0.92);
|
||
|
|
background: #e9f2f9;
|
||
|
|
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__icon-button svg {
|
||
|
|
width: 18px;
|
||
|
|
height: 18px;
|
||
|
|
display: block;
|
||
|
|
fill: currentColor;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__copy-button.is-pressed,
|
||
|
|
.ansico-diagnosekoder__copy-button:active {
|
||
|
|
background: #dfeffb;
|
||
|
|
border-color: #2271b1;
|
||
|
|
color: #2271b1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__favorite-button.is-active {
|
||
|
|
color: #111111;
|
||
|
|
border-color: #111111;
|
||
|
|
background: #f3f4f5;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__favorite-button.is-active svg {
|
||
|
|
fill: #111111 !important;
|
||
|
|
stroke: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__link-button.is-active {
|
||
|
|
color: #b32d2e;
|
||
|
|
border-color: #b32d2e;
|
||
|
|
background: #fff1f1;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
@media (max-width: 600px) {
|
||
|
|
.ansico-diagnosekoder__search--inline {
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: stretch;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__row {
|
||
|
|
align-items: flex-start;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__favorite-button svg {
|
||
|
|
fill: none;
|
||
|
|
stroke: currentColor;
|
||
|
|
stroke-width: 1.8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__favorite-button.is-active svg {
|
||
|
|
fill: #111111 !important;
|
||
|
|
stroke: #111111;
|
||
|
|
stroke-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__item.has-link .ansico-diagnosekoder__entry-link {
|
||
|
|
font-weight: 500;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__item[data-is-favorite="0"] .ansico-diagnosekoder__favorite-button svg {
|
||
|
|
fill: none !important;
|
||
|
|
stroke: currentColor !important;
|
||
|
|
stroke-width: 1.8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__item[data-is-favorite="1"] .ansico-diagnosekoder__favorite-button svg {
|
||
|
|
fill: #111111 !important;
|
||
|
|
stroke: #111111 !important;
|
||
|
|
stroke-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__item.has-link {
|
||
|
|
background: #f6f7f7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__item.has-link:hover {
|
||
|
|
background: #eef0f1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal[hidden] {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal {
|
||
|
|
position: fixed;
|
||
|
|
inset: 0;
|
||
|
|
z-index: 999999;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-backdrop {
|
||
|
|
position: absolute;
|
||
|
|
inset: 0;
|
||
|
|
background: rgba(0, 0, 0, 0.45);
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-dialog {
|
||
|
|
position: relative;
|
||
|
|
max-width: 720px;
|
||
|
|
margin: 8vh auto 0;
|
||
|
|
background: #fff;
|
||
|
|
border-radius: 12px;
|
||
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-header,
|
||
|
|
.ansico-diagnosekoder__modal-footer {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 16px 20px;
|
||
|
|
border-bottom: 1px solid #f0f0f1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-footer {
|
||
|
|
border-bottom: 0;
|
||
|
|
border-top: 1px solid #f0f0f1;
|
||
|
|
justify-content: flex-end;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-body {
|
||
|
|
padding: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-title {
|
||
|
|
margin: 0;
|
||
|
|
font-size: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-close {
|
||
|
|
appearance: none;
|
||
|
|
border: 0;
|
||
|
|
background: transparent;
|
||
|
|
font-size: 28px;
|
||
|
|
line-height: 1;
|
||
|
|
cursor: pointer;
|
||
|
|
color: #50575e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-field {
|
||
|
|
margin-bottom: 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-label {
|
||
|
|
display: block;
|
||
|
|
margin-bottom: 6px;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #1d2327;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-input {
|
||
|
|
width: 100%;
|
||
|
|
padding: 10px 12px;
|
||
|
|
border: 1px solid #8c8f94;
|
||
|
|
border-radius: 6px;
|
||
|
|
font-size: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-hint,
|
||
|
|
.ansico-diagnosekoder__modal-message {
|
||
|
|
margin: 0 0 16px;
|
||
|
|
color: #50575e;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-search-results {
|
||
|
|
max-height: 240px;
|
||
|
|
overflow: auto;
|
||
|
|
border: 1px solid #dcdcde;
|
||
|
|
border-radius: 8px;
|
||
|
|
background: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-result-list {
|
||
|
|
list-style: none;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-result-item + .ansico-diagnosekoder__modal-result-item {
|
||
|
|
border-top: 1px solid #f0f0f1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-result-button {
|
||
|
|
display: block;
|
||
|
|
width: 100%;
|
||
|
|
padding: 12px 14px;
|
||
|
|
border: 0;
|
||
|
|
background: #fff;
|
||
|
|
text-align: left;
|
||
|
|
cursor: pointer;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-result-button:hover,
|
||
|
|
.ansico-diagnosekoder__modal-result-button:focus {
|
||
|
|
background: #f6f7f7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-result-title {
|
||
|
|
display: block;
|
||
|
|
font-weight: 600;
|
||
|
|
color: #1d2327;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-result-meta {
|
||
|
|
display: block;
|
||
|
|
margin-top: 4px;
|
||
|
|
color: #50575e;
|
||
|
|
font-size: 13px;
|
||
|
|
word-break: break-all;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-button {
|
||
|
|
appearance: none;
|
||
|
|
border: 1px solid #2271b1;
|
||
|
|
border-radius: 6px;
|
||
|
|
padding: 10px 14px;
|
||
|
|
cursor: pointer;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-button--primary {
|
||
|
|
background: #2271b1;
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder__modal-button--secondary {
|
||
|
|
background: #fff;
|
||
|
|
color: #2271b1;
|
||
|
|
}
|
||
|
|
|
||
|
|
body.ansico-diagnosekoder-modal-open {
|
||
|
|
overflow: hidden;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder-kodekort {
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder-kodekort__list {
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder-kodekort__item {
|
||
|
|
padding: 12px 14px;
|
||
|
|
border: 1px solid #dcdcde;
|
||
|
|
border-radius: 8px;
|
||
|
|
background: #f6f7f7;
|
||
|
|
line-height: 1.5;
|
||
|
|
color: #1d2327;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder-kodekort__code {
|
||
|
|
font-weight: 700;
|
||
|
|
}
|
||
|
|
|
||
|
|
.ansico-diagnosekoder-kodekort__separator {
|
||
|
|
color: #50575e;
|
||
|
|
}
|