// Place all the styles related to the MyModules controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ @import 'constants'; // Protocols index page .task-due-date, .task-state-label { .alert-green { color: $color-saturated-green; } .alert-yellow { color: $color-candlelight; } .alert-red { color: $color-milano-red; } } /* Results index page */ #results { margin-top: 20px; } .btn-colorselector{ background-color: transparent; } .step-container .row { margin-left: 0; margin-right: 0; } .module-large { .description-label { word-break: break-all; word-wrap: break-word; } .comment { word-break: break-all; word-wrap: break-word; } } .modal-image-preview { background: transparent; font-size: 16px; padding-right: 0 !important; .preview-close { background: transparent; border: 0; color: $color-white; display: inline-block; float: right; } .modal-dialog { height: 100%; margin: 0; padding: 0; width: auto; } .modal-content { background: transparent; border: 0; -webkit-box-shadow: none; box-shadow: none; color: $color-white; height: 100%; width: auto; } img { height: auto; max-width: 100%; @media (max-height: 520px) { height: 80%; max-width: 100%; } } .modal-header { background: $color-black; border: 0; height: 60px; } .modal-body { align-items: center; display: -moz-flex; display: -webkit-flex; display: flex; height: calc(100% - 120px); justify-content: center; overflow: hidden; } .modal-footer { background: $color-black; border: 0; bottom: 0; height: 60px; position: absolute; text-align: center; width: 100%; } .image-download-link { color: $color-white; display: inline-block; float: right; margin-right: 20px; } } .modal-backdrop.modal-image-preview { background: $color-black; .in { filter: alpha(opacity = 99); opacity: .99; } }