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

178 lines
2.6 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/
@import "constants";
2016-02-12 23:52:43 +08:00
#new_step,
.panel-step-attachment {
ul {
list-style: none;
li {
margin-bottom: 10px;
& > div > span.pull-left {
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;
}
}
}
.step {
.panel {
margin-left: 0;
}
}
.complete-step-btn {
display: inline-block;
line-height: 39px;
button {
display: block;
font-size: 12px;
margin: auto 0;
padding: 3px 10px;
span {
font-size: 15px;
}
}
}
.panel-heading {
padding-top: 0;
padding-bottom: 0;
background-color: $color-silver;
height: 39px;
border-bottom-width: 0 !important;
> * {
display: inline-block;
line-height: 39px;
}
.panel-options {
bottom: 0;
}
span.step-number {
font-size: 30px;
margin: 0 10px;
}
.left-floats {
float: left;
> * {
float: left;
}
}
}
2018-05-30 19:58:16 +08:00
}
.attacments{
display: flex;
flex-wrap: wrap;
}
.attachment-placeholder {
height: 277px;
width: 216px;
border-radius: 5px;
background-color: $color-white;
margin: 3px;
color: $color-silver-chalice;
a {
color: inherit;
}
&:hover{
box-shadow: 0 1px 5px 0 rgba(0,0,0,0.18);
}
.attachment-thumbnail {
height: 160px;;
width: 113px;
box-shadow: 0 1px 2px 0 rgba(0,0,0,0.15);
margin: 16px auto 5px auto;
text-align: center;
overflow: hidden;
img {
max-height: 100%;
}
i.fas{
font-size: 100px;
line-height: 160px;
}
}
.no-shadow {
box-shadow: 0 0 0 0 rgba(0,0,0,0.15);
}
.attachment-label {
height: 39px;
width: 190px;
color: #40A1D7;
font-family: Lato;
font-size: 16px;
line-height: 18px;
text-align: center;
margin: 0 auto;
overflow: hidden;
}
.spencer-bonnet-modif {
height: 45px;
width: 149px;
color: $color-silver-chalice;
font-family: Lato;
font-size: 12px;
line-height: 15px;
text-align: center;
margin: 0 auto;
}
}
.attachments-order{
display: inline-block;
}
.attachments-actions{
color: $color-silver-chalice;
.drag_n_drop_label{
font-size: 14px;
line-height: 32px;
}
.btn-default{
border: 0;
margin-left: 10px;
color: inherit;
&:hover{
background: inherit;
}
}
}