article.clinical-allergies { padding-bottom: 0; .current-status { font-weight: normal; padding-left: 0; } .panel { margin: 2rem 0 .6rem 0; padding: 0.5rem 0; .flex-container { align-items: center; flex-align: stretch; justify-content: center; margin: 0 1rem; &.disabled { opacity: .5; pointer-events: none; } input { margin: 0; } label { flex: 10; } } } } .lozenge { padding: .2em .3rem 0 .3rem; ul { li { background-color: $light-grey; border: 0; border-radius: 0.3rem; display: inline-block; margin: 0.1rem 0.3rem 0.2rem 0; margin: 0.2rem .6rem .2rem 0; padding: 0.3rem 0.3rem 0 .2rem; padding: 0 } } } .clinical-header { background-color: $table-border-colour; padding: 0 .2em .2em .6em; @media print { display: none; } &.lozenge { background-color: $white; padding: 0 .3rem .2em .3rem; ul { li { background-color: $light-grey; border: 0; border-radius: 0.3rem; margin: 0.1rem 0.3rem 0.2rem 0; padding: 0.3rem 0.3rem; } } dl { font-size: 0.9rem; line-height: 0.9rem; margin: 0; padding: 0; } } ul { margin: 0; padding: 0; li { border-bottom: 1px dotted $winter-sky; display: inline-block; margin: 0.2rem .6rem .2rem 0; padding: 0 } } dl { font-size: 0.9rem; line-height: 0.8rem; margin: 0; padding: 0; dt, dd { display: inline-block; margin: 0; padding: 0; } dt { font-weight: normal; } dd { font-weight: bold; padding-left: 0.2rem; &.date { color: $muted-dark-grey; font-style: italic; font-weight: normal; } &.empty { display: none; } } } } .patient-alerts { color: $white; @media print { display: none; } &.lozenge { ul { margin: 0; //font-size: 0.9rem; li { background-color: $nhs-orange; color: $white; display: inline-block; margin: 0 .3rem 0 0; margin: 0.1rem 0.3rem 0.2rem 0; padding: 0 .4rem; &:hover { background-color: darken($nhs-orange, 5); } &.urgent { background-color: $nhs-red; &:hover { background-color: darken($nhs-red, 7); } } &.research-study-participant { background-color: darken($nhs-green, 3); color: $white; &:hover { background-color: darken($nhs-green, 5); } a { border-bottom: 1px dotted $white;; color: $white } .date { border-left: 1px solid $mid-grey; } span { color: $white; } } span { padding: 0 .4rem; } .body, .external_application_link { padding-left: 0; } .date, .author, .actions { border-left: 1px solid $winter-sky; font-style: italic; white-space: nowrap; .fa, .fas, .far { color: $light-grey; &:hover { color: $white; } } } .actions { padding-left: .6rem; padding-right: .1rem; } } } } }