sassblueprint 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +21 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +31 -0
  5. data/Rakefile +2 -0
  6. data/lib/sassblueprint.rb +11 -0
  7. data/lib/stylesheets/README.md +124 -0
  8. data/lib/stylesheets/Understanding_the_theme_structure.png +0 -0
  9. data/lib/stylesheets/_Sassblueprint.sass +2 -0
  10. data/lib/stylesheets/_base_components.sass +17 -0
  11. data/lib/stylesheets/_base_utilities.sass +14 -0
  12. data/lib/stylesheets/base_components/README.md +40 -0
  13. data/lib/stylesheets/base_components/chrome/header/_branding.sass +32 -0
  14. data/lib/stylesheets/base_components/chrome/header/_mobile_toggle.sass +24 -0
  15. data/lib/stylesheets/base_components/chrome/header/_primary_menu.sass +66 -0
  16. data/lib/stylesheets/base_components/chrome/header/_search.sass +46 -0
  17. data/lib/stylesheets/base_components/chrome/header/_social.sass +30 -0
  18. data/lib/stylesheets/base_components/content_lists/_content_carousel.sass +0 -0
  19. data/lib/stylesheets/base_components/content_lists/_content_stream.sass +297 -0
  20. data/lib/stylesheets/base_components/content_lists/_featured.sass +80 -0
  21. data/lib/stylesheets/base_components/content_lists/_headlines.sass +5 -0
  22. data/lib/stylesheets/base_components/content_lists/_topic_lists.sass +16 -0
  23. data/lib/stylesheets/base_components/content_modules/_carousel.sass +23 -0
  24. data/lib/stylesheets/base_components/content_modules/_chosen.sass +294 -0
  25. data/lib/stylesheets/base_components/content_modules/_colorbox.sass +208 -0
  26. data/lib/stylesheets/base_components/content_modules/_flexslider.sass +93 -0
  27. data/lib/stylesheets/base_components/content_modules/_sticky_menu.sass +40 -0
  28. data/lib/stylesheets/base_utilities/README.md +16 -0
  29. data/lib/stylesheets/base_utilities/_admin.sass +9 -0
  30. data/lib/stylesheets/base_utilities/_animations.sass +47 -0
  31. data/lib/stylesheets/base_utilities/_breakpoints.sass +59 -0
  32. data/lib/stylesheets/base_utilities/_colors.sass +23 -0
  33. data/lib/stylesheets/base_utilities/_eq.sass +260 -0
  34. data/lib/stylesheets/base_utilities/_font_awesome.scss +540 -0
  35. data/lib/stylesheets/base_utilities/_forms.sass +27 -0
  36. data/lib/stylesheets/base_utilities/_header.sass +19 -0
  37. data/lib/stylesheets/base_utilities/_images.sass +79 -0
  38. data/lib/stylesheets/base_utilities/_layout.sass +119 -0
  39. data/lib/stylesheets/base_utilities/_page.sass +48 -0
  40. data/lib/stylesheets/base_utilities/_tooltip.sass +48 -0
  41. data/lib/stylesheets/base_utilities/_typography.sass +113 -0
  42. data/lib/stylesheets/base_utilities/_z-index.scss +15 -0
  43. data/lib/stylesheets/plugins/layouts/_panels_admin.sass +172 -0
  44. data/lib/stylesheets/plugins/layouts/_panels_global.sass +42 -0
  45. data/lib/stylesheets/plugins/layouts/armstrong/armstrong.sass +69 -0
  46. data/lib/stylesheets/plugins/layouts/cooper/cooper.sass +11 -0
  47. data/lib/stylesheets/plugins/layouts/footer/footer.sass +164 -0
  48. data/lib/stylesheets/plugins/layouts/landing_video/landing_video.sass +20 -0
  49. data/lib/stylesheets/plugins/layouts/mustang/mustang.sass +134 -0
  50. data/lib/stylesheets/plugins/layouts/rebel/rebel.sass +17 -0
  51. data/lib/stylesheets/plugins/layouts/sapphire/sapphire.sass +126 -0
  52. data/lib/stylesheets/plugins/layouts/shelby/shelby.sass +101 -0
  53. data/lib/stylesheets/plugins/layouts/viper/viper.sass +72 -0
  54. data/sassblueprint.gemspec +21 -0
  55. metadata +125 -0
@@ -0,0 +1,119 @@
1
+ ////////////////////////////////////////////////////
2
+ // FLUID GRID COLUMNS
3
+ //
4
+ // Example: http://sassmeister.com/gist/7951177
5
+
6
+ $fluid-grid-cols: 1
7
+ $fluid-grid-grid-rows: 10
8
+ $fluid-grid-padding: 2%
9
+ $fluid-grid-class-name: views-row
10
+
11
+ @mixin grid-mobile($class-name: $fluid-grid-class-name)
12
+ [class*='#{$class-name}']
13
+ float: left
14
+ clear: both
15
+ width: 100%
16
+ +box-sizing('border-box')
17
+
18
+
19
+ @mixin grid-desktop($class-name: $fluid-grid-class-name)
20
+ [class*='#{$class-name}']
21
+ float: left
22
+ clear: none
23
+ +box-sizing('border-box')
24
+
25
+
26
+ @mixin fluid-grid-modern($cols: $fluid-grid-cols, $grid-rows: $fluid-grid-grid-rows, $padding: $fluid-grid-padding, $class-name: $fluid-grid-class-name)
27
+ [class*='#{$class-name}']
28
+ width: (100% + $padding) / $cols
29
+ padding: 0 0 $padding $padding
30
+ .#{$class-name}-1
31
+ margin-left: -($padding)
32
+ .#{$class-name}:nth-child(#{$cols}n + 1)
33
+ margin-left: -($padding)
34
+ clear: both
35
+
36
+ @mixin fluid-grid($cols: $fluid-grid-cols, $grid-rows: $fluid-grid-grid-rows, $padding: $fluid-grid-padding, $class-name: $fluid-grid-class-name)
37
+ [class*='#{$class-name}']
38
+ width: (100% + $padding) / $cols
39
+ padding: 0 0 $padding $padding
40
+ clear: none
41
+
42
+ .#{$class-name}-1
43
+ margin-left: -($padding)
44
+
45
+ @for $x from 1 through $grid-rows
46
+ .#{$class-name}-#{$x * $cols + 1}
47
+ margin-left: -($padding)
48
+ clear: both
49
+
50
+
51
+
52
+ //======================================
53
+
54
+ $blue1: rgba(146, 198, 224, 0.25)
55
+ $blue2: rgba(146, 198, 224, 0.075)
56
+
57
+ @mixin grid-background-4
58
+ background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, $blue1), color-stop(21.05263%, $blue1), color-stop(21.05263%, $blue2), color-stop(26.31579%, $blue2), color-stop(26.31579%, $blue1), color-stop(47.36842%, $blue1), color-stop(47.36842%, $blue2), color-stop(52.63158%, $blue2), color-stop(52.63158%, $blue1), color-stop(73.68421%, $blue1), color-stop(73.68421%, $blue2), color-stop(78.94737%, $blue2), color-stop(78.94737%, $blue1), color-stop(100%, $blue1))
59
+ background-image: -webkit-linear-gradient(left, $blue1, $blue1 21.05263%, $blue2 21.05263%, $blue2 26.31579%, $blue1 26.31579%, $blue1 47.36842%, $blue2 47.36842%, $blue2 52.63158%, $blue1 52.63158%, $blue1 73.68421%, $blue2 73.68421%, $blue2 78.94737%, $blue1 78.94737%, $blue1 100%)
60
+ background-image: -moz-linear-gradient(left, $blue1, $blue1 21.05263%, $blue2 21.05263%, $blue2 26.31579%, $blue1 26.31579%, $blue1 47.36842%, $blue2 47.36842%, $blue2 52.63158%, $blue1 52.63158%, $blue1 73.68421%, $blue2 73.68421%, $blue2 78.94737%, $blue1 78.94737%, $blue1 100%)
61
+ background-image: linear-gradient(left, $blue1, $blue1 21.05263%, $blue2 21.05263%, $blue2 26.31579%, $blue1 26.31579%, $blue1 47.36842%, $blue2 47.36842%, $blue2 52.63158%, $blue1 52.63158%, $blue1 73.68421%, $blue2 73.68421%, $blue2 78.94737%, $blue1 78.94737%, $blue1 100%)
62
+
63
+ @mixin grid-background-8
64
+ background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, $blue1), color-stop(10.25641%, $blue1), color-stop(10.25641%, $blue2), color-stop(12.82051%, $blue2), color-stop(12.82051%, $blue1), color-stop(23.07692%, $blue1), color-stop(23.07692%, $blue2), color-stop(25.64103%, $blue2), color-stop(25.64103%, $blue1), color-stop(35.89744%, $blue1), color-stop(35.89744%, $blue2), color-stop(38.46154%, $blue2), color-stop(38.46154%, $blue1), color-stop(48.71795%, $blue1), color-stop(48.71795%, $blue2), color-stop(51.28205%, $blue2), color-stop(51.28205%, $blue1), color-stop(61.53846%, $blue1), color-stop(61.53846%, $blue2), color-stop(64.10256%, $blue2), color-stop(64.10256%, $blue1), color-stop(74.35897%, $blue1), color-stop(74.35897%, $blue2), color-stop(76.92308%, $blue2), color-stop(76.92308%, $blue1), color-stop(87.17949%, $blue1), color-stop(87.17949%, $blue2), color-stop(89.74359%, $blue2), color-stop(89.74359%, $blue1), color-stop(100%, $blue1))
65
+ background-image: -webkit-linear-gradient(left, $blue1, $blue1 10.25641%, $blue2 10.25641%, $blue2 12.82051%, $blue1 12.82051%, $blue1 23.07692%, $blue2 23.07692%, $blue2 25.64103%, $blue1 25.64103%, $blue1 35.89744%, $blue2 35.89744%, $blue2 38.46154%, $blue1 38.46154%, $blue1 48.71795%, $blue2 48.71795%, $blue2 51.28205%, $blue1 51.28205%, $blue1 61.53846%, $blue2 61.53846%, $blue2 64.10256%, $blue1 64.10256%, $blue1 74.35897%, $blue2 74.35897%, $blue2 76.92308%, $blue1 76.92308%, $blue1 87.17949%, $blue2 87.17949%, $blue2 89.74359%, $blue1 89.74359%, $blue1 100%)
66
+ background-image: -moz-linear-gradient(left, $blue1, $blue1 10.25641%, $blue2 10.25641%, $blue2 12.82051%, $blue1 12.82051%, $blue1 23.07692%, $blue2 23.07692%, $blue2 25.64103%, $blue1 25.64103%, $blue1 35.89744%, $blue2 35.89744%, $blue2 38.46154%, $blue1 38.46154%, $blue1 48.71795%, $blue2 48.71795%, $blue2 51.28205%, $blue1 51.28205%, $blue1 61.53846%, $blue2 61.53846%, $blue2 64.10256%, $blue1 64.10256%, $blue1 74.35897%, $blue2 74.35897%, $blue2 76.92308%, $blue1 76.92308%, $blue1 87.17949%, $blue2 87.17949%, $blue2 89.74359%, $blue1 89.74359%, $blue1 100%)
67
+ background-image: linear-gradient(left, $blue1, $blue1 10.25641%, $blue2 10.25641%, $blue2 12.82051%, $blue1 12.82051%, $blue1 23.07692%, $blue2 23.07692%, $blue2 25.64103%, $blue1 25.64103%, $blue1 35.89744%, $blue2 35.89744%, $blue2 38.46154%, $blue1 38.46154%, $blue1 48.71795%, $blue2 48.71795%, $blue2 51.28205%, $blue1 51.28205%, $blue1 61.53846%, $blue2 61.53846%, $blue2 64.10256%, $blue1 64.10256%, $blue1 74.35897%, $blue2 74.35897%, $blue2 76.92308%, $blue1 76.92308%, $blue1 87.17949%, $blue2 87.17949%, $blue2 89.74359%, $blue1 89.74359%, $blue1 100%)
68
+
69
+ @mixin grid-background-12
70
+ background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, $blue1), color-stop(6.77966%, $blue1), color-stop(6.77966%, $blue2), color-stop(8.47458%, $blue2), color-stop(8.47458%, $blue1), color-stop(15.25424%, $blue1), color-stop(15.25424%, $blue2), color-stop(16.94915%, $blue2), color-stop(16.94915%, $blue1), color-stop(23.72881%, $blue1), color-stop(23.72881%, $blue2), color-stop(25.42373%, $blue2), color-stop(25.42373%, $blue1), color-stop(32.20339%, $blue1), color-stop(32.20339%, $blue2), color-stop(33.89831%, $blue2), color-stop(33.89831%, $blue1), color-stop(40.67797%, $blue1), color-stop(40.67797%, $blue2), color-stop(42.37288%, $blue2), color-stop(42.37288%, $blue1), color-stop(49.15254%, $blue1), color-stop(49.15254%, $blue2), color-stop(50.84746%, $blue2), color-stop(50.84746%, $blue1), color-stop(57.62712%, $blue1), color-stop(57.62712%, $blue2), color-stop(59.32203%, $blue2), color-stop(59.32203%, $blue1), color-stop(66.10169%, $blue1), color-stop(66.10169%, $blue2), color-stop(67.79661%, $blue2), color-stop(67.79661%, $blue1), color-stop(74.57627%, $blue1), color-stop(74.57627%, $blue2), color-stop(76.27119%, $blue2), color-stop(76.27119%, $blue1), color-stop(83.05085%, $blue1), color-stop(83.05085%, $blue2), color-stop(84.74576%, $blue2), color-stop(84.74576%, $blue1), color-stop(91.52542%, $blue1), color-stop(91.52542%, $blue2), color-stop(93.22034%, $blue2), color-stop(93.22034%, $blue1), color-stop(100%, $blue1))
71
+ background-image: -webkit-linear-gradient(left, $blue1, $blue1 6.77966%, $blue2 6.77966%, $blue2 8.47458%, $blue1 8.47458%, $blue1 15.25424%, $blue2 15.25424%, $blue2 16.94915%, $blue1 16.94915%, $blue1 23.72881%, $blue2 23.72881%, $blue2 25.42373%, $blue1 25.42373%, $blue1 32.20339%, $blue2 32.20339%, $blue2 33.89831%, $blue1 33.89831%, $blue1 40.67797%, $blue2 40.67797%, $blue2 42.37288%, $blue1 42.37288%, $blue1 49.15254%, $blue2 49.15254%, $blue2 50.84746%, $blue1 50.84746%, $blue1 57.62712%, $blue2 57.62712%, $blue2 59.32203%, $blue1 59.32203%, $blue1 66.10169%, $blue2 66.10169%, $blue2 67.79661%, $blue1 67.79661%, $blue1 74.57627%, $blue2 74.57627%, $blue2 76.27119%, $blue1 76.27119%, $blue1 83.05085%, $blue2 83.05085%, $blue2 84.74576%, $blue1 84.74576%, $blue1 91.52542%, $blue2 91.52542%, $blue2 93.22034%, $blue1 93.22034%, $blue1 100%)
72
+ background-image: -moz-linear-gradient(left, $blue1, $blue1 6.77966%, $blue2 6.77966%, $blue2 8.47458%, $blue1 8.47458%, $blue1 15.25424%, $blue2 15.25424%, $blue2 16.94915%, $blue1 16.94915%, $blue1 23.72881%, $blue2 23.72881%, $blue2 25.42373%, $blue1 25.42373%, $blue1 32.20339%, $blue2 32.20339%, $blue2 33.89831%, $blue1 33.89831%, $blue1 40.67797%, $blue2 40.67797%, $blue2 42.37288%, $blue1 42.37288%, $blue1 49.15254%, $blue2 49.15254%, $blue2 50.84746%, $blue1 50.84746%, $blue1 57.62712%, $blue2 57.62712%, $blue2 59.32203%, $blue1 59.32203%, $blue1 66.10169%, $blue2 66.10169%, $blue2 67.79661%, $blue1 67.79661%, $blue1 74.57627%, $blue2 74.57627%, $blue2 76.27119%, $blue1 76.27119%, $blue1 83.05085%, $blue2 83.05085%, $blue2 84.74576%, $blue1 84.74576%, $blue1 91.52542%, $blue2 91.52542%, $blue2 93.22034%, $blue1 93.22034%, $blue1 100%)
73
+ background-image: linear-gradient(left, $blue1, $blue1 6.77966%, $blue2 6.77966%, $blue2 8.47458%, $blue1 8.47458%, $blue1 15.25424%, $blue2 15.25424%, $blue2 16.94915%, $blue1 16.94915%, $blue1 23.72881%, $blue2 23.72881%, $blue2 25.42373%, $blue1 25.42373%, $blue1 32.20339%, $blue2 32.20339%, $blue2 33.89831%, $blue1 33.89831%, $blue1 40.67797%, $blue2 40.67797%, $blue2 42.37288%, $blue1 42.37288%, $blue1 49.15254%, $blue2 49.15254%, $blue2 50.84746%, $blue1 50.84746%, $blue1 57.62712%, $blue2 57.62712%, $blue2 59.32203%, $blue1 59.32203%, $blue1 66.10169%, $blue2 66.10169%, $blue2 67.79661%, $blue1 67.79661%, $blue1 74.57627%, $blue2 74.57627%, $blue2 76.27119%, $blue1 76.27119%, $blue1 83.05085%, $blue2 83.05085%, $blue2 84.74576%, $blue1 84.74576%, $blue1 91.52542%, $blue2 91.52542%, $blue2 93.22034%, $blue1 93.22034%, $blue1 100%)
74
+
75
+ @mixin width-25($padding: 0)
76
+ width: 25%
77
+ float: left
78
+ padding: $padding
79
+
80
+ @mixin width-33($padding: 0)
81
+ width: 33.33%
82
+ float: left
83
+ padding: $padding
84
+
85
+ @mixin width-50($padding: 0)
86
+ width: 50%
87
+ float: left
88
+ padding: $padding
89
+
90
+ @mixin width-66($padding: 0)
91
+ width: 66%
92
+ float: left
93
+ padding: $padding
94
+
95
+ @mixin width-75($padding: 0)
96
+ width: 75%
97
+ float: left
98
+ padding: $padding
99
+
100
+ @mixin width-100($padding: 0)
101
+ width: 100%
102
+
103
+ @mixin width-50-100($padding: 0)
104
+ width: 100%
105
+ float: left
106
+ padding: $padding
107
+ +breakpoint($tablet-portrait)
108
+ width: 50%
109
+ float: left
110
+ padding: $padding
111
+
112
+
113
+ @mixin vertical-align
114
+ &:before
115
+ content: ''
116
+ display: inline-block
117
+ vertical-align: middle
118
+ height: 100%
119
+ width: .1px
@@ -0,0 +1,48 @@
1
+
2
+ @mixin page-max-width
3
+ +breakpoint($phone-l-tab-p)
4
+ max-width: $tab-p
5
+ margin: 0 auto
6
+
7
+ +breakpoint($tab-p-tab-l)
8
+ max-width: $tab-l
9
+ margin: 0 auto
10
+
11
+ +breakpoint($tab-l-desk)
12
+ max-width: $desk
13
+ //max-width: $tab-l + 20px
14
+ margin: 0 auto
15
+
16
+ +breakpoint($desktop)
17
+ max-width: ($desk)
18
+ margin: 0 auto
19
+
20
+ +breakpoint($print-media)
21
+ max-width: 900px
22
+ margin: 0 auto
23
+
24
+
25
+ @mixin content-area-padding($type: both)
26
+ @if $type == left
27
+ padding-left: 10px
28
+ margin-left: 10px
29
+ +breakpoint($tablet-portrait)
30
+ padding-left: 20px
31
+ margin-left: 10px
32
+
33
+ @if $type == right
34
+ padding-right: 10px
35
+ margin-right: 10px
36
+ +breakpoint($tablet-portrait)
37
+ padding-right: 20px
38
+ margin-right: 10px
39
+
40
+ @if $type == both
41
+ padding: 10px
42
+ margin: 0 10px
43
+ +breakpoint($tablet-portrait)
44
+ padding: 10px 20px
45
+ margin: 0 10px
46
+ +breakpoint($desktop)
47
+ padding: 20px 20px 0px
48
+ margin: 0
@@ -0,0 +1,48 @@
1
+ @mixin hui_tooltip($content: attr(data-tooltip), $direction: top)
2
+ position: relative
3
+ &:before, &:after
4
+ display: none
5
+ z-index: 98
6
+
7
+ &:hover
8
+ &:after // for text bubble
9
+ content: $content
10
+ display: block
11
+ position: absolute
12
+ height: 12px
13
+ // (makes total height including padding 22px)
14
+ padding: 6px
15
+ font-size: 12px
16
+ white-space: nowrap
17
+ color: #fff
18
+ @include text-shadow(1px 1px #000)
19
+ background-color: #222
20
+
21
+ @if ($direction == 'top')
22
+ &:before
23
+ @include triangle(down, 6px, #222)
24
+ top: -6px
25
+ margin-top: 0
26
+ left: 47%
27
+
28
+ &:after
29
+ top: -28px
30
+ left: 47%
31
+ margin-left: -20px
32
+
33
+
34
+ @else if ($direction == 'bottom')
35
+ &:before
36
+ @include triangle(up, 6px, #222)
37
+ top: auto
38
+ margin-top: 0
39
+ bottom: -6px
40
+ left: 47%
41
+
42
+ &:after
43
+ bottom: -28px
44
+ left: 47%
45
+ margin-left: -20px
46
+
47
+
48
+
@@ -0,0 +1,113 @@
1
+ //**************************************
2
+ // Typography
3
+
4
+ $base-font-size: 16px
5
+ $base-line-height: 24px
6
+ $rhythm-unit: 'rem'
7
+ $rem-with-px-fallback: true
8
+
9
+ $sans-serif-small: Arial, sans-serif
10
+ $sans-serif-large: Verdana, Geneva, 'DejaVu Sans', Arial, Helvetica, sans-serif
11
+ $serif-small: Garamond, Perpetua, 'Times New Roman', serif
12
+ $serif-large: Georgia, Baskerville, Palatino, 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif
13
+ $mono: Consolas, Monaco, 'Courier New', Courier, monospace, sans-serif
14
+
15
+ // Custom Font Fallbacks
16
+ $primary-sans: "Arial", sans-serif
17
+ $primary-serif: "Times New Roman", serif
18
+ $secondary-font: "Impact", $primary-sans
19
+ $icon-font: "FontAwesome"
20
+
21
+
22
+ @mixin font-smoothing($value: antialiased)
23
+ @if $value == antialiased
24
+ -webkit-font-smoothing: antialiased
25
+ -moz-osx-font-smoothing: grayscale
26
+ @if $value == subpixel
27
+ -webkit-font-smoothing: subpixel-antialiased
28
+ -moz-osx-font-smoothing: auto
29
+
30
+ @mixin primary-font
31
+ font-family: $sans-serif-small
32
+
33
+ @mixin secondary-font
34
+ font-family: $secondary-font
35
+
36
+ @mixin icon-font
37
+ font-family: $icon-font
38
+
39
+ @mixin font-awesome
40
+ font-family: $font-awesome
41
+
42
+ @mixin thick
43
+ font-weight: bold
44
+
45
+ @mixin thin
46
+ font-weight: normal
47
+
48
+ @mixin italic
49
+ font-style: italic
50
+
51
+ @mixin caps
52
+ text-transform: uppercase
53
+
54
+ @mixin link($link-color: $link, $link-hover: $link-hover, $underline: no)
55
+ text-decoration: none
56
+ &:link,
57
+ &:visited
58
+ text-decoration: none
59
+ color: $link-color
60
+ @if $underline == no
61
+ //&.active,
62
+ &:hover,
63
+ &:focus
64
+ color: $link-hover
65
+ @if $underline == yes
66
+ //&.active,
67
+ &:hover,
68
+ &:focus
69
+ text-decoration: underline
70
+ color: $link-hover
71
+
72
+
73
+ @mixin link-inherit-color-hover
74
+ a:hover,
75
+ a:focus
76
+ color: inherit
77
+
78
+ @mixin link-inherit-color($hover: hover)
79
+ a,
80
+ a:link,
81
+ a:visited
82
+ color: inherit
83
+ @if $hover == hover
84
+ &:hover
85
+ +link-inherit-color-hover
86
+
87
+ // Blueprint theme - variables are in order of how likely they are to be overridden
88
+ @mixin font-size($size: 22px, $lh: 1.3)
89
+ @if unit($lh) == 'px'
90
+ $lh: $lh / $base-line-height
91
+ +adjust-font-size-to($size, $lh)
92
+
93
+
94
+ @mixin text-style($size: 22px, $color: $text-primary, $link-color: inherit, $active-color: inherit, $type: null, $underline: no, $lh: 1.3)
95
+ @if unit($lh) == 'px'
96
+ $lh: $lh / $base-line-height
97
+ +adjust-font-size-to($size, $lh)
98
+ @if $type == link
99
+ a
100
+ +link($link-color, $active-color, $underline)
101
+ @else
102
+ color: $color
103
+
104
+ %offscreen
105
+ position: absolute
106
+ left: -1000em
107
+
108
+
109
+ @mixin truncate-text($overflow: ellipsis)
110
+ overflow: hidden
111
+ white-space: nowrap
112
+ text-overflow: $overflow // values are: clip, ellipsis, or a string
113
+
@@ -0,0 +1,15 @@
1
+ $zindex: (
2
+ modal: 9000,
3
+ overlay: 8000,
4
+ dropdown: 7000,
5
+ adminnav: 5000,
6
+ header: 4000,
7
+ header-contents: 4100,
8
+ content: 3000,
9
+ content-above: 3100,
10
+ footer: 2000
11
+ );
12
+
13
+ // How to use:
14
+ //.example-header
15
+ // z-index: map-get($zindex, header)
@@ -0,0 +1,172 @@
1
+ // CSS for modal window
2
+ #classy-panel-styles-pane-form,
3
+ #panels-edit-style-settings-form
4
+ .form-type-select,
5
+ width: 100%
6
+ .form-item
7
+ margin-bottom: 5px
8
+ float: left
9
+ clear: both
10
+ width: 100%
11
+
12
+ .form-item label
13
+ width: 20%
14
+ float: left
15
+ clear: both
16
+ font-size: 15px
17
+ text-align: right
18
+ color: #007FBF
19
+ padding: 0
20
+ margin: 5px 2% 2px 0
21
+ font-weight: bold
22
+ line-height: 1.1
23
+
24
+ input.form-autocomplete,
25
+ input.form-text,
26
+ input.form-file,
27
+ textarea.form-textarea,
28
+ select.form-select
29
+ padding: 0 5px
30
+ border: 1px solid #DDD
31
+ background-color: #FFF
32
+ background-position: 99% 50%
33
+ color: #333
34
+ font-size: 14px
35
+ margin: 0
36
+ width: 75%
37
+ clear: right
38
+
39
+ .grippie
40
+ max-width: 75%
41
+ float: left
42
+ margin-left: 22%
43
+ width: 100%
44
+ margin-bottom: 10px
45
+
46
+ .description
47
+ float: right
48
+ clear: right
49
+ text-align: left
50
+ padding: 0
51
+ margin: 7px 2% 15px 0
52
+ font-weight: normal
53
+ line-height: 1.1
54
+ width: 76%
55
+ color: #555
56
+ font-size: 13px
57
+
58
+ ////////////////////////////////////
59
+ // Styles for admin interface
60
+
61
+ .panels-dnd
62
+ .panel-pane
63
+ width: 100% // set default width to 100%
64
+
65
+ #panels-dnd-main
66
+ // ****************************
67
+ // **** CTOOLS
68
+ div.panel-region .pane-add-link
69
+ margin: 0
70
+ a.ctools-dropdown-image-link
71
+ background: url("../images/gear.png")
72
+ background-size: contain
73
+ width: 25px
74
+ height: 25px
75
+ .ctools-dropdown .ctools-dropdown-container ul
76
+ line-height: 1.3
77
+ .changed .grabber,
78
+ .ajax-changed .grabber
79
+ @extend %changed !optional
80
+ .hidden .grabber
81
+ @extend %disabled !optional
82
+ // ****************************
83
+ // **** CLEARFIX
84
+ .panel-region,
85
+ .container-inner,
86
+ .column-content-region
87
+ &:after
88
+ content: "."
89
+ font-size: 0
90
+ clear: both
91
+ // ****************************
92
+ // **** PANEL DISPLAY
93
+ .panel-panel .inside
94
+ +clearfix
95
+
96
+ .panel-display
97
+ @include background-grid
98
+ padding-right: 1%
99
+ +clearfix
100
+ // to compensate for the offset grid bg colors
101
+ .container-inner.grid-12
102
+ float: left
103
+ width: 100%
104
+
105
+ // ****************************
106
+ // **** PANEL REGION
107
+ .panel-panel .inside
108
+ +clearfix
109
+ background: #EBEBEB
110
+ border: 1px dashed #ddd
111
+ margin: 0 0 5px 0
112
+ padding: 6px 0
113
+
114
+ .panel-panel .panel-region
115
+ +clearfix
116
+ background: white
117
+ padding: 2px
118
+ overflow: visible
119
+ float: left
120
+ width: 100%
121
+ line-height: 0
122
+
123
+ h2.label
124
+ line-height: 1.5
125
+ font-size: 1.3em
126
+ color: black
127
+ .panel-pane
128
+ line-height: 1.2
129
+ //max-width: 98%
130
+ //margin: 1% !important
131
+ .panel-portlet.changed
132
+ width: 100%
133
+ // ****************************
134
+ // **** PANEL PANE
135
+ .panel-pane
136
+ +box-sizing(border-box)
137
+ padding: 0
138
+ margin: 0
139
+ position: relative
140
+ //float: none !important
141
+ .pane-content
142
+ margin: 0 10px
143
+ position: relative
144
+
145
+
146
+
147
+ ///////////////////////////////////
148
+ // IPE
149
+ ///////////////////////////////////
150
+ $ipe-color: #FC8F05
151
+ .panels-ipe-editing .panels-ipe-region 

152
+ border: $ipe-color dotted 2px
153
+
154
+ div.panels-ipe-placeholder
155
+ background: none
156
+ border: none
157
+ margin-top: 2px
158
+ h3 

159
+ font-size: 20px 

160
+ margin: 0.154em 0

161
+ color: $ipe-color
162
+
163
+ div.panels-ipe-newblock
164
+ +box-shadow(0)
165
+
166
+ .panels-ipe-linkbar.links--inline li
167
+ margin-right: 0em
168
+
169
+
170
+ div.panels-ipe-draghandle,
171
+ div.panels-ipe-nodraghandle
172
+ padding: 4px 7px
@@ -0,0 +1,42 @@
1
+ @mixin panel-defaults
2
+ $breakpoint-no-query-fallbacks: '.lt-ie9' !global
3
+ @include add-gutter(12px)
4
+ @include add-gutter-style('fixed')
5
+ padding: 0
6
+ position: relative
7
+ +page-max-width
8
+ #panels-dnd-main &
9
+ overflow: visible
10
+
11
+ .panel-panel.panel-col-top
12
+ margin-bottom: 0
13
+ +breakpoint($mobile-device)
14
+ //height: 50px // this doesnt work on articles/chevelle
15
+
16
+ .panel-col-top,
17
+ .panel-col-middle,
18
+ .panel-col-bottom
19
+ float: left
20
+ clear: both
21
+
22
+ .panel-col-middle,
23
+ .panel-col-middle-bottom
24
+ float: left
25
+ clear: both
26
+ .panel-pane
27
+ margin-bottom: 15px
28
+
29
+ .panel-pane.float-none
30
+ float: none
31
+
32
+ .inside,
33
+ .indent
34
+ +content-area-padding
35
+ +clearfix
36
+
37
+ .panel-panel
38
+ position: relative
39
+ float: left
40
+ clear: left
41
+ width: 100%
42
+
@@ -0,0 +1,69 @@
1
+ @import "../../../base_utilities"
2
+ @import "../panels_admin"
3
+ @import "../panels_global"
4
+
5
+
6
+ .panel-display
7
+ +panel-defaults
8
+
9
+ [class*=content-row]
10
+ clear: left
11
+ ////////////////////////////////////////////
12
+ // MOBILE Panel Panel
13
+ ////////////////////////////////////////////
14
+ +breakpoint($max-tab-p)
15
+ max-width: 550px
16
+ margin: 0 auto
17
+ .panel-panel
18
+ @include add-grid(4)
19
+ //@include grid-background-4
20
+
21
+ .panel-region-top,
22
+ .panel-region-content-bottom,
23
+ .panel-region-content,
24
+ .panel-region-sidebar
25
+ +grid-span(4, 1)
26
+ clear: left
27
+ ////////////////////////////////////////////
28
+ // TABLET
29
+ ////////////////////////////////////////////
30
+ +breakpoint($tab-p-desk)
31
+ .panel-panel
32
+ @include add-grid(8)
33
+ //@include grid-background-8
34
+
35
+ .panel-region-top,
36
+ .panel-region-content-bottom
37
+ +grid-span(8, 1)
38
+ clear: left
39
+ //banner ad
40
+ .panel-region-content
41
+ +grid-span(4, 1)
42
+ clear: left
43
+
44
+ .panel-region-sidebar
45
+ +grid-span(4, 5)
46
+
47
+
48
+ ////////////////////////////////////////////
49
+ // DESKTOP
50
+ ////////////////////////////////////////////
51
+ +breakpoint($desktop)
52
+ .panel-panel
53
+ //@include grid-background-12
54
+ @include add-grid(12)
55
+ //@include layout($grid, $gutter, $output-style)
56
+
57
+ .panel-region-top,
58
+ .panel-region-content-bottom
59
+ +grid-span(12, 1)
60
+ clear: left
61
+
62
+ .panel-region-content
63
+ +grid-span(8, 1)
64
+ clear: left
65
+
66
+
67
+ .panel-region-sidebar
68
+ +grid-span(4, 9)
69
+
@@ -0,0 +1,11 @@
1
+ @import "../../../base_utilities"
2
+ @import "../panels_admin"
3
+ @import "../panels_global"
4
+
5
+
6
+ #page .cooper
7
+ .panel-pane
8
+ width: auto
9
+ clear: none
10
+ margin: 0
11
+