brevis 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3035b34bd2e24757a1ee4860764c49b0bf45827
4
- data.tar.gz: 46def9e8d4b47b96bdec215d165380c77c5cea0b
3
+ metadata.gz: f88794dc8cc100d902f5f89c130ecf3873e695f1
4
+ data.tar.gz: 8d2e28ba0f235fd1022c58bde78662b5823ab5bd
5
5
  SHA512:
6
- metadata.gz: 68f19e66c6d455b56a3d938ea2a00d7e0b2b6c2a6ddeaca87460d8f3aa4758bba7ccedca0e39fa70c3164718cea4c46b6555532c09625939dcec3c89b5b2ee96
7
- data.tar.gz: c5144ad3234dc418fac3a1ce6b91b30bba41ec3992e243435542b88ab674f15ee757c75a9a976c73db4a7d7535b356a5c74dacee70c40058ad8bbdd78b1c8fdd
6
+ metadata.gz: 202646c08b07b448efaa43d219c07ae0ddb9292307ec8e641c3ebb000328bc9d1824a26e583f0695fe2b5d8b944b5114bc3aceb1a9fdcd9807ff5aaf08f8ee79
7
+ data.tar.gz: 104bbca6aff1c1f73449ac7d4a730a2bd6586befb5765cf17af0157a4ce4e052bc96eb34d07d5e97e609eebc0780737bb3513b79e8e06851f10a3160a4ca1ff7
data/lib/brevis.rb CHANGED
@@ -17,8 +17,8 @@ Compass::Frameworks.register('brevis', :path => extension_path)
17
17
  # a prerelease version
18
18
  # Date is in the form of YYYY-MM-DD
19
19
  module Brevis
20
- VERSION = "0.1.4"
21
- DATE = "2015-01-28"
20
+ VERSION = "0.1.5"
21
+ DATE = "2015-01-29"
22
22
  end
23
23
 
24
24
  # This is where any custom SassScript should be placed. The functions will be
@@ -10,6 +10,7 @@
10
10
  @import "brevis_utilities/forms";
11
11
  @import "brevis_utilities/header";
12
12
  @import "brevis_utilities/images";
13
+ @import "brevis_utilities/icons";
13
14
  @import "brevis_utilities/layout";
14
15
  @import "brevis_utilities/page";
15
16
  @import "brevis_utilities/tooltip";
@@ -1,12 +1,67 @@
1
- //*************************************//
2
- // Basic Colors
3
- $text-primary: #333333;
4
- $text-secondary: #666666;
5
- $text-tertiary: #999999;
6
- $text-quaternary: #cccccc;
1
+ // Branding Colors:
2
+ // These colors are listed only for reference.
3
+ // Do not use these variables in your sass.
4
+
5
+ // Brand palette
6
+ $brand-color: #3B87D2;
7
+
8
+ // Return the complementary colour to $brand-color
9
+ $complement-color: adjust_hue($brand-color, 200);
10
+
11
+ // Triadic color scheme from $brand-color ? Go!
12
+ $secondary-color: adjust_hue($brand-color, 120);
13
+ $tertiary-color: adjust_hue($brand-color, -120);
14
+ $quaternary-color: adjust_hue($brand-color, -90);
15
+
16
+ $alert: #f04124;
17
+ $warm-gray: #edf0e9;
18
+ $page-bg: white;
19
+ //=================================================
20
+ // The following variables ARE to be used throughout
21
+ // your sass.
22
+ $color-one: $brand-color;
23
+ $color-two: $complement-color;
24
+ $color-three: $secondary-color;
25
+ $color-four: $tertiary-color;
26
+ $color-five: $quaternary-color;
27
+ $color-six: $alert;
28
+ $white: #fff;
29
+ $black: #000;
30
+
31
+ // NOTE: .bg-color styles are in classy-panels.styles.scss
32
+
33
+ // For use on drop shadows
34
+ $glass_lt: rgba(255,255,255,0.75);
35
+ $glass_md: rgba(100,100,100, 0.75);
36
+ $glass_dk: rgba(0,0,0,0.75);
37
+
38
+ // Element Colors:
39
+ $text-primary: #333;
40
+ $text-secondary: #666;
41
+ $text-tertiary: #999;
42
+ $text-quaternary: #ccc;
43
+
44
+ $border-primary: $color-three;
45
+ $border-secondary: $glass-md;
46
+ $border-tertiary: $glass-lt;
47
+
48
+ $link: $color-two;
49
+ $link-hover: lighten($link, 10%);
50
+
51
+ // Icons
52
+ $icon-normal: $color-one;
53
+ $icon-normal-hover: $color-one;
54
+
55
+ // Buttons
56
+ $button-primary-text: white;
57
+ $button-primary-bg: $color-one;
58
+ $button-primary-text-hover: lighten($button-primary-text, 10%);
59
+ $button-primary-bg-hover: lighten($color-one, 10%);
60
+ $button-border: transparent;
61
+ $button-disabled-text: $text-secondary;
62
+ $button-disabled-bg: $warm-gray;
63
+ $button-disabled-border: $text-tertiary;
7
64
 
8
- $alert: #cc0000;
9
- $page-bg: white;
10
65
 
11
66
  //*************************************//
12
67
  $contrasted-dark-default: $text-primary;
@@ -22,3 +77,16 @@ $contrasted-light-default: white;
22
77
  background: $bg-hover;
23
78
  }
24
79
  }
80
+
81
+ @mixin reversed-classes {
82
+ * {
83
+ @content;
84
+ }
85
+ }
86
+
87
+ @mixin reverse-bg {
88
+ @include reversed-classes {
89
+ color: white;
90
+ @include link-inherit-color;
91
+ }
92
+ }
@@ -0,0 +1,8 @@
1
+ @mixin highdpi-icon($filename, $size) {
2
+ background-image: image-url("icons/#{$filename}.png");
3
+ background-size: $size;
4
+ background-repeat: no-repeat;
5
+ @include breakpoint($hidpi) {
6
+ background-image: image-url("icons/#{$filename}@2x.png");
7
+ }
8
+ }
@@ -206,8 +206,12 @@ $fluid-grid-class-name: views-row;
206
206
  $spacing: 15px;
207
207
  $spacing-double: $spacing * 2;
208
208
  $spacing-triple: $spacing * 3;
209
+ $content-max-width: 1000px;
209
210
 
210
-
211
+ @mixin content-max-width {
212
+ max-width: $content-max-width;
213
+ margin: 0 auto;
214
+ }
211
215
 
212
216
  // To make hero styles work with IPE:
213
217
  // Use in @include panel-pane-with-ipe place of .panel-pane
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brevis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kendall Totten
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-28 00:00:00.000000000 Z
11
+ date: 2015-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -72,6 +72,7 @@ files:
72
72
  - stylesheets/brevis_utilities/_font_awesome.scss
73
73
  - stylesheets/brevis_utilities/_forms.scss
74
74
  - stylesheets/brevis_utilities/_header.scss
75
+ - stylesheets/brevis_utilities/_icons.scss
75
76
  - stylesheets/brevis_utilities/_images.scss
76
77
  - stylesheets/brevis_utilities/_layout.scss
77
78
  - stylesheets/brevis_utilities/_mediablock.scss