Readding _custom.scss & _timeline.scss files

This commit is contained in:
Marc Ducobu 2015-06-08 14:15:30 +02:00
parent 323747dcf7
commit 2518f13e7c
3 changed files with 99 additions and 1 deletions

2
.gitignore vendored
View File

@ -26,7 +26,7 @@ Resources/public/stylesheets/sass
Resources/.sass-cache/ Resources/.sass-cache/
Resources/bower_components/ Resources/bower_components/
Resources/node_modules/ Resources/node_modules/
Resources/public/sass/ Resources/public/sass/*
!Resources/public/sass/_custom.scss !Resources/public/sass/_custom.scss
!Resources/public/sass/_timeline.scss !Resources/public/sass/_timeline.scss
!Resources/public/sass/custom/ !Resources/public/sass/custom/

View File

@ -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);
}

View File

@ -0,0 +1,29 @@
/*
Chill is a software for social workers
Copyright (C) 2015 Champs Libres <info@champs-libres.coop>
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 <http://www.gnu.org/licenses/>.
*/
div.timeline {
div {
margin: 0.7em 0.2em;
background-color: #e6e6e6;
padding: 0.3em;
div.summary {
margin-left: 1em;
}
}
}