2016-02-12 23:52:43 +08:00
|
|
|
// 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/
|
2020-05-13 16:58:40 +08:00
|
|
|
// scss-lint:disable SelectorDepth SelectorFormat
|
|
|
|
// scss-lint:disable NestingDepth QualifyingElement
|
2016-02-12 23:52:43 +08:00
|
|
|
|
2023-02-21 22:04:58 +08:00
|
|
|
// Fix for elements being scrolled to being hidden behind sticky navigation
|
|
|
|
html {
|
|
|
|
scroll-padding-top: 128px;
|
|
|
|
}
|
|
|
|
|
2019-03-14 23:08:52 +08:00
|
|
|
.protocol-description-content {
|
2020-05-28 22:04:21 +08:00
|
|
|
margin: 20px 0 20px 10px;
|
2019-03-14 23:08:52 +08:00
|
|
|
}
|
2016-12-16 17:43:14 +08:00
|
|
|
|
2017-02-10 21:27:20 +08:00
|
|
|
// Protocols index page
|
|
|
|
.task-due-date,
|
|
|
|
.task-state-label {
|
2019-05-11 22:04:28 +08:00
|
|
|
font-size: 14px;
|
|
|
|
|
2017-02-10 21:27:20 +08:00
|
|
|
.alert-green {
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $brand-success;
|
2017-02-10 21:27:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-yellow {
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $brand-warning;
|
2017-02-10 21:27:20 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-red {
|
2018-03-28 19:54:01 +08:00
|
|
|
color: $brand-danger;
|
2017-02-10 21:27:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-12 23:52:43 +08:00
|
|
|
/* Results index page */
|
|
|
|
|
2022-04-22 18:24:14 +08:00
|
|
|
.navigation-results-counter {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
border-radius: $border-radius-circle;
|
|
|
|
color: $color-volcano;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: .1em .5em;
|
|
|
|
}
|
|
|
|
|
2016-07-21 19:11:15 +08:00
|
|
|
.btn-colorselector{
|
2016-12-06 19:01:02 +08:00
|
|
|
background-color: transparent;
|
2016-09-15 17:45:51 +08:00
|
|
|
}
|
|
|
|
|
2016-09-16 15:04:21 +08:00
|
|
|
.step-container .row {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2016-09-15 17:45:51 +08:00
|
|
|
}
|
2016-09-26 21:50:09 +08:00
|
|
|
|
2016-11-29 00:14:27 +08:00
|
|
|
.module-large {
|
2022-12-12 18:45:59 +08:00
|
|
|
|
|
|
|
.nav-tabs {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-code {
|
|
|
|
align-items: center;
|
|
|
|
color: $color-volcano;
|
|
|
|
display: flex;
|
|
|
|
height: 30px;
|
|
|
|
margin-left: auto;
|
|
|
|
padding-right: .5em;
|
|
|
|
text-align: end;
|
|
|
|
}
|
|
|
|
|
2016-11-29 00:14:27 +08:00
|
|
|
.description-label {
|
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2016-09-26 21:50:09 +08:00
|
|
|
|
2016-11-29 00:14:27 +08:00
|
|
|
.comment {
|
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2016-11-29 00:16:39 +08:00
|
|
|
}
|
2019-03-20 03:41:16 +08:00
|
|
|
|
2022-11-11 16:45:07 +08:00
|
|
|
.archived-task-card-code {
|
2022-11-11 16:48:22 +08:00
|
|
|
bottom: 30px;
|
2022-11-11 16:45:07 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 25px;
|
|
|
|
}
|
|
|
|
|
2019-03-20 15:00:04 +08:00
|
|
|
// Create wopi file
|
2019-03-20 03:41:16 +08:00
|
|
|
.create-wopi-file-btn {
|
2020-11-03 01:47:08 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
2019-03-20 04:04:29 +08:00
|
|
|
img {
|
2020-11-03 01:47:08 +08:00
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
2019-03-20 04:04:29 +08:00
|
|
|
}
|
2019-03-20 03:41:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#new-office-file-modal {
|
|
|
|
.modal-header {
|
2019-03-20 05:58:30 +08:00
|
|
|
border-bottom: 0;
|
2019-03-20 03:41:16 +08:00
|
|
|
}
|
2019-03-20 05:58:30 +08:00
|
|
|
|
2019-03-20 03:41:16 +08:00
|
|
|
.modal-body {
|
|
|
|
margin-bottom: 80px;
|
|
|
|
}
|
2019-03-20 05:58:30 +08:00
|
|
|
|
2019-03-20 03:41:16 +08:00
|
|
|
.modal-footer {
|
2019-03-20 05:58:30 +08:00
|
|
|
border-top: 0;
|
2019-03-20 03:41:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
label.btn {
|
|
|
|
background-color: $color-white;
|
|
|
|
color: $color-emperor;
|
|
|
|
|
2019-03-20 05:58:30 +08:00
|
|
|
padding-left: 15px;
|
|
|
|
text-align: left;
|
|
|
|
|
2019-03-20 03:41:16 +08:00
|
|
|
&#word-btn.active {
|
|
|
|
background-color: $office-ms-word;
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&#excel-btn.active {
|
|
|
|
background-color: $office-ms-excel;
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&#powerpoint-btn.active {
|
|
|
|
background-color: $office-ms-powerpoint;
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
|
2022-05-24 17:13:47 +08:00
|
|
|
.act {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
.inactive {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.act {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-03-20 03:41:16 +08:00
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 15px;
|
2019-03-20 05:58:30 +08:00
|
|
|
text-align: left;
|
|
|
|
vertical-align: middle;
|
2019-03-20 03:41:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#submit-btn-cont {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
// Stretch button
|
|
|
|
.btn {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-13 16:58:40 +08:00
|
|
|
|
2023-02-28 04:54:57 +08:00
|
|
|
.mce-toc ul,
|
|
|
|
.mce-toc li {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
2020-05-13 16:58:40 +08:00
|
|
|
// Mobile view
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
.task-section {
|
|
|
|
border-left: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
.task-section-header {
|
|
|
|
.actions-block {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.dropdown {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.task-details {
|
|
|
|
.module-tags {
|
|
|
|
.dropdown-selector-container {
|
|
|
|
.input-field {
|
|
|
|
padding-right: 36px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.datetime-container {
|
|
|
|
.date-text {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
left: -50px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#steps {
|
|
|
|
.panel-heading {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-options {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachments {
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
|
|
|
|
|
|
|
|
.attachment-placeholder {
|
|
|
|
margin: 4px 0 16px;
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#filePreviewModal {
|
|
|
|
.modal-body {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.file-preview-container {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-10 19:07:18 +08:00
|
|
|
|
2023-04-11 03:30:10 +08:00
|
|
|
.nav {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
2020-12-10 19:07:18 +08:00
|
|
|
|
|
|
|
#module-archive {
|
|
|
|
[data-view-mode="active"] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-11-25 22:29:15 +08:00
|
|
|
.toolbar {
|
|
|
|
margin-top: 1em;
|
2023-05-15 15:12:07 +08:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
.left {
|
|
|
|
justify-self: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.middle {
|
2023-06-02 16:04:25 +08:00
|
|
|
margin: .5rem auto;
|
2023-05-15 15:12:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.view-switch,
|
|
|
|
.filter-container {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-switch-button {
|
|
|
|
outline: 1px solid $color-alto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.view-switch {
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
.caret {
|
|
|
|
margin: 8px 0 8px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
.caret {
|
|
|
|
transform: rotateX(180deg);
|
|
|
|
}
|
2023-06-15 21:12:51 +08:00
|
|
|
|
|
|
|
.sn-icon-down {
|
|
|
|
transform: rotateX(180deg);
|
|
|
|
}
|
2023-05-15 15:12:07 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
@include font-button;
|
|
|
|
min-width: 100%;
|
2023-05-30 17:15:06 +08:00
|
|
|
padding: 0;
|
2023-05-15 15:12:07 +08:00
|
|
|
|
|
|
|
.divider-label {
|
|
|
|
@include font-small;
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
padding: .25em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
cursor: pointer;
|
|
|
|
padding: .5em 1em;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
.button-icon {
|
|
|
|
margin-right: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(.divider-label) {
|
|
|
|
background: $color-concrete;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
height: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
margin: -1em;
|
|
|
|
padding: .5em 1em;
|
|
|
|
width: calc(100% + 2em);
|
|
|
|
|
|
|
|
&.selected::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: $font-fas-check;
|
|
|
|
margin-left: auto;
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cards-switch {
|
|
|
|
&.active::after {
|
|
|
|
@include font-awesome;
|
|
|
|
content: "\f00c";
|
|
|
|
position: absolute;
|
|
|
|
right: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-11-25 22:29:15 +08:00
|
|
|
}
|
|
|
|
|
2020-12-10 19:07:18 +08:00
|
|
|
.module-container {
|
|
|
|
min-width: 220px;
|
2020-12-10 23:16:11 +08:00
|
|
|
|
|
|
|
&.active-card {
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
2020-12-10 19:07:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-default {
|
|
|
|
border: 0;
|
|
|
|
box-shadow: unset;
|
|
|
|
position: unset;
|
|
|
|
width: unset;
|
|
|
|
|
2020-12-11 18:52:24 +08:00
|
|
|
.task-selector-container {
|
2020-12-17 19:38:28 +08:00
|
|
|
padding: .75em .75em 0 1em;
|
2023-09-18 17:53:51 +08:00
|
|
|
|
|
|
|
&.archived-task {
|
|
|
|
display: flex;
|
|
|
|
height: 2rem;
|
|
|
|
margin: 0 .75rem;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.sci-checkbox-container {
|
|
|
|
display: flex;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
}
|
2020-12-11 18:52:24 +08:00
|
|
|
}
|
|
|
|
|
2020-12-10 19:07:18 +08:00
|
|
|
.panel-heading {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
border-color: $color-white;
|
2020-12-11 18:52:24 +08:00
|
|
|
|
|
|
|
.panel-title {
|
|
|
|
color: $color-volcano;
|
|
|
|
}
|
2020-12-10 19:07:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-body {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
.archived-overdue-date {
|
|
|
|
.date-label {
|
|
|
|
color: $color-volcano;
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: normal;
|
|
|
|
width: 90px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-value {
|
|
|
|
color: $color-black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-footer-scinote {
|
|
|
|
background: $color-concrete;
|
|
|
|
border-color: $color-white;
|
2020-12-17 19:38:28 +08:00
|
|
|
height: 2.5em;
|
2020-12-10 19:07:18 +08:00
|
|
|
|
|
|
|
.nav {
|
|
|
|
border: 0;
|
|
|
|
}
|
2020-12-10 22:18:31 +08:00
|
|
|
|
|
|
|
.tab-content {
|
|
|
|
background-color: $color-concrete;
|
2020-12-10 23:16:11 +08:00
|
|
|
box-shadow: $flyout-shadow;
|
|
|
|
|
2020-12-10 22:18:31 +08:00
|
|
|
.tab-pane > .text-center {
|
2020-12-17 19:38:28 +08:00
|
|
|
margin-top: .3em;
|
2020-12-10 22:18:31 +08:00
|
|
|
}
|
|
|
|
}
|
2020-12-10 19:07:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-28 20:53:47 +08:00
|
|
|
|
|
|
|
.print-protocol-form {
|
|
|
|
.sci-checkbox-container {
|
|
|
|
margin-right: .25em;
|
|
|
|
}
|
|
|
|
}
|