2019-12-11 21:49:14 +08:00
|
|
|
// scss-lint:disable SelectorDepth SelectorFormat QualifyingElement
|
|
|
|
// scss-lint:disable NestingDepth ImportantRule
|
|
|
|
|
|
|
|
@import "constants";
|
2022-03-22 20:33:58 +08:00
|
|
|
@import "layouts/reminders";
|
2019-12-11 21:49:14 +08:00
|
|
|
|
|
|
|
.repository-table {
|
2021-09-06 16:12:10 +08:00
|
|
|
position: relative;
|
|
|
|
|
2020-01-09 22:19:04 +08:00
|
|
|
.dataTables_filter {
|
2021-11-26 03:34:22 +08:00
|
|
|
display: flex;
|
2020-01-09 22:19:04 +08:00
|
|
|
float: right;
|
2021-11-26 03:34:22 +08:00
|
|
|
|
|
|
|
#filtersDropdownButton {
|
|
|
|
margin-left: .5em;
|
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
}
|
|
|
|
|
2022-06-08 19:35:06 +08:00
|
|
|
.processing-error {
|
|
|
|
color: $brand-danger;
|
|
|
|
margin-left: 2px;
|
|
|
|
|
|
|
|
.fa-exclamation-triangle {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-06 16:12:10 +08:00
|
|
|
.repository-table-error {
|
|
|
|
background: $color-white;
|
|
|
|
display: none;
|
|
|
|
height: 200px;
|
|
|
|
padding: 1em;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: 176px;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// hack only for firefox
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
input.form-control[type="file"] {
|
|
|
|
font-size: 13px;
|
|
|
|
height: auto;
|
|
|
|
padding: 3px 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-11 21:49:14 +08:00
|
|
|
// Cells
|
|
|
|
|
2020-01-09 22:19:04 +08:00
|
|
|
|
|
|
|
// Assigned
|
|
|
|
|
|
|
|
.assigned-column {
|
2020-02-27 18:47:47 +08:00
|
|
|
padding: 1px 8px;
|
2020-01-13 20:28:18 +08:00
|
|
|
position: relative;
|
|
|
|
|
2022-03-24 17:16:47 +08:00
|
|
|
.fas.fa-pencil-alt {
|
2020-02-27 18:47:47 +08:00
|
|
|
line-height: 35px;
|
|
|
|
text-align: center;
|
2020-01-09 22:19:04 +08:00
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
|
2020-02-27 18:47:47 +08:00
|
|
|
.repository-row-edit-icon {
|
|
|
|
cursor: pointer;
|
2022-03-09 21:13:48 +08:00
|
|
|
display: inline-block;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2022-03-09 22:09:49 +08:00
|
|
|
.row-reminders-dropdown {
|
2022-03-09 21:13:48 +08:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2022-04-04 17:07:46 +08:00
|
|
|
margin-right: 8px;
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
.fa-bell {
|
|
|
|
height: 16px;
|
|
|
|
text-align: center;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
background: $color-concrete;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2020-01-24 23:33:44 +08:00
|
|
|
}
|
|
|
|
|
2020-01-13 20:28:18 +08:00
|
|
|
.assign-counter-container {
|
2020-01-14 18:39:15 +08:00
|
|
|
border-radius: $border-radius-tag;
|
2020-01-13 20:28:18 +08:00
|
|
|
display: inline-block;
|
2020-02-27 18:47:47 +08:00
|
|
|
line-height: 35px;
|
2020-01-13 20:28:18 +08:00
|
|
|
position: absolute;
|
2022-03-09 21:13:48 +08:00
|
|
|
right: 5px;
|
2020-01-13 20:28:18 +08:00
|
|
|
|
|
|
|
.assign-counter {
|
2020-04-24 21:43:10 +08:00
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
padding-left: 5px;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:visited,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2020-01-13 20:28:18 +08:00
|
|
|
|
|
|
|
&.has-assigned {
|
|
|
|
color: $brand-primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2020-01-14 16:24:42 +08:00
|
|
|
background-color: $color-alto;
|
2020-01-13 20:28:18 +08:00
|
|
|
}
|
2020-04-24 21:43:10 +08:00
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
padding: 8px;
|
2020-05-22 20:36:28 +08:00
|
|
|
width: 320px;
|
|
|
|
|
|
|
|
.search-tasks:placeholder-shown + .fa-times-circle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fa-times-circle {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-04-24 21:43:10 +08:00
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
}
|
2020-01-14 20:31:44 +08:00
|
|
|
|
|
|
|
.circle-icon {
|
2020-02-27 18:47:47 +08:00
|
|
|
margin: 9px 30px;
|
2020-01-14 20:31:44 +08:00
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
}
|
|
|
|
|
2022-04-04 17:07:46 +08:00
|
|
|
.item-name {
|
2022-04-13 16:12:01 +08:00
|
|
|
padding: 2px 8px;
|
2022-04-04 17:07:46 +08:00
|
|
|
|
|
|
|
.row-reminders-dropdown {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2022-04-13 16:12:01 +08:00
|
|
|
margin-right: 8px;
|
2022-04-04 17:07:46 +08:00
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
.fa-bell {
|
|
|
|
height: 16px;
|
|
|
|
text-align: center;
|
|
|
|
width: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
background: $color-concrete;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.record-info-link {
|
|
|
|
display: inline-block;
|
2022-04-13 16:12:01 +08:00
|
|
|
margin: 8px 0;
|
2022-04-04 17:07:46 +08:00
|
|
|
}
|
2022-03-17 18:39:17 +08:00
|
|
|
}
|
2020-01-23 20:12:58 +08:00
|
|
|
// Added on
|
|
|
|
.added-on {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-12-11 21:49:14 +08:00
|
|
|
// Checklists
|
|
|
|
.checklist-dropdown {
|
|
|
|
.dropdown-menu {
|
2020-01-27 22:52:52 +08:00
|
|
|
min-width: 220px;
|
|
|
|
|
2019-12-11 21:49:14 +08:00
|
|
|
.checklist-item {
|
2020-01-27 22:52:52 +08:00
|
|
|
line-height: 18px;
|
|
|
|
padding: 5px 15px;
|
2019-12-11 21:49:14 +08:00
|
|
|
}
|
|
|
|
}
|
2019-12-20 21:46:36 +08:00
|
|
|
|
2020-01-21 17:49:45 +08:00
|
|
|
span {
|
2020-01-16 18:36:00 +08:00
|
|
|
color: $brand-primary;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2020-01-16 00:09:13 +08:00
|
|
|
}
|
|
|
|
}
|
2020-01-15 23:46:01 +08:00
|
|
|
// Text and Number field
|
|
|
|
|
|
|
|
.text-field.sci-input-container {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
|
|
|
|
2020-01-21 17:49:45 +08:00
|
|
|
// Status
|
|
|
|
.repository-status-value-container {
|
|
|
|
max-width: 150px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.repository-status-value-icon {
|
|
|
|
.emoji {
|
|
|
|
height: 24px;
|
|
|
|
margin-right: 5px;
|
|
|
|
min-width: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-selector-container {
|
2020-01-21 21:01:44 +08:00
|
|
|
width: 150px;
|
|
|
|
|
2020-01-21 17:49:45 +08:00
|
|
|
.emoji-status {
|
|
|
|
.emoji {
|
|
|
|
height: 24px;
|
|
|
|
margin-right: 5px;
|
|
|
|
min-width: 24px;
|
|
|
|
transition: .3s;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
.ds-simple.emoji-status {
|
|
|
|
.emoji {
|
|
|
|
height: 12px;
|
|
|
|
margin-right: 2px;
|
|
|
|
min-width: 12px;
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-19 20:19:56 +08:00
|
|
|
// Stock
|
|
|
|
.stock-value-view-render {
|
2022-04-14 20:27:31 +08:00
|
|
|
&.stock-empty {
|
2022-01-19 20:19:56 +08:00
|
|
|
color: $brand-danger;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
@include font-awesome;
|
|
|
|
content: $font-fas-exclamation-triangle;
|
|
|
|
}
|
|
|
|
}
|
2022-03-16 22:06:52 +08:00
|
|
|
|
2022-04-14 20:27:31 +08:00
|
|
|
&.stock-low {
|
2022-03-16 22:06:52 +08:00
|
|
|
&::before {
|
|
|
|
@include font-awesome;
|
|
|
|
color: $brand-warning;
|
|
|
|
content: $font-fas-exclamation-triangle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-19 20:19:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.not-assigned-stock {
|
|
|
|
color: $color-black;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2022-02-04 21:24:15 +08:00
|
|
|
.manage-repository-stock-value-link {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-04-07 19:03:18 +08:00
|
|
|
.manage-repository-consumed-stock-value-link:not(.stock-value-view-render) {
|
2022-04-04 17:07:46 +08:00
|
|
|
color: $color-volcano;
|
|
|
|
}
|
|
|
|
|
2022-03-18 22:02:15 +08:00
|
|
|
.empty-stock-render,
|
|
|
|
.consumption-locked {
|
2022-01-19 20:19:56 +08:00
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
|
2022-04-04 17:07:46 +08:00
|
|
|
.row-stock,
|
|
|
|
.row-consumption {
|
|
|
|
min-width: 140px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-12-20 21:46:36 +08:00
|
|
|
// DateTime
|
2020-01-13 21:46:43 +08:00
|
|
|
.datetime-container {
|
2020-01-14 23:31:55 +08:00
|
|
|
display: flex;
|
2020-01-13 21:46:43 +08:00
|
|
|
position: relative;
|
|
|
|
|
2020-01-14 23:31:55 +08:00
|
|
|
.sci-input-container {
|
|
|
|
margin: 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
line-height: 36px;
|
|
|
|
text-align: center;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.start-time,
|
|
|
|
.end-time {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date-container {
|
|
|
|
width: 160px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time-container {
|
|
|
|
width: 90px;
|
|
|
|
|
|
|
|
.fa-clock {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.dateonly,
|
|
|
|
&.range-type .dateonly {
|
|
|
|
.time-container {
|
2020-01-13 21:46:43 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2019-12-20 21:46:36 +08:00
|
|
|
}
|
|
|
|
|
2020-01-14 23:31:55 +08:00
|
|
|
&.timeonly,
|
|
|
|
&.range-type .timeonly {
|
|
|
|
.date-container {
|
2020-01-13 21:46:43 +08:00
|
|
|
display: none;
|
|
|
|
}
|
2019-12-20 21:46:36 +08:00
|
|
|
}
|
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
|
|
|
|
// Actions
|
2020-06-17 20:05:23 +08:00
|
|
|
.dataTable {
|
|
|
|
tbody {
|
|
|
|
tr:hover {
|
|
|
|
background-color: $color-concrete;
|
2020-01-09 22:19:04 +08:00
|
|
|
|
2020-06-17 20:05:23 +08:00
|
|
|
.assigned-column {
|
|
|
|
.repository-row-edit-icon {
|
2022-03-09 21:13:48 +08:00
|
|
|
opacity: 1;
|
2020-06-17 20:05:23 +08:00
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-17 20:05:23 +08:00
|
|
|
.editing {
|
|
|
|
border: 1px solid;
|
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
}
|
2020-02-13 03:28:15 +08:00
|
|
|
}
|
|
|
|
|
2020-01-09 22:19:04 +08:00
|
|
|
&.editing {
|
2020-06-17 20:05:23 +08:00
|
|
|
.dataTable {
|
|
|
|
tbody {
|
|
|
|
tr.blocked {
|
|
|
|
opacity: .4;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2020-02-27 18:47:47 +08:00
|
|
|
|
2020-06-17 20:05:23 +08:00
|
|
|
tr:hover {
|
|
|
|
.assigned-column {
|
|
|
|
.repository-row-edit-icon {
|
2022-03-09 21:13:48 +08:00
|
|
|
opacity: 0;
|
2020-06-17 20:05:23 +08:00
|
|
|
}
|
2020-01-14 18:39:15 +08:00
|
|
|
|
2020-06-17 20:05:23 +08:00
|
|
|
.assign-counter-container {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2020-02-27 18:47:47 +08:00
|
|
|
|
2020-06-17 20:05:23 +08:00
|
|
|
.circle-icon {
|
|
|
|
margin-left: 30px;
|
|
|
|
}
|
2020-01-09 22:19:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-11 21:49:14 +08:00
|
|
|
}
|
2022-03-09 21:18:34 +08:00
|
|
|
|
|
|
|
.repository-table,
|
|
|
|
#myModuleRepositoryFullViewModal {
|
|
|
|
.date-time-cell-value,
|
|
|
|
.date-cell-value {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.reminder {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
background-color: $brand-danger;
|
|
|
|
border: 2px solid $color-white;
|
|
|
|
border-radius: 50%;
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
height: 10px;
|
|
|
|
position: absolute;
|
|
|
|
right: -.7em;
|
|
|
|
top: 0;
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|