Moved everything out of the theme
This commit is contained in:
parent
347fe76db6
commit
f20fba6dbf
27 changed files with 4 additions and 6 deletions
10
source/assets/Gemfile
Normal file
10
source/assets/Gemfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
group :development do
|
||||
|
||||
gem "sass"
|
||||
gem "sass-globbing"
|
||||
gem "bootstrap-sass"
|
||||
gem "compass"
|
||||
|
||||
end
|
41
source/assets/Gemfile.lock
Normal file
41
source/assets/Gemfile.lock
Normal file
|
@ -0,0 +1,41 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
autoprefixer-rails (5.1.8)
|
||||
execjs
|
||||
json
|
||||
bootstrap-sass (3.3.4.1)
|
||||
autoprefixer-rails (>= 5.0.0.1)
|
||||
sass (>= 3.2.19)
|
||||
chunky_png (1.3.4)
|
||||
compass (1.0.3)
|
||||
chunky_png (~> 1.2)
|
||||
compass-core (~> 1.0.2)
|
||||
compass-import-once (~> 1.0.5)
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9)
|
||||
sass (>= 3.3.13, < 3.5)
|
||||
compass-core (1.0.3)
|
||||
multi_json (~> 1.0)
|
||||
sass (>= 3.3.0, < 3.5)
|
||||
compass-import-once (1.0.5)
|
||||
sass (>= 3.2, < 3.5)
|
||||
execjs (2.4.0)
|
||||
ffi (1.9.8)
|
||||
json (1.8.2)
|
||||
multi_json (1.11.0)
|
||||
rb-fsevent (0.9.4)
|
||||
rb-inotify (0.9.5)
|
||||
ffi (>= 0.5.0)
|
||||
sass (3.4.13)
|
||||
sass-globbing (1.1.1)
|
||||
sass (>= 3.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
bootstrap-sass
|
||||
compass
|
||||
sass
|
||||
sass-globbing
|
34
source/assets/config.rb
Normal file
34
source/assets/config.rb
Normal file
|
@ -0,0 +1,34 @@
|
|||
##
|
||||
## This file is only needed for Compass/Sass integration. If you are not using
|
||||
## Compass, you may safely ignore or delete this file.
|
||||
##
|
||||
## If you'd like to learn more about Sass and Compass, see the sass/README.txt
|
||||
## file for more information.
|
||||
##
|
||||
|
||||
# Location of the theme's resources.
|
||||
css_dir = "css"
|
||||
sass_dir = "sass"
|
||||
images_dir = "images"
|
||||
generated_images_dir = images_dir + "/generated"
|
||||
javascripts_dir = "js"
|
||||
|
||||
# Require any additional compass plugins installed on your system.
|
||||
require 'sass-globbing'
|
||||
require 'bootstrap-sass'
|
||||
|
||||
##
|
||||
## You probably don't need to edit anything below this.
|
||||
##
|
||||
|
||||
# You can select your preferred output style here (:expanded, :nested, :compact
|
||||
# or :compressed).
|
||||
output_style = :compressed
|
||||
|
||||
# To enable relative paths to assets via compass helper functions. Since Drupal
|
||||
# themes can be installed in multiple locations, we don't need to worry about
|
||||
# the absolute path to the theme from the server omega.
|
||||
relative_assets = true
|
||||
|
||||
# Conditionally enable line comments when in development mode.
|
||||
line_comments = false
|
1
source/assets/css/styles.css
Normal file
1
source/assets/css/styles.css
Normal file
File diff suppressed because one or more lines are too long
7
source/assets/js/bootstrap.min.js
vendored
Normal file
7
source/assets/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
3
source/assets/sass/base/_base.scss
Normal file
3
source/assets/sass/base/_base.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
body {
|
||||
padding-top: 60px;
|
||||
}
|
11
source/assets/sass/base/_lists.scss
Normal file
11
source/assets/sass/base/_lists.scss
Normal file
|
@ -0,0 +1,11 @@
|
|||
dt {
|
||||
margin-top: .5em;
|
||||
|
||||
&:after {
|
||||
content: ':';
|
||||
}
|
||||
}
|
||||
|
||||
dd {
|
||||
padding-left: 2em;
|
||||
}
|
3
source/assets/sass/base/_tables.scss
Normal file
3
source/assets/sass/base/_tables.scss
Normal file
|
@ -0,0 +1,3 @@
|
|||
table {
|
||||
width: 100%;
|
||||
}
|
5
source/assets/sass/components/_footer.scss
Normal file
5
source/assets/sass/components/_footer.scss
Normal file
|
@ -0,0 +1,5 @@
|
|||
.copyright {
|
||||
border-top: 1px solid #CCC;
|
||||
margin-top: 1em;
|
||||
padding-top: 1em;
|
||||
}
|
6
source/assets/sass/components/_latest-posts.scss
Normal file
6
source/assets/sass/components/_latest-posts.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
.latest-posts {
|
||||
li.active a {
|
||||
color: $dark-gray;
|
||||
font-weight: $semibold;
|
||||
}
|
||||
}
|
0
source/assets/sass/components/_navbar.scss
Normal file
0
source/assets/sass/components/_navbar.scss
Normal file
6
source/assets/sass/styles.scss
Normal file
6
source/assets/sass/styles.scss
Normal file
|
@ -0,0 +1,6 @@
|
|||
@import 'compass';
|
||||
@import 'bootstrap';
|
||||
|
||||
@import "variables/**/*";
|
||||
@import "base/**/*";
|
||||
@import "components/**/*";
|
1
source/assets/sass/variables/_colours.scss
Normal file
1
source/assets/sass/variables/_colours.scss
Normal file
|
@ -0,0 +1 @@
|
|||
$dark-gray: #333;
|
2
source/assets/sass/variables/_typography.scss
Normal file
2
source/assets/sass/variables/_typography.scss
Normal file
|
@ -0,0 +1,2 @@
|
|||
// Font weights.
|
||||
$semibold: 500;
|
Loading…
Add table
Add a link
Reference in a new issue