Moved everything out of the theme

This commit is contained in:
Oliver Davies 2015-05-25 10:13:17 +01:00
parent 347fe76db6
commit f20fba6dbf
27 changed files with 4 additions and 6 deletions

10
source/assets/Gemfile Normal file
View file

@ -0,0 +1,10 @@
source 'https://rubygems.org'
group :development do
gem "sass"
gem "sass-globbing"
gem "bootstrap-sass"
gem "compass"
end

View 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
View 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

File diff suppressed because one or more lines are too long

7
source/assets/js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,3 @@
body {
padding-top: 60px;
}

View file

@ -0,0 +1,11 @@
dt {
margin-top: .5em;
&:after {
content: ':';
}
}
dd {
padding-left: 2em;
}

View file

@ -0,0 +1,3 @@
table {
width: 100%;
}

View file

@ -0,0 +1,5 @@
.copyright {
border-top: 1px solid #CCC;
margin-top: 1em;
padding-top: 1em;
}

View file

@ -0,0 +1,6 @@
.latest-posts {
li.active a {
color: $dark-gray;
font-weight: $semibold;
}
}

View file

@ -0,0 +1,6 @@
@import 'compass';
@import 'bootstrap';
@import "variables/**/*";
@import "base/**/*";
@import "components/**/*";

View file

@ -0,0 +1 @@
$dark-gray: #333;

View file

@ -0,0 +1,2 @@
// Font weights.
$semibold: 500;