diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 806a39d8..5e9554ac 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -6,13 +6,52 @@ $footer-height: 60px; /* Colores */ -$purpura: #67103d; +$purpura: #5c004d; +$turquesa: #009389; +$azul: #0b2660; +$fucsia: #e9193e; +$celeste: #91f0ff; +$verde: #96d643; + +/* Tema */ +ol.breadcrumb { + background-color: white; +} + +.breadcrumb-item { + color: black; +} + +.form-control { + &:focus { + border-color: transparentize($verde, 0.25); + box-shadow: 0 0 0 0.2rem transparentize($verde, 0.75); + } +} + +.btn-info { + background-color: $turquesa; + border-color: $turquesa; + &:focus { + box-shadow: 0 0 0 0.2rem transparentize($turquesa, 0.5); + } +} + +.btn-success { + background-color: $verde; + border-color: $verde; + &:focus { + box-shadow: 0 0 0 0.2rem transparentize($verde, 0.5); + } +} .turbolinks-progress-bar { height: 3px; background-color: $purpura; } + + .background-cover { background: image-url("background.jpg") no-repeat center center fixed; -webkit-background-size: cover; diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index fa97a1dc..fdd4f193 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -39,7 +39,7 @@ %br %td= post.date.strftime('%F') - %td= link_to t('post.edit'), + %td= link_to t('posts.edit'), edit_site_post_path(@site, post), class: 'btn btn-info' - else