scinote-web/app/assets/stylesheets/steps.scss

138 lines
2.4 KiB
SCSS
Raw Normal View History

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
2020-09-25 21:06:09 +08:00
// scss-lint:disable Unknown
2019-04-25 17:14:55 +08:00
@import "constants";
2019-04-26 21:20:39 +08:00
@import "mixins";
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;
}
}
}
.step {
.panel {
border: 0;
margin-left: 0;
.panel-body {
padding: 15px 24px;
}
}
}
.step-panel-collapse-link {
padding-left: 5px;
&:not(.collapsed) .fas {
@include rotate(90deg);
}
}
2020-05-15 17:04:17 +08:00
.step-heading {
align-items: center;
border: 0;
2020-05-13 16:58:40 +08:00
display: flex;
min-height: 46px;
padding: 0 17px;
.panel-options {
bottom: 0;
2020-05-13 16:58:40 +08:00
flex-grow: 1;
flex-shrink: 0;
line-height: 46px;
2020-05-13 16:58:40 +08:00
text-align: right;
}
span.step-number {
flex-shrink: 0;
2020-07-13 20:51:51 +08:00
font-size: 16px;
font-weight: bold;
2020-07-13 20:51:51 +08:00
margin: 0 5px 0 10px;
2019-05-29 19:56:55 +08:00
min-width: fit-content;
}
.left-floats {
align-items: center;
display: flex;
2020-05-13 16:58:40 +08:00
max-width: 100%;
min-height: inherit;
overflow: hidden;
2020-10-31 01:47:01 +08:00
padding-left: .1em;
2019-05-29 19:56:55 +08:00
padding-right: 15px;
.toggle-step-complete {
@include font-h1;
padding: 5px;
.fas {
color: $brand-success;
}
.far {
color: $color-alto;
}
}
.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;
height: 100%;
overflow: hidden;
2019-06-10 17:23:40 +08:00
@media (max-width: 1188px) {
min-width: 100px;
}
strong {
2019-05-14 15:43:02 +08:00
font-size: 16px;
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;
overflow: hidden;
white-space: nowrap;
}
}
}
}
2018-05-30 19:58:16 +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;
}