diff --git a/app/assets/stylesheets/steps.scss b/app/assets/stylesheets/steps.scss index 88938f0e3..865b2d67b 100644 --- a/app/assets/stylesheets/steps.scss +++ b/app/assets/stylesheets/steps.scss @@ -1,6 +1,7 @@ // 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"; #new_step, .panel-step-attachment { @@ -28,4 +29,58 @@ } } } + + .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; + } + } + } } + + diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index e4fa6562f..b0793a5b6 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -1020,12 +1020,6 @@ ul.content-activities { } } } -/* Steps and Results */ -#steps { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAABCAYAAACsXeyTAAAAIUlEQVQImWNgoD5gZGBgMILSjKRo/P//vwiSGQwMDAwMAEnaA0jgHoquAAAAAElFTkSuQmCC"); - background-repeat: repeat-y; - background-position: -3px 0; -} .badge-icon { background-color: $color-silver; diff --git a/app/views/reports/elements/_my_module_step_element.html.erb b/app/views/reports/elements/_my_module_step_element.html.erb index b6c602d0c..ce02b0b43 100644 --- a/app/views/reports/elements/_my_module_step_element.html.erb +++ b/app/views/reports/elements/_my_module_step_element.html.erb @@ -36,7 +36,7 @@ simple_format: false, tags: %w(img)) %> <% else %> - <%=t "projects.reports.elements.step.no_description" %> + <%=t "projects.reports.elements.step.no_description" %> <% end %> diff --git a/app/views/steps/_step.html.erb b/app/views/steps/_step.html.erb index be03e4616..cc37483f7 100644 --- a/app/views/steps/_step.html.erb +++ b/app/views/steps/_step.html.erb @@ -1,10 +1,29 @@