scinote-web/app/assets/stylesheets/steps.scss
2022-10-24 13:07:10 +02:00

136 lines
2.4 KiB
SCSS

// 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/
// scss-lint:disable SelectorDepth
// scss-lint:disable NestingDepth
// scss-lint:disable SelectorFormat
// scss-lint:disable ImportantRule
// scss-lint:disable Unknown
@import "constants";
@import "mixins";
#steps {
// hack only for firefox
@-moz-document url-prefix() {
ul > li {
padding-top: 1px;
a > p:first-child {
margin-top: -17px;
}
}
}
.step {
.panel {
margin-left: 0;
.panel-body {
padding: 15px 5px;
}
}
}
.step-panel-collapse-link {
padding-left: 5px;
&:not(.collapsed) .fas {
@include rotate(90deg);
}
}
.step-heading {
align-items: center;
border: 0;
display: flex;
min-height: 46px;
padding: 0 17px;
.panel-options {
bottom: 0;
flex-grow: 1;
flex-shrink: 0;
line-height: 46px;
text-align: right;
}
span.step-number {
flex-shrink: 0;
font-size: 16px;
font-weight: bold;
margin: 0 5px 0 10px;
min-width: fit-content;
}
.left-floats {
align-items: center;
display: flex;
max-width: 100%;
min-height: inherit;
overflow: hidden;
padding-left: .1em;
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 {
display: flex;
flex-shrink: 1;
height: 100%;
overflow: hidden;
@media (max-width: 1188px) {
min-width: 100px;
}
strong {
font-size: 16px;
white-space: nowrap;
}
}
.delimiter {
padding: 0 5px;
}
.author-block {
display: inline-block;
flex-shrink: 0;
font-size: 16px;
overflow: hidden;
white-space: nowrap;
}
}
}
}
}
.step .textarea-sm {
border-radius: 0;
}
.comments-title {
color: $color-emperor;
}
.expand-all-steps {
margin: 0 0 15px 15px;
}