2016-02-12 23:52:43 +08:00
|
|
|
// Place all the styles related to the Steps controller here.
|
|
|
|
// They will automatically be included in application.css.
|
|
|
|
// You can use Sass (SCSS) here: http://sass-lang.com/
|
2019-04-25 17:14:55 +08:00
|
|
|
// scss-lint:disable SelectorDepth
|
|
|
|
// scss-lint:disable NestingDepth
|
|
|
|
// scss-lint:disable SelectorFormat
|
|
|
|
// scss-lint:disable ImportantRule
|
|
|
|
|
2019-03-25 20:53:28 +08:00
|
|
|
@import "constants";
|
2019-04-26 21:20:39 +08:00
|
|
|
@import "mixins";
|
2016-02-12 23:52:43 +08:00
|
|
|
|
|
|
|
#new_step,
|
|
|
|
.panel-step-attachment {
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
li {
|
2019-04-29 01:11:41 +08:00
|
|
|
> div > span.pull-left {
|
2018-05-22 22:55:58 +08:00
|
|
|
margin-top: 10px;
|
2016-02-12 23:52:43 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-30 19:58:16 +08:00
|
|
|
|
|
|
|
#steps {
|
|
|
|
// hack only for firefox
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
ul > li {
|
|
|
|
padding-top: 1px;
|
|
|
|
|
|
|
|
a > p:first-child {
|
|
|
|
margin-top: -17px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-03-25 20:53:28 +08:00
|
|
|
|
|
|
|
.step {
|
|
|
|
.panel {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.complete-step-btn {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2020-05-15 17:04:17 +08:00
|
|
|
.step-heading {
|
|
|
|
align-items: center;
|
2019-12-04 18:27:22 +08:00
|
|
|
border: 0;
|
2020-05-13 16:58:40 +08:00
|
|
|
display: flex;
|
|
|
|
min-height: 46px;
|
2019-04-09 18:28:42 +08:00
|
|
|
padding-bottom: 0;
|
|
|
|
padding-top: 0;
|
2019-03-25 20:53:28 +08:00
|
|
|
|
|
|
|
.panel-options {
|
|
|
|
bottom: 0;
|
2020-05-13 16:58:40 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 0;
|
2019-12-04 18:27:22 +08:00
|
|
|
line-height: 46px;
|
2020-05-13 16:58:40 +08:00
|
|
|
text-align: right;
|
2019-03-25 20:53:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
span.step-number {
|
2019-05-11 22:04:28 +08:00
|
|
|
font-size: 24px;
|
|
|
|
font-weight: bold;
|
2019-03-25 20:53:28 +08:00
|
|
|
margin: 0 10px;
|
2019-05-29 19:56:55 +08:00
|
|
|
min-width: fit-content;
|
2019-03-25 20:53:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.left-floats {
|
2019-05-08 23:18:19 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2020-05-13 16:58:40 +08:00
|
|
|
max-width: 100%;
|
|
|
|
min-height: inherit;
|
|
|
|
overflow: hidden;
|
2019-05-29 19:56:55 +08:00
|
|
|
padding-right: 15px;
|
2019-03-25 20:53:28 +08:00
|
|
|
|
2019-05-08 23:18:19 +08:00
|
|
|
.step-name-link {
|
|
|
|
display: flex;
|
|
|
|
flex-shrink: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.name-block {
|
2019-05-20 17:20:08 +08:00
|
|
|
display: flex;
|
|
|
|
flex-shrink: 1;
|
2019-12-04 18:27:22 +08:00
|
|
|
height: 100%;
|
2019-05-08 23:18:19 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
2019-06-10 17:23:40 +08:00
|
|
|
@media (max-width: 1188px) {
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
|
|
|
|
2019-05-08 23:18:19 +08:00
|
|
|
strong {
|
2019-05-14 15:43:02 +08:00
|
|
|
font-size: 16px;
|
2019-05-08 23:18:19 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.delimiter {
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author-block {
|
2019-05-14 15:43:02 +08:00
|
|
|
display: inline-block;
|
2019-05-20 17:20:08 +08:00
|
|
|
flex-shrink: 0;
|
2019-05-14 15:43:02 +08:00
|
|
|
font-size: 16px;
|
2019-05-08 23:18:19 +08:00
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2019-03-25 20:53:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-30 19:58:16 +08:00
|
|
|
}
|
2019-03-25 20:53:28 +08:00
|
|
|
|
2019-05-13 22:53:58 +08:00
|
|
|
.attachments {
|
2019-04-26 21:20:39 +08:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
|
|
|
|
|
|
.pseudo-attachment-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2019-04-28 01:08:40 +08:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.file-preview-link {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.new {
|
|
|
|
order: 0 !important;
|
|
|
|
|
|
|
|
.file-preview-link {
|
2019-04-29 01:11:41 +08:00
|
|
|
transition: .5s;
|
2019-04-28 01:08:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-placeholder {
|
|
|
|
border: 1px solid $brand-primary;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background: $brand-primary;
|
2019-04-29 01:11:41 +08:00
|
|
|
border-radius: 0 5px;
|
2019-04-28 01:08:40 +08:00
|
|
|
bottom: 16px;
|
|
|
|
color: $color-white;
|
2019-04-29 01:11:41 +08:00
|
|
|
content: "NEW";
|
2019-04-28 01:08:40 +08:00
|
|
|
left: 8px;
|
|
|
|
line-height: 20px;
|
|
|
|
position: absolute;
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-26 21:20:39 +08:00
|
|
|
}
|
2019-04-09 16:00:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-placeholder {
|
2019-04-26 21:20:39 +08:00
|
|
|
@include md-card-style;
|
2019-04-09 16:00:56 +08:00
|
|
|
color: $color-silver-chalice;
|
2019-04-26 21:20:39 +08:00
|
|
|
height: 280px;
|
2019-04-28 01:08:40 +08:00
|
|
|
margin: 4px 8px 16px;
|
2019-04-26 21:20:39 +08:00
|
|
|
text-align: center;
|
|
|
|
width: 220px;
|
2019-04-09 16:00:56 +08:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2019-04-09 18:28:42 +08:00
|
|
|
&.new {
|
2019-04-25 17:14:55 +08:00
|
|
|
background-color: rgba(95, 95, 95, .1);
|
2019-04-09 18:28:42 +08:00
|
|
|
}
|
|
|
|
|
2019-04-09 16:00:56 +08:00
|
|
|
.attachment-thumbnail {
|
2019-04-26 21:20:39 +08:00
|
|
|
display: inline-block;
|
2019-04-09 18:28:42 +08:00
|
|
|
height: 160px;
|
2019-08-13 17:04:19 +08:00
|
|
|
margin: 16px 0 5px;
|
2019-04-09 16:00:56 +08:00
|
|
|
overflow: hidden;
|
2019-08-13 17:04:19 +08:00
|
|
|
padding: 0 10px;
|
|
|
|
position: relative;
|
2019-04-09 18:28:42 +08:00
|
|
|
text-align: center;
|
2019-08-13 17:04:19 +08:00
|
|
|
width: 100%;
|
2019-04-09 16:00:56 +08:00
|
|
|
|
|
|
|
img {
|
2019-04-26 21:20:39 +08:00
|
|
|
border-radius: 5px;
|
2019-04-09 16:00:56 +08:00
|
|
|
max-height: 100%;
|
2019-04-26 21:20:39 +08:00
|
|
|
max-width: 100%;
|
2019-04-09 16:00:56 +08:00
|
|
|
}
|
|
|
|
|
2019-08-13 17:04:19 +08:00
|
|
|
&.marvinjs {
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
border-radius: 16px 0 0 16px;
|
|
|
|
display: block;
|
|
|
|
height: 32px;
|
|
|
|
right: 0;
|
|
|
|
line-height: 32px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
width: 36px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
background: $marvinjs-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
2019-09-18 17:18:31 +08:00
|
|
|
background-image: url("/images/icon_small/marvinjs-white.svg");
|
2019-08-13 17:04:19 +08:00
|
|
|
right: 4px;
|
|
|
|
width: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-25 17:14:55 +08:00
|
|
|
i.fas {
|
2019-04-09 16:00:56 +08:00
|
|
|
font-size: 100px;
|
|
|
|
line-height: 160px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-shadow {
|
2019-05-11 22:04:28 +08:00
|
|
|
box-shadow: none;
|
2019-04-09 16:00:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-label {
|
2019-05-11 22:04:28 +08:00
|
|
|
background: $color-white;
|
|
|
|
color: $brand-primary;
|
2019-04-09 16:00:56 +08:00
|
|
|
font-family: Lato;
|
|
|
|
font-size: 16px;
|
2019-05-11 22:04:28 +08:00
|
|
|
height: 40px;
|
2019-04-09 16:00:56 +08:00
|
|
|
line-height: 18px;
|
|
|
|
margin: 0 auto;
|
|
|
|
overflow: hidden;
|
2019-05-11 22:04:28 +08:00
|
|
|
position: relative;
|
2019-04-09 18:28:42 +08:00
|
|
|
text-align: center;
|
2019-05-11 22:04:28 +08:00
|
|
|
top: 20px;
|
|
|
|
transition: $md-transaction;
|
2019-04-09 18:28:42 +08:00
|
|
|
width: 190px;
|
2019-05-11 22:04:28 +08:00
|
|
|
z-index: 2;
|
2019-04-09 16:00:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.spencer-bonnet-modif {
|
2019-05-11 22:04:28 +08:00
|
|
|
align-items: center;
|
2019-04-09 16:00:56 +08:00
|
|
|
color: $color-silver-chalice;
|
2019-05-11 22:04:28 +08:00
|
|
|
display: flex;
|
2019-04-09 16:00:56 +08:00
|
|
|
font-family: Lato;
|
|
|
|
font-size: 12px;
|
2019-05-11 22:04:28 +08:00
|
|
|
height: 40px;
|
|
|
|
justify-content: center;
|
2019-04-09 16:00:56 +08:00
|
|
|
line-height: 15px;
|
2019-05-11 22:04:28 +08:00
|
|
|
margin: 0 auto 5px;
|
|
|
|
position: relative;
|
2019-04-09 18:28:42 +08:00
|
|
|
text-align: center;
|
2019-05-11 22:04:28 +08:00
|
|
|
top: -20px;
|
|
|
|
transition: $md-transaction;
|
2019-04-09 18:28:42 +08:00
|
|
|
width: 149px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.remove-icon {
|
2019-04-26 21:20:39 +08:00
|
|
|
bottom: 15px;
|
2019-04-27 19:51:35 +08:00
|
|
|
cursor: pointer;
|
2019-04-26 21:51:35 +08:00
|
|
|
display: none;
|
2019-04-09 18:28:42 +08:00
|
|
|
position: relative;
|
|
|
|
right: 10px;
|
2019-04-09 16:00:56 +08:00
|
|
|
}
|
2019-05-11 22:04:28 +08:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
box-shadow: $md-shadow;
|
|
|
|
|
|
|
|
.remove-icon {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.attachment-label {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spencer-bonnet-modif {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-07-15 17:00:01 +08:00
|
|
|
|
|
|
|
&.new {
|
|
|
|
background-color: rgba(95, 95, 95, .1);
|
|
|
|
|
|
|
|
.attachment-label {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dnd-error {
|
|
|
|
bottom: 15px;
|
|
|
|
float: left;
|
|
|
|
padding-left: 5px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.attachment-label {
|
|
|
|
top: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-09 16:00:56 +08:00
|
|
|
}
|
|
|
|
|
2019-04-09 18:28:42 +08:00
|
|
|
.attachments-order {
|
2019-04-09 16:00:56 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2019-04-09 18:28:42 +08:00
|
|
|
.attachments-actions {
|
2019-05-11 22:04:28 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2020-05-13 16:58:40 +08:00
|
|
|
flex-wrap: wrap;
|
2019-04-09 16:00:56 +08:00
|
|
|
|
2019-05-11 22:04:28 +08:00
|
|
|
.title {
|
|
|
|
flex-grow: 1;
|
2020-05-13 16:58:40 +08:00
|
|
|
flex-shrink: 0;
|
2019-05-11 22:04:28 +08:00
|
|
|
}
|
2019-04-09 16:00:56 +08:00
|
|
|
|
2019-05-11 22:04:28 +08:00
|
|
|
.attachments-order {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
min-width: 140px;
|
2019-04-09 16:00:56 +08:00
|
|
|
}
|
|
|
|
|
2019-04-09 18:28:42 +08:00
|
|
|
.btn-default {
|
2019-04-09 16:00:56 +08:00
|
|
|
border: 0;
|
|
|
|
color: inherit;
|
2019-04-09 18:28:42 +08:00
|
|
|
margin-left: 10px;
|
2019-04-09 16:00:56 +08:00
|
|
|
|
2019-04-09 18:28:42 +08:00
|
|
|
&:hover {
|
2019-04-09 16:00:56 +08:00
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-20 16:59:59 +08:00
|
|
|
.step .textarea-sm {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comments-title {
|
|
|
|
color: $color-emperor;
|
|
|
|
}
|
2020-04-24 17:50:03 +08:00
|
|
|
|
|
|
|
.expand-all-steps {
|
|
|
|
margin: 0 0 15px 15px;
|
|
|
|
}
|