.save { background-color: green !important; } .cancel { background-color: red !important; } .delete { color: red !important; } .sub-nav dd a.has-tip:hover { color: $link-colour; } .sub-nav { margin-bottom: 0.8rem; dd { margin:0; padding:0; } } .tooltip { background-color: rgba(92,92,92,0.9); border-radius: 0.5em; radius: 20px; padding: 6px 8px; font-size: 0.9rem; color: $white; } .tooltip > .nub { border-color: transparent transparent rgba(92, 92, 92, 0.8) transparent; margin-left: 0.5em; } #patient_search { width: 365px; } dd.patient-name { display: none; } [data-magellan-expedition], [data-magellan-expedition-clone] { padding: 5px 0; } .sub-nav.fixed { left: auto; } .page-navigation { margin: 5px 0; } .collapse-patient-menu .patient-side-nav { left: -$patient-side-nav-width; } .patient-side-nav { @media print { display: none; } background-color: $patient-menu-background-colour; padding: 0.6rem 0 2rem 0.6rem; width: $patient-side-nav-width; min-width: $patient-side-nav-width; hr { margin: 0.3rem 0 0.5rem; } ul.side-nav { margin: 0; padding: 0; li { margin: 0; padding: 0 0 .1rem 0.5rem; a { border-radius: 3px; padding: 0.1rem 0.5rem; text-decoration: underline; color: $nhs-blue; } span { padding: 0.2rem 0.5rem; } &.action { padding-right: 0.5rem; padding-right: .5rem; a { text-decoration: none; text-align: left; margin-right:1rem; margin-bottom: 0.2rem; margin-top: 0.1rem; padding: 0.2rem 0.5rem; background-color: $light-grey; color: $dark-grey; border-radius: 3px; transition: all 0.3s ease 0s; border-radius: 2px; &:hover { background-color: $nhs-blue; color: $off-white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.13), 0 1px 3px 0 rgba(0, 0, 0, 0.08); } } } &.actions-heading { margin-bottom: 0.3rem; } } } } .patient-side-nav li:last-child { margin-bottom: 0; } .patient-side-nav li > a:hover, .patient-side-nav li > a:hover:first-child:not(.button) { background-color: $link-colour; color: $white; border-top-right-radius: 0; border-bottom-right-radius: 0; } .patient-side-nav li.active > a, .patient-side-nav li.active > a:first-child:not(.button) { background-color: $white; border-top-left-radius: 3px; border-top-right-radius: 0; border-bottom-left-radius: 3px; border-bottom-right-radius: 0; color: $dark-grey; margin-right: 0; text-decoration: none; } .patient-side-nav li a.active:hover { background-color: $white; color: $dark-grey; } .patient-side-nav li.heading { color: $dark-grey; font-weight: normal; font-size: .9rem; } .mdm-top-bar { height: 2.3rem; ul li.name { height: 2.2rem; padding-left: 0.5rem; padding-top: 0.4rem; color: $white; font-size: 1rem; a { color: $white; padding-left: 0.5rem; } } } @media only screen and (min-width: 830px) { .top-bar-section li:not(.has-form) a:not(.button) { padding: 0 0.6rem; } } .top-bar-section .dropdown li.info { color: rgba(255, 255, 255, 0.5); padding: 0 15px; line-height: 45px; font-size: 0.8em; } .dropdown.button { padding-right: 3rem; &::after { right: 1rem; } } .sub-nav { background-color: transparent; float: left; margin: 0 0 1rem; padding: 0; width: 100%; } .sub-nav dd { margin: 0 0.25rem 0 0; } // Used when tabs are local to an area of a page and not inside a page-heading // Adds a border under the tabs, and the tabs within must be offset down by 1px // so that the active one seems to have no bottom border. .tabs-container { border-bottom: 1px solid $tab-border-color; float: left; width: 100%; clear: both; margin-bottom: 1rem; .sub-nav { margin: 0; position: relative; top: 1px; } } .sub-nav dd a { display: block; color: $monsoon; background-color: transparent; text-decoration: none; white-space: nowrap; border: solid transparent; border-width: 3px 1px 1px; border-radius: 3px 3px 0 0; padding: 0.3rem 1.3rem; } .sub-nav dd a:hover { color: $dark-grey; } .sub-nav dd.active a { border-color: $nhs-orange $tab-border-color transparent; color: $dark-grey; background-color: $white; padding: 0.3rem 1.3rem; } .sub-nav dd.active { font-weight: bold; } .sub-nav dd.active a:hover { background-color: $white; color: $dark-grey; } .f-dropdown li { &.disabled { padding: 0.5rem; color: $mid-grey; cursor: default; display: block; &:hover { background-color: $white; } } }