Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Functional Build for CS.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmbacon committed Jan 28, 2015
1 parent 8e1ac6b commit 639f4e9
Show file tree
Hide file tree
Showing 6 changed files with 644 additions and 417 deletions.
5 changes: 5 additions & 0 deletions sass/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
== Content
- - - - - - - - - - - - - - - - - - - */

#content {
@include widgets("#content");
}


img {
height: auto;
max-width: 100%;
Expand Down
20 changes: 2 additions & 18 deletions sass/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,9 @@

#mega-footer {
padding-top:1em;
background-color:$megafooter-widget-bg;
background-color:$megafooter-bg;

.widget {
color: $megafooter-widget-color;
background-color: transparent;
border:none;

a {
color:$megafooter-widget-link-color;
&:hover {
color: $megafooter-widget-link-hover;
}
}
.widget-head {
background-color: $megafooter-widget-head-bg;
color: $megafooter-widget-head-color;
border:none;
}
}
@include widgets('#mega-footer');
}


Expand Down
8 changes: 1 addition & 7 deletions sass/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $megafooter-ecw-icon-day-bg-hover: $ecw-icon-day-bg-hover !default;
$megafooter-ecw-icon-day-border-color: $ecw-icon-day-border-color !default;
$megafooter-ecw-icon-day-border-color-hover: $ecw-icon-day-border-color-hover !default;


$megafooter-ecw-time-color: $ecw-time-color !default;



Expand Down Expand Up @@ -196,12 +196,6 @@ $footers-border-color: #ccc !default;
$footers-border-width: 2px 0 0 0 !default;

$megafooter-bg: transparent !default;
$megafooter-widget-bg: transparent !default;
$megafooter-widget-color: $footers-color !default;
$megafooter-widget-link-color: $footers-link-color !default;
$megafooter-widget-link-hover: $footers-link-hover !default;
$megafooter-widget-head-bg: transparent !default;
$megafooter-widget-head-color: $footers-color !default;


$uc-footer-link-color: $footers-link-color !default;
Expand Down
70 changes: 33 additions & 37 deletions sass/widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
@mixin widgets($parent){

.widget {
@include cs-word-break;

overflow:hidden;
border:1px solid transparent;

@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
border-width:$megafooter-widget-border-width;
border-color: $megafooter-widget-border-color;
border-radius: $megafooter-widget-border-radius;
margin: $megafooter-widget-margin;
padding: $megafooter-widget-padding;
background-color: $megafooter-widget-bg;
color:$megafooter-widget-color;
} else {
} @else {
border-width:$widget-border-width;
border-color: $widget-border-color;
border-radius: $widget-border-radius;
Expand All @@ -33,16 +33,16 @@
}

a {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
color: $megafooter-widget-link-color;
} else {
} @else {
color: $widget-link-color;
}

&:hover {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
color:$megafooter-widget-link-hover;
} else {
} @else {
color:$widget-link-hover;
}
}
Expand All @@ -52,11 +52,11 @@

border:1px solid transparent;

@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
padding: $widget-head-padding;
border-width: $widget-head-border-width;
border-color: $widget-head-border-color;
} else {
} @else {
padding: $megafooter-widget-head-padding;
border-width: $megafooter-widget-head-border-width;
border-color: $megafooter-widget-head-border-color;
Expand All @@ -65,10 +65,10 @@
h2 {
margin: 0;

@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
font-size: $megafooter-widget-head-size;
color: $megafooter-widget-head-color;
} else {
} @else {
font-size: $widget-head-size;
color: $widget-head-color;
}
Expand All @@ -77,9 +77,9 @@
}

form {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
margin:$megafooter-widget-content-margin;
} else {
} @else {
margin:$widget-content-margin;
}
}
Expand All @@ -88,9 +88,9 @@
ol {
list-style-type:none;
padding:0;
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
margin:$megafooter-widget-content-margin;
} else {
} @else {
margin:$widget-content-margin;
}

Expand Down Expand Up @@ -144,18 +144,18 @@
&.widget_search {}
&.widget_text {
.textwidget {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
margin:$megafooter-widget-content-margin;
} else {
} @else {
margin:$widget-content-margin;
}
}
}
&.widget_tag_cloud {
.tagcloud {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
margin:$megafooter-widget-content-margin;
} else {
} @else {
margin:$widget-content-margin;
}
}
Expand All @@ -165,9 +165,9 @@
*/
&.widget_black_studio_tinymce {
.textwidget {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
margin:$megafooter-widget-content-margin;
} else {
} @else {
margin:$widget-content-margin;
}
}
Expand Down Expand Up @@ -335,11 +335,7 @@

// SHARED
.uc-cal-item {
@if $parent == '#megafooter' {
margin: $megafooter-ecw-item-margin !important;
} else {
margin: $ecw-item-margin !important;
}
margin: $ecw-item-margin !important;

.uc-cal-event {
position:relative !important;
Expand All @@ -351,18 +347,18 @@
}

.uc-cal-event-title {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
color:$megafooter-ecw-title-color !important;
} else {
} @else {
color:$ecw-title-color !important;
}
}

&:hover {
.uc-cal-event-title {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
color:$megafooter-ecw-title-color-hover !important;
} else {
} @else {
color:$ecw-title-color-hover !important;
}
}
Expand Down Expand Up @@ -407,11 +403,11 @@
text-transform:$ecw-icon-month-font-transform !important;
letter-spacing: $ecw-icon-month-font-letter-spacing !important;

@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
border-color: $megafooter-ecw-icon-month-border-color !important;
background-color:$megafooter-ecw-icon-month-bg !important;
color: $megafooter-ecw-icon-month-color!important;
} else {
} @else {
border-color: $ecw-icon-month-border-color !important;
background-color:$ecw-icon-month-bg !important;
color: $ecw-icon-month-color!important;
Expand All @@ -425,19 +421,19 @@
text-align:center !important;
font-size:$ecw-icon-day-font-size !important;

@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
border-color: $megafooter-ecw-icon-day-border-color !important;
background-color:$megafooter-ecw-icon-day-bg !important;
} else {
} @else {
border-color: $ecw-icon-day-border-color !important;
background-color:$ecw-icon-day-bg !important;
}
}
}
.uc-cal-event-time {
@if $parent == '#megafooter' {
@if $parent == "#mega-footer" {
color: $megafooter-ecw-time-color !important;
} else {
} @else {
color: $ecw-time-color !important;
}
}
Expand Down Expand Up @@ -492,7 +488,7 @@
}
}

@include widgets('#mega-footer');




Loading

0 comments on commit 639f4e9

Please sign in to comment.