@import "src/styles/colors"; .modal-container { z-index: 2010; padding: 14px; position: fixed; right: 0; bottom: 0; height: 95vh; border-radius: 40px 0 0 0; background-color: $color-gray0; box-shadow: -2px -2px 24px 0 rgba(39, 42, 72, 0.4); } .overlay { position: fixed; z-index: 2000; height: 100%; width: 100%; opacity: 0.3; left: 0; top: 0; background-color: #000000; } .header-container { border: 1px solid $color-white-1; display: flex; flex-direction: row; align-items: center; border-radius: 30px 4px 4px 4px; background-color: rgba(255,255,255,0.95); box-shadow: 0 1px 12px 0 rgba(34,33,78,0.08), 0 2px 4px 0 rgba(34,33,78,0.1); h3 { margin-left: 14px; color: $color-text-default; font-size: 24px; font-weight: bold; letter-spacing: 0; line-height: 28px; &.hasSubHeader { display: block; min-width: 60%; max-width: 60%; top: -10px; position: relative; } } .sub-header { color: $color-text-dimmed; font-family: "PT Sans"; font-size: 14px; letter-spacing: 0; line-height: 19px; display: block; height: 19px; left: -60%; position: relative; min-width: 60%; bottom: -15px } .header-buttons:empty { display: none; } .header-buttons { position: absolute; right: 0px; border-left: 1px solid $color-gray2; background-color: $color-gray0; height: 58px; margin: -10px 15px -10px 0; ::ng-deep { app-modal-controls { button { height: 100%; } a { line-height: 58px !important; color: $color-text-dimmed; mat-icon { line-height: 20px; } } } } } .btn { &--close { cursor: pointer; border: none; border-right: $color-gray2; background-color: $color-gray0; border-radius: 30px 4px 0 0; &:focus { outline: none; box-shadow: 0 0 2px $color-text-dimmed; } &:hover { background-color: $color-gray2; } } } .icon { display: inline-block; width: 28px; margin: 12px; height: 28px; background-size: 20px 26px; &--close { background: url("/graviditetsmappen/assets/img/ic_close-large.svg"); } } } .modal-content { max-height: calc(95vh - 80px); margin-right: -15px; /*Move scroll bar all the way to the right*/ padding-right: 15px; overflow-y: scroll; }