brevis 0.1.1 → 0.1.2
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.
- checksums.yaml +4 -4
- data/lib/brevis.rb +2 -2
- data/stylesheets/_brevis.scss +35 -0
- data/stylesheets/brevis_components/chrome/header/_branding.scss +34 -0
- data/stylesheets/brevis_components/chrome/header/_mobile_toggle.scss +27 -0
- data/stylesheets/brevis_components/chrome/header/_primary_menu.scss +79 -0
- data/stylesheets/brevis_components/chrome/header/_search.scss +56 -0
- data/stylesheets/brevis_components/chrome/header/_social.scss +44 -0
- data/stylesheets/brevis_components/content_lists/_content_stream.scss +417 -0
- data/stylesheets/brevis_components/content_lists/_featured.scss +105 -0
- data/stylesheets/brevis_components/content_lists/_headlines.scss +7 -0
- data/stylesheets/brevis_components/content_lists/_topic_lists.scss +19 -0
- data/stylesheets/brevis_components/content_modules/_carousel.scss +23 -0
- data/stylesheets/brevis_components/content_modules/_chosen.scss +332 -0
- data/stylesheets/brevis_components/content_modules/_colorbox.scss +198 -0
- data/stylesheets/brevis_components/content_modules/_flexslider.scss +103 -0
- data/stylesheets/brevis_components/content_modules/_sticky_menu.scss +50 -0
- data/stylesheets/brevis_utilities/_admin.scss +13 -0
- data/stylesheets/brevis_utilities/_animations.scss +39 -0
- data/stylesheets/brevis_utilities/_breakpoints.scss +60 -0
- data/stylesheets/brevis_utilities/_colors.scss +24 -0
- data/stylesheets/brevis_utilities/_eq.scss +364 -0
- data/stylesheets/brevis_utilities/_forms.scss +34 -0
- data/stylesheets/brevis_utilities/_header.scss +19 -0
- data/stylesheets/brevis_utilities/_images.scss +147 -0
- data/stylesheets/brevis_utilities/_layout.scss +190 -0
- data/stylesheets/brevis_utilities/_mediablock.scss +99 -0
- data/stylesheets/brevis_utilities/_page.scss +59 -0
- data/stylesheets/brevis_utilities/_tooltip.scss +49 -0
- data/stylesheets/brevis_utilities/_typography.scss +149 -0
- metadata +30 -30
- data/stylesheets/_brevis.sass +0 -35
- data/stylesheets/brevis_components/chrome/header/_branding.sass +0 -32
- data/stylesheets/brevis_components/chrome/header/_mobile_toggle.sass +0 -24
- data/stylesheets/brevis_components/chrome/header/_primary_menu.sass +0 -66
- data/stylesheets/brevis_components/chrome/header/_search.sass +0 -46
- data/stylesheets/brevis_components/chrome/header/_social.sass +0 -30
- data/stylesheets/brevis_components/content_lists/_content_carousel.sass +0 -0
- data/stylesheets/brevis_components/content_lists/_content_stream.sass +0 -319
- data/stylesheets/brevis_components/content_lists/_featured.sass +0 -80
- data/stylesheets/brevis_components/content_lists/_headlines.sass +0 -5
- data/stylesheets/brevis_components/content_lists/_topic_lists.sass +0 -15
- data/stylesheets/brevis_components/content_modules/_carousel.sass +0 -19
- data/stylesheets/brevis_components/content_modules/_chosen.sass +0 -294
- data/stylesheets/brevis_components/content_modules/_colorbox.sass +0 -208
- data/stylesheets/brevis_components/content_modules/_flexslider.sass +0 -92
- data/stylesheets/brevis_components/content_modules/_sticky_menu.sass +0 -40
- data/stylesheets/brevis_utilities/_admin.sass +0 -9
- data/stylesheets/brevis_utilities/_animations.sass +0 -38
- data/stylesheets/brevis_utilities/_breakpoints.sass +0 -59
- data/stylesheets/brevis_utilities/_colors.sass +0 -23
- data/stylesheets/brevis_utilities/_eq.sass +0 -260
- data/stylesheets/brevis_utilities/_forms.sass +0 -27
- data/stylesheets/brevis_utilities/_header.sass +0 -19
- data/stylesheets/brevis_utilities/_images.sass +0 -120
- data/stylesheets/brevis_utilities/_layout.sass +0 -119
- data/stylesheets/brevis_utilities/_page.sass +0 -48
- data/stylesheets/brevis_utilities/_tooltip.sass +0 -48
- data/stylesheets/brevis_utilities/_typography.sass +0 -121
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01e696c3f4283406dd94da1df5e43ca718bbdf2d
|
4
|
+
data.tar.gz: 0dc3bbd0da50961eb8537762b09e027b84f37362
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f15f3f566d8889f262396f9a8db0d64b83358aded15d43c23fd3826fa4230430208e1c3827b68df5d8dbbafce6a7fb2996da9e08f874fd7706ddc5449a93b04
|
7
|
+
data.tar.gz: 7ccdaa7d6e91e0416f8ae487576f4760b1ff265472ccdc2cf833216a4a4bc19f40a3572122e0774da234970c20e9d1a99ee9bc095294da04af1fd77169be4ce5
|
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.
|
21
|
-
DATE = "
|
20
|
+
VERSION = "0.1.2"
|
21
|
+
DATE = "2015-01-28"
|
22
22
|
end
|
23
23
|
|
24
24
|
# This is where any custom SassScript should be placed. The functions will be
|
@@ -0,0 +1,35 @@
|
|
1
|
+
@import "compass";
|
2
|
+
@import "breakpoint";
|
3
|
+
|
4
|
+
@import "brevis_utilities/admin";
|
5
|
+
@import "brevis_utilities/animations";
|
6
|
+
@import "brevis_utilities/breakpoints";
|
7
|
+
@import "brevis_utilities/colors";
|
8
|
+
@import "brevis_utilities/eq";
|
9
|
+
@import "brevis_utilities/font_awesome.scss";
|
10
|
+
@import "brevis_utilities/forms";
|
11
|
+
@import "brevis_utilities/header";
|
12
|
+
@import "brevis_utilities/images";
|
13
|
+
@import "brevis_utilities/layout";
|
14
|
+
@import "brevis_utilities/page";
|
15
|
+
@import "brevis_utilities/tooltip";
|
16
|
+
@import "brevis_utilities/typography";
|
17
|
+
@import "brevis_utilities/z-index.scss";
|
18
|
+
|
19
|
+
@import "brevis_components/chrome/header/branding";
|
20
|
+
@import "brevis_components/chrome/header/mobile_toggle";
|
21
|
+
@import "brevis_components/chrome/header/primary_menu";
|
22
|
+
@import "brevis_components/chrome/header/search";
|
23
|
+
@import "brevis_components/chrome/header/social";
|
24
|
+
|
25
|
+
@import "brevis_components/content_lists/content_carousel";
|
26
|
+
@import "brevis_components/content_lists/content_stream";
|
27
|
+
@import "brevis_components/content_lists/featured";
|
28
|
+
@import "brevis_components/content_lists/headlines";
|
29
|
+
@import "brevis_components/content_lists/topic_lists";
|
30
|
+
|
31
|
+
@import "brevis_components/content_modules/carousel";
|
32
|
+
@import "brevis_components/content_modules/chosen";
|
33
|
+
@import "brevis_components/content_modules/colorbox";
|
34
|
+
@import "brevis_components/content_modules/flexslider";
|
35
|
+
@import "brevis_components/content_modules/sticky_menu";
|
@@ -0,0 +1,34 @@
|
|
1
|
+
@mixin site-logo ($logoname: "logo" $logoname-mobile: "logo-mobile" ) {
|
2
|
+
display: block;
|
3
|
+
overflow: hidden;
|
4
|
+
background: no-repeat 0 0;
|
5
|
+
background-size: cover;
|
6
|
+
margin: 0 0 $logo-bottom-margin 0;
|
7
|
+
font-size: 0;
|
8
|
+
line-height: 1;
|
9
|
+
height: $mobile-logo-h;
|
10
|
+
width: $mobile-logo-w;
|
11
|
+
background-image: inline-image("#{logoname-mobile}.png");
|
12
|
+
@include breakpoint($mobile-hi-res) {
|
13
|
+
background-image: inline-image("#{logoname-mobile}@2x.png");
|
14
|
+
}
|
15
|
+
|
16
|
+
@include breakpoint($desktop) {
|
17
|
+
background-image: inline-image("#{logoname}.png");
|
18
|
+
background-size: contain;
|
19
|
+
height: $logo-h;
|
20
|
+
width: $logo-w;
|
21
|
+
}
|
22
|
+
|
23
|
+
@include breakpoint($desk-hi-res) {
|
24
|
+
background-image: inline-image("#{logoname}@2x.png");
|
25
|
+
}
|
26
|
+
|
27
|
+
@include breakpoint($print-media) {
|
28
|
+
-webkit-print-color-adjust: exact;
|
29
|
+
content: url("../images/logo.png");
|
30
|
+
background-image: none;
|
31
|
+
height: $logo-h;
|
32
|
+
width: $logo-w;
|
33
|
+
}
|
34
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
@mixin mobile-menu-toggle {
|
2
|
+
text-indent: -100%;
|
3
|
+
width: $navicon-size - 10px;
|
4
|
+
height: $navicon-size;
|
5
|
+
display: block;
|
6
|
+
margin: 5px;
|
7
|
+
padding-left: $navicon-size;
|
8
|
+
&:before {
|
9
|
+
content: "|||";
|
10
|
+
padding: 10px;
|
11
|
+
line-height: 0.7;
|
12
|
+
float: right;
|
13
|
+
font-size: 40px;
|
14
|
+
-webkit-transform: rotate(-90deg);
|
15
|
+
-moz-transform: rotate(-90deg);
|
16
|
+
-ms-transform: rotate(-90deg);
|
17
|
+
-o-transform: rotate(-90deg);
|
18
|
+
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
|
19
|
+
}
|
20
|
+
.modal-content & {
|
21
|
+
display: none;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
%mobile-menu-toggle {
|
26
|
+
@include mobile-menu-toggle;
|
27
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
|
2
|
+
@mixin primary_menu (
|
3
|
+
$primary-menu-height: 40px,
|
4
|
+
$primary-menu-padding-v: 5px,
|
5
|
+
$primary-menu-padding-h: 10px
|
6
|
+
){
|
7
|
+
@include breakpoint($desktop) {
|
8
|
+
position: relative;
|
9
|
+
width: 100%;
|
10
|
+
min-height: $primary-menu-height;
|
11
|
+
.primary-menu-inner {
|
12
|
+
@include horizontal-list;
|
13
|
+
ul.links {
|
14
|
+
padding: 0;
|
15
|
+
margin: 0 - #{$primary-menu-height}/2;
|
16
|
+
overflow: hidden;
|
17
|
+
height: $primary-menu-height;
|
18
|
+
}
|
19
|
+
// Main menubar:
|
20
|
+
.primary-links {
|
21
|
+
li {
|
22
|
+
margin: 0;
|
23
|
+
padding: 0;
|
24
|
+
text-align: center;
|
25
|
+
display: inline-block;
|
26
|
+
}
|
27
|
+
li a {
|
28
|
+
display: block;
|
29
|
+
padding: $primary-menu-padding-v $primary-menu-padding-h;
|
30
|
+
text-decoration: none;
|
31
|
+
}
|
32
|
+
li.first {
|
33
|
+
margin-left: 0;
|
34
|
+
a {
|
35
|
+
padding-left: $primary-menu-padding-h;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
li.last {
|
39
|
+
margin-right: 0;
|
40
|
+
a {
|
41
|
+
padding-right: $primary-menu-padding-h;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
// Dropdown menu:
|
46
|
+
li > .menu-minipanel-panel {
|
47
|
+
top: $primary-menu-height;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
@include breakpoint($mobile-device) {
|
53
|
+
background: white;
|
54
|
+
.primary-links {
|
55
|
+
border: 1px solid #dddddd;
|
56
|
+
}
|
57
|
+
ul.links {
|
58
|
+
margin: 0 0 0 #{$primary-menu-height} * 1.5;
|
59
|
+
padding: 0;
|
60
|
+
width: auto;
|
61
|
+
list-style: none;
|
62
|
+
.last {
|
63
|
+
a {
|
64
|
+
border-bottom: 0px solid $text-quaternary;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
a {
|
68
|
+
width: 100%;
|
69
|
+
padding: $primary-menu-padding-v;
|
70
|
+
display: inline-block;
|
71
|
+
border-bottom: 1px solid $text-quaternary;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
%primary-menu {
|
78
|
+
@include primary-menu;
|
79
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
@mixin search {
|
2
|
+
@include breakpoint($print-media) {
|
3
|
+
display: none;
|
4
|
+
}
|
5
|
+
|
6
|
+
&:before {
|
7
|
+
content: " ";
|
8
|
+
width: $header-icon;
|
9
|
+
height: $header-icon;
|
10
|
+
display: block;
|
11
|
+
float: left;
|
12
|
+
background: no-repeat 50%;
|
13
|
+
@include svg-bg-simple("search");
|
14
|
+
@include border-radius(2px);
|
15
|
+
@include breakpoint($mobile-device) {
|
16
|
+
border: 1px solid #999999;
|
17
|
+
content: "D";
|
18
|
+
@include icon-font;
|
19
|
+
font-size: 32px;
|
20
|
+
text-align: center;
|
21
|
+
line-height: 1.35em;
|
22
|
+
}
|
23
|
+
|
24
|
+
@include breakpoint($desktop) {
|
25
|
+
&:before {
|
26
|
+
width: $header-icon-lg;
|
27
|
+
height: $header-icon-lg;
|
28
|
+
}
|
29
|
+
.search-block-form {
|
30
|
+
height: $header-icon-lg;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
.search-inner {
|
35
|
+
display: none;
|
36
|
+
padding: 0 50px;
|
37
|
+
.search-block-form {
|
38
|
+
background: white;
|
39
|
+
height: $header-icon;
|
40
|
+
max-width: 100%;
|
41
|
+
}
|
42
|
+
input[type="text"] {
|
43
|
+
height: 35px;
|
44
|
+
margin: 5px 1px;
|
45
|
+
}
|
46
|
+
input[type="submit"] {
|
47
|
+
margin: 0;
|
48
|
+
padding: 0 3px;
|
49
|
+
height: 39px;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
%search {
|
55
|
+
@include search;
|
56
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
@mixin social {
|
2
|
+
ul {
|
3
|
+
margin: 0 0 0 5px;
|
4
|
+
padding: 0;
|
5
|
+
}
|
6
|
+
li {
|
7
|
+
@include inline-block;
|
8
|
+
@include breakpoint($mobile-device) {
|
9
|
+
margin: 0 0 8px;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
li ~li {
|
13
|
+
@include breakpoint($desktop) {
|
14
|
+
margin: 0 0 0 5px;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
a {
|
18
|
+
@include hide-text;
|
19
|
+
@include inline-block;
|
20
|
+
@include border-radius(20px);
|
21
|
+
font-size: 0;
|
22
|
+
width: $header-icon;
|
23
|
+
height: $header-icon;
|
24
|
+
&.facebook {
|
25
|
+
@include svg-bg-simple("facebook");
|
26
|
+
}
|
27
|
+
&.twitter {
|
28
|
+
@include svg-bg-simple("twitter");
|
29
|
+
}
|
30
|
+
&.mail {
|
31
|
+
@include svg-bg-simple("email");
|
32
|
+
}
|
33
|
+
&.more {
|
34
|
+
@include svg-bg-simple("more-social");
|
35
|
+
}
|
36
|
+
}
|
37
|
+
@include breakpoint($print-media) {
|
38
|
+
display: none;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
%social {
|
43
|
+
@include social;
|
44
|
+
}
|
@@ -0,0 +1,417 @@
|
|
1
|
+
//////////////////////////////////////////
|
2
|
+
// Component groups
|
3
|
+
@mixin headline {
|
4
|
+
.pane-node-field-short-headline,
|
5
|
+
.pane-node-title {
|
6
|
+
@content;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
//things that wrap around a thumbnail
|
11
|
+
@mixin teaser-items {
|
12
|
+
.pane-node-field-short-headline,
|
13
|
+
.pane-node-title,
|
14
|
+
.pane-node-created,
|
15
|
+
.pane-node-posted-on,
|
16
|
+
.pane-node-body {
|
17
|
+
@content;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
@mixin image-pane {
|
22
|
+
.pane-node-field-thumbnail,
|
23
|
+
.pane-node-field-cover-photo,
|
24
|
+
.pane-node-field-image,
|
25
|
+
.image-fpp {
|
26
|
+
@content;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin content-stream-node {
|
31
|
+
border-bottom: 1px solid #cccccc;
|
32
|
+
padding-bottom: 1em;
|
33
|
+
margin-bottom: 1em;
|
34
|
+
margin-right: 1em;
|
35
|
+
}
|
36
|
+
|
37
|
+
%content-stream-node {@include content-stream-node;}
|
38
|
+
|
39
|
+
@mixin content-stream-image-max {
|
40
|
+
@include image-pane {
|
41
|
+
@extend %img-left;
|
42
|
+
width: 100%;
|
43
|
+
}
|
44
|
+
|
45
|
+
.field--type-image,
|
46
|
+
.field--type-image a,
|
47
|
+
img {
|
48
|
+
width: 100%;
|
49
|
+
vertical-align: top;
|
50
|
+
}
|
51
|
+
// target everyting except the taxonomy term tag
|
52
|
+
.panel-pane,
|
53
|
+
.embedded_photo {
|
54
|
+
float: left;
|
55
|
+
margin-bottom: 0;
|
56
|
+
h2 {
|
57
|
+
margin-bottom: 1px;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
%content-stream-image-max { @include content-stream-image-max}
|
63
|
+
|
64
|
+
// these are in the variables partial:
|
65
|
+
// $content-stream-img-sm: 50%
|
66
|
+
// $content-stream-img-md: 58%
|
67
|
+
@mixin content-stream-image-sm {
|
68
|
+
@include content-stream-image-max;
|
69
|
+
@include teaser-items {
|
70
|
+
width: 40%;
|
71
|
+
width: calc(100% - #{$content-stream-img-sm} - 20px);
|
72
|
+
float: left;
|
73
|
+
}
|
74
|
+
|
75
|
+
@include image-pane {
|
76
|
+
@extend %img-left;
|
77
|
+
max-width: #{$content-stream-img-sm};
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
%content-stream-image-sm {@include content-stream-image-sm;}
|
82
|
+
|
83
|
+
|
84
|
+
@mixin content-stream-image-md {
|
85
|
+
@include content-stream-image-max;
|
86
|
+
@include breakpoint($smartphone-landscape) {
|
87
|
+
@include teaser-items {
|
88
|
+
width: 40%;
|
89
|
+
width: calc(100% - #{$content-stream-img-md} - 20px);
|
90
|
+
float: left;
|
91
|
+
}
|
92
|
+
|
93
|
+
@include image-pane {
|
94
|
+
max-width: #{$content-stream-img-md};
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
%content-stream-image-md {@include content-stream-image-md;}
|
100
|
+
|
101
|
+
@include content-stream-image-lg {
|
102
|
+
@include image-pane {
|
103
|
+
width: 100%;
|
104
|
+
max-width: 100%;
|
105
|
+
.field--type-image,
|
106
|
+
.field--type-image a,
|
107
|
+
img {
|
108
|
+
width: 100%;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
h2 {
|
113
|
+
margin-bottom: 1px;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
%content-stream-image-lg {@include content-stream-image-lg;}
|
118
|
+
|
119
|
+
%float-thumb-left {
|
120
|
+
@include clearfix;
|
121
|
+
@include content-stream-image-sm;
|
122
|
+
}
|
123
|
+
|
124
|
+
%full-size-thumb {
|
125
|
+
@include image-pane {
|
126
|
+
@include img-no-float;
|
127
|
+
max-width: 100%;
|
128
|
+
width: 100%;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
%no-float-thumb {
|
133
|
+
@extend %full-size-thumb;
|
134
|
+
.pane-node-title,
|
135
|
+
.pane-node-body {
|
136
|
+
width: 100%;
|
137
|
+
max-width: 100%;
|
138
|
+
float: none;
|
139
|
+
margin-bottom: 0;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
%content-stream-basic {
|
144
|
+
.views-row {
|
145
|
+
float: left;
|
146
|
+
width: 100%;
|
147
|
+
max-width: 100%;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
@mixin content-stream-1 {
|
152
|
+
@extend %content-stream-basic;
|
153
|
+
.views-row {
|
154
|
+
margin-top: 10px;
|
155
|
+
}
|
156
|
+
.views-row~.views-row {
|
157
|
+
@extend %view_row;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
%layout-2 {
|
162
|
+
@include grid-desktop;
|
163
|
+
@include fluid-grid(2, $padding: 1%);
|
164
|
+
}
|
165
|
+
|
166
|
+
%layout-3 {
|
167
|
+
@include grid-desktop;
|
168
|
+
@include fluid-grid(3, $padding: 1.4%);
|
169
|
+
}
|
170
|
+
|
171
|
+
%layout-4 {
|
172
|
+
@include grid-desktop;
|
173
|
+
@include fluid-grid(4, $padding: 1%);
|
174
|
+
}
|
175
|
+
|
176
|
+
%layout-5 {
|
177
|
+
@include grid-desktop;
|
178
|
+
@include fluid-grid(5, $padding: 1%);
|
179
|
+
}
|
180
|
+
|
181
|
+
%layout-6 {
|
182
|
+
@include grid-desktop;
|
183
|
+
@include fluid-grid(6, $padding: 1%);
|
184
|
+
}
|
185
|
+
|
186
|
+
%layout-7 {
|
187
|
+
@include grid-desktop;
|
188
|
+
@include fluid-grid(7, $padding: 1%);
|
189
|
+
}
|
190
|
+
|
191
|
+
%layout-8 {
|
192
|
+
@include grid-desktop;
|
193
|
+
@include fluid-grid(8, $padding: 1%);
|
194
|
+
}
|
195
|
+
|
196
|
+
%layout-1-3 {
|
197
|
+
.views-row {
|
198
|
+
@extend %no-float-thumb;
|
199
|
+
}
|
200
|
+
.views-row-1 {
|
201
|
+
float: left;
|
202
|
+
width: 100% !important;
|
203
|
+
max-width: 100%;
|
204
|
+
margin-bottom: 0.5em;
|
205
|
+
@extend %no-float-thumb;
|
206
|
+
@include fallback {
|
207
|
+
img {
|
208
|
+
@extend %lg-thumbnail;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
.views-row-2,
|
213
|
+
.views-row-3,
|
214
|
+
.views-row-4 {
|
215
|
+
width: 32%;
|
216
|
+
float: left;
|
217
|
+
clear: none;
|
218
|
+
.pane-node-title,
|
219
|
+
.pane-node-created,
|
220
|
+
.pane-node-posted-on {
|
221
|
+
display: none;
|
222
|
+
}
|
223
|
+
.field--name-field-cover-photo:after {
|
224
|
+
display: none;
|
225
|
+
}
|
226
|
+
@include image-pane {
|
227
|
+
img {
|
228
|
+
width: 100% !important;
|
229
|
+
@include fallback {
|
230
|
+
@extend %xxs-thumbnail;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
.field--type-image {
|
236
|
+
width: 100%;
|
237
|
+
max-width: 100%;
|
238
|
+
#page & {
|
239
|
+
img {
|
240
|
+
width: 100%;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
.views-row-2 {
|
246
|
+
margin-left: 0;
|
247
|
+
clear: left;
|
248
|
+
}
|
249
|
+
.views-row-3 {
|
250
|
+
margin-left: 2%;
|
251
|
+
clear: none;
|
252
|
+
}
|
253
|
+
.views-row-4 {
|
254
|
+
margin-left: 2%;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
@mixin content-stream-1-3 {
|
259
|
+
@extend %layout-1-3;
|
260
|
+
}
|
261
|
+
|
262
|
+
@mixin content-stream-3 {
|
263
|
+
.views-row {
|
264
|
+
//@extend %float-thumb-left
|
265
|
+
@extend %content-stream-basic;
|
266
|
+
}
|
267
|
+
@include pane-eq-md-up {
|
268
|
+
@extend %layout-3;
|
269
|
+
}
|
270
|
+
|
271
|
+
@include fallback {
|
272
|
+
@extend %layout-3;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
@mixin content-stream-3-parent {
|
277
|
+
.views-row {
|
278
|
+
//@extend %float-thumb-left
|
279
|
+
@extend %content-stream-basic;
|
280
|
+
}
|
281
|
+
@include pane-parent-eq-md-up {
|
282
|
+
@extend %layout-3;
|
283
|
+
}
|
284
|
+
|
285
|
+
@include fallback {
|
286
|
+
@extend %layout-3;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
@mixin content-stream-4 {
|
291
|
+
.views-row {
|
292
|
+
//@extend %float-thumb-left
|
293
|
+
@extend %content-stream-basic;
|
294
|
+
}
|
295
|
+
&[data-eq-state="pane-sm"] {
|
296
|
+
@extend %layout-2;
|
297
|
+
}
|
298
|
+
@include pane-eq-md-up {
|
299
|
+
@extend %layout-4;
|
300
|
+
}
|
301
|
+
|
302
|
+
@include fallback {
|
303
|
+
//@extend %layout-4
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
@mixin content-stream-4-parent {
|
308
|
+
.views-row {
|
309
|
+
//@extend %float-thumb-left
|
310
|
+
@extend %content-stream-basic;
|
311
|
+
}
|
312
|
+
[data-eq-state="pane-sm"] & {
|
313
|
+
@extend %layout-2;
|
314
|
+
}
|
315
|
+
@include pane-parent-eq-md-up {
|
316
|
+
@extend %layout-4;
|
317
|
+
}
|
318
|
+
|
319
|
+
@include fallback {
|
320
|
+
@extend %layout-4;
|
321
|
+
}
|
322
|
+
}
|
323
|
+
|
324
|
+
@mixin content-stream-6 {
|
325
|
+
@include grid-desktop;
|
326
|
+
@include breakpoint($max-tab-p) {
|
327
|
+
@include fluid-grid(2, $padding: 1%);
|
328
|
+
}
|
329
|
+
|
330
|
+
@include breakpoint($tab-p-desk) {
|
331
|
+
@include fluid-grid(3, $padding: 1%);
|
332
|
+
}
|
333
|
+
|
334
|
+
@include breakpoint($desktop) {
|
335
|
+
@include fluid-grid(6, $padding: 1%);
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
@mixin content-stream-6-custom {
|
340
|
+
@include grid-desktop;
|
341
|
+
@include breakpoint($max-tab-p) {
|
342
|
+
@include fluid-grid(2, $padding: 1%);
|
343
|
+
}
|
344
|
+
|
345
|
+
@include breakpoint($tab-p-desk) {
|
346
|
+
@include fluid-grid(2, $padding: 1%);
|
347
|
+
.views-row-5, .views-row-6 //Show only 4 items {
|
348
|
+
display: none;
|
349
|
+
}
|
350
|
+
.views-row-4 {
|
351
|
+
margin-left: 0;
|
352
|
+
}
|
353
|
+
}
|
354
|
+
|
355
|
+
@include breakpoint($desktop) {
|
356
|
+
@include fluid-grid(6, $padding: 1%);
|
357
|
+
}
|
358
|
+
}
|
359
|
+
|
360
|
+
@mixin content-stream-5 {
|
361
|
+
@include grid-desktop;
|
362
|
+
@include breakpoint($max-tab-p) {
|
363
|
+
@include fluid-grid(2, $padding: 1%);
|
364
|
+
}
|
365
|
+
|
366
|
+
@include breakpoint($tab-p-desk) {
|
367
|
+
@include fluid-grid(3, $padding: 1%);
|
368
|
+
}
|
369
|
+
|
370
|
+
@include breakpoint($desktop) {
|
371
|
+
@include fluid-grid(5, $padding: 1%);
|
372
|
+
}
|
373
|
+
}
|
374
|
+
|
375
|
+
@mixin content-stream-7 {
|
376
|
+
[data-eq-state="pane-xl"] {
|
377
|
+
@extend %layout-7;
|
378
|
+
}
|
379
|
+
[data-eq-state="pane-lg"] {
|
380
|
+
@extend %layout-6;
|
381
|
+
}
|
382
|
+
[data-eq-state="pane-md"] {
|
383
|
+
@extend %layout-4;
|
384
|
+
}
|
385
|
+
@include pane-container-eq-sm-down {
|
386
|
+
@extend %layout-2;
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
@mixin content-stream-8 {
|
391
|
+
[data-eq-state="pane-xl"] {
|
392
|
+
@extend %layout-8;
|
393
|
+
}
|
394
|
+
[data-eq-state="pane-lg"] {
|
395
|
+
@extend %layout-6;
|
396
|
+
}
|
397
|
+
[data-eq-state="pane-md"] {
|
398
|
+
@extend %layout-4;
|
399
|
+
}
|
400
|
+
@include pane-container-eq-sm-down {
|
401
|
+
@extend %layout-2;
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
%latest-content-list-pane {
|
406
|
+
.more-link {
|
407
|
+
display: inline-block;
|
408
|
+
}
|
409
|
+
.feed {
|
410
|
+
position: absolute;
|
411
|
+
left: 10px;
|
412
|
+
bottom: 0px;
|
413
|
+
a {
|
414
|
+
font-size: 0;
|
415
|
+
}
|
416
|
+
}
|
417
|
+
}
|