layouts: move the procedure_context
CSS to its own stylesheet
This commit is contained in:
parent
e25bd7139f
commit
0a7b061e70
3 changed files with 74 additions and 72 deletions
|
@ -3,67 +3,6 @@
|
||||||
@import "placeholders";
|
@import "placeholders";
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
|
||||||
$auth-breakpoint: $two-columns-breakpoint;
|
|
||||||
|
|
||||||
.preview {
|
|
||||||
font-size: 24px;
|
|
||||||
|
|
||||||
.paperless-logo {
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 60px;
|
|
||||||
|
|
||||||
@media (max-width: $auth-breakpoint) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
color: $blue;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.close-procedure {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.procedure-title {
|
|
||||||
font-size: 30px;
|
|
||||||
margin: 20px 0 0;
|
|
||||||
|
|
||||||
@media (min-width: $auth-breakpoint) {
|
|
||||||
margin: 50px 0 32px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.procedure-description {
|
|
||||||
font-size: 14px;
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-bottom: 2 * $default-spacer;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: $auth-breakpoint) {
|
|
||||||
display: none; // TO FIX : make this description available for small devices
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.procedure-logos {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-around;
|
|
||||||
|
|
||||||
img {
|
|
||||||
max-height: 50px;
|
|
||||||
max-width: 100%;
|
|
||||||
margin: 0 10px;
|
|
||||||
|
|
||||||
@media (min-width: $auth-breakpoint) {
|
|
||||||
max-height: 130px;
|
|
||||||
max-width: 500px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.auth-form {
|
.auth-form {
|
||||||
.auth-options {
|
.auth-options {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -122,14 +61,6 @@ $auth-breakpoint: $two-columns-breakpoint;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.identity-form {
|
|
||||||
@media (max-width: $two-columns-breakpoint) {
|
|
||||||
input[type=submit] {
|
|
||||||
margin-bottom: 2 * $default-padding;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.sign-in-form .form {
|
.sign-in-form .form {
|
||||||
input[type="password"] {
|
input[type="password"] {
|
||||||
margin-bottom: $default-spacer;
|
margin-bottom: $default-spacer;
|
||||||
|
|
71
app/assets/stylesheets/new_design/procedure_context.scss
Normal file
71
app/assets/stylesheets/new_design/procedure_context.scss
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
@import "colors";
|
||||||
|
@import "constants";
|
||||||
|
|
||||||
|
$procedure-context-breakpoint: $two-columns-breakpoint;
|
||||||
|
|
||||||
|
.procedure-preview {
|
||||||
|
font-size: 24px;
|
||||||
|
|
||||||
|
.paperless-logo {
|
||||||
|
width: 100%;
|
||||||
|
margin-bottom: 60px;
|
||||||
|
|
||||||
|
@media (max-width: $procedure-context-breakpoint) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
color: $blue;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.close-procedure {
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.procedure-title {
|
||||||
|
font-size: 30px;
|
||||||
|
margin: 20px 0 0;
|
||||||
|
|
||||||
|
@media (min-width: $procedure-context-breakpoint) {
|
||||||
|
margin: 50px 0 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.procedure-description {
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-bottom: 2 * $default-spacer;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: $procedure-context-breakpoint) {
|
||||||
|
display: none; // TO FIX : make this description available for small devices
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.procedure-logos {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-height: 50px;
|
||||||
|
max-width: 100%;
|
||||||
|
margin: 0 10px;
|
||||||
|
|
||||||
|
@media (min-width: $procedure-context-breakpoint) {
|
||||||
|
max-height: 130px;
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.procedure-context-content {
|
||||||
|
@media (max-width: $procedure-context-breakpoint) {
|
||||||
|
input[type=submit] {
|
||||||
|
margin-bottom: 2 * $default-padding;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,8 +1,8 @@
|
||||||
- content_for :content do
|
- content_for :content do
|
||||||
.two-columns
|
.two-columns.procedure-context
|
||||||
.columns-container
|
.columns-container
|
||||||
|
|
||||||
.column.preview
|
.column.procedure-preview
|
||||||
- procedure = @dossier.procedure
|
- procedure = @dossier.procedure
|
||||||
.procedure-logos
|
.procedure-logos
|
||||||
= image_tag logo_img(procedure)
|
= image_tag logo_img(procedure)
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
.procedure-description
|
.procedure-description
|
||||||
= h string_to_html(procedure.description)
|
= h string_to_html(procedure.description)
|
||||||
|
|
||||||
.column.identity-form
|
.column.procedure-context-content
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
- content_for :footer do
|
- content_for :footer do
|
||||||
|
|
Loading…
Add table
Reference in a new issue