diff --git a/.gitignore b/.gitignore index ee2e0d99b..cd50c406f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,7 @@ Resources/public/stylesheets/sass Resources/.sass-cache/ Resources/bower_components/ Resources/node_modules/ -Resources/public/sass/ +Resources/public/sass/* !Resources/public/sass/_custom.scss !Resources/public/sass/_timeline.scss !Resources/public/sass/custom/ \ No newline at end of file diff --git a/Resources/public/sass/_custom.scss b/Resources/public/sass/_custom.scss new file mode 100644 index 000000000..9bc4f2005 --- /dev/null +++ b/Resources/public/sass/_custom.scss @@ -0,0 +1,69 @@ +// YOUR CUSTOM SCSS +@import 'custom/timeline'; + +div#general { + background: none repeat scroll 0 0 $green; + color: #FFF; + padding: 0.5em; +} + +html,body { + min-height:100%; + background-color: $footer-background; +} + +.cf-title { + font-size: 2em; +} + +.cf-subtitle { + font-size: 1.5em; +} + +@each $len in 11, 15 { + ul.submenu.width-#{$len}-em { + min-width: #{$len}em; + } +} + +.content { + padding-top: 1em; + padding-bottom: 1em; + background-color: $white; +} + +.select2 { + width: 100%; +} + +ul.custom_fields.choice li { + list-style:none; +} + +.sticky-form-buttons { + margin-top:1em; + background-color:$orange;//$grey-5; + position:sticky; + bottom:0.5em; + text-align:center; + padding:0.5em; + border-radius: $base-border-radius; +} + +.sticky-form-buttons .margin-5 { + margin-left: 5%; + margin-right: 5%; +} + +.sticky-form-buttons .margin-10 { + margin-left: 10%; + margin-right: 10%; +} + +.errors { + color: $red; +} + +.blop label { + line-height: 1 + ($base-spacing / 3); +} \ No newline at end of file diff --git a/Resources/public/sass/custom/_timeline.scss b/Resources/public/sass/custom/_timeline.scss new file mode 100644 index 000000000..3d9c19d46 --- /dev/null +++ b/Resources/public/sass/custom/_timeline.scss @@ -0,0 +1,29 @@ +/* +Chill is a software for social workers +Copyright (C) 2015 Champs Libres + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +*/ + +div.timeline { + div { + margin: 0.7em 0.2em; + background-color: #e6e6e6; + padding: 0.3em; + + div.summary { + margin-left: 1em; + } + } +} \ No newline at end of file