This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
andrewmbacon
committed
Jan 28, 2015
1 parent
4f2a449
commit 8db93a3
Showing
8 changed files
with
700 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,3 @@ | ||
/*-------------------------------------------------------------- | ||
9.0 Widgets | ||
--------------------------------------------------------------*/ | ||
.widget { | ||
border: 1px solid transparent; | ||
border-width: 1px; | ||
border-color: #cccccc; | ||
border-radius: 0; | ||
margin: 0 0 1.5em 0; | ||
padding: none; | ||
background-color: white; | ||
color: black; | ||
} | ||
.widget a { | ||
color: blue; | ||
} | ||
.widget a:hover { | ||
color: red; | ||
} | ||
.widget .widget-head { | ||
padding: 0.5em; | ||
border: 1px solid transparent; | ||
border-width: 0 0 1px 0; | ||
border-color: #cccccc; | ||
} | ||
.widget .widget-head h2 { | ||
font-size: 1em; | ||
margin: 0; | ||
} | ||
|
||
/* Make sure select elements fit in widgets */ | ||
.widget select { | ||
max-width: 100%; | ||
} | ||
|
||
/* Search widget */ | ||
.widget_search .search-submit { | ||
display: none; | ||
} | ||
/* - - - - - - - - - - - - - - - - - - - | ||
== Widgets | ||
- - - - - - - - - - - - - - - - - - - */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ code { | |
@include cs-word-break; | ||
} | ||
.page { | ||
@include uc-cal; | ||
//@include uc-cal; | ||
} | ||
|
||
/* POSTS | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
.uc-cal { | ||
margin:$widget-content-margin !important; | ||
padding:0 !important; | ||
} | ||
|
||
// reset all the damn css from the damn plugin damn it. I apologize to future generations for all the !importants. | ||
|
||
.uc-cal * { | ||
|
||
margin: 0 !important; | ||
padding: 0!important; | ||
border: 0!important; | ||
font-size: 100%!important; | ||
font: inherit!important; | ||
vertical-align: baseline!important; | ||
background:none!important; | ||
position:inherit!important; | ||
width:auto !important; | ||
height: auto !important; | ||
color:inherit !important; | ||
display:block !important; | ||
box-shadow:none !important; | ||
text-transform:none !important; | ||
min-height:inherit !important; | ||
border-radius: 0 !important; | ||
|
||
} | ||
|
||
/*- - - - - */ | ||
|
||
// SHARED | ||
.uc-cal-item { | ||
@if $parent == '#megafooter' { | ||
margin: $megafooter-ecw-item-margin !important; | ||
} else { | ||
margin: $ecw-item-margin !important; | ||
} | ||
|
||
.uc-cal-event { | ||
position:relative !important; | ||
|
||
.uc-cal-event-date { | ||
float: left !important; | ||
position: relative !important; | ||
top:0; | ||
} | ||
|
||
.uc-cal-event-title { | ||
@if $parent == '#megafooter' { | ||
color:$megafooter-ecw-title-color !important; | ||
} else { | ||
color:$ecw-title-color !important; | ||
} | ||
} | ||
|
||
&:hover { | ||
.uc-cal-event-title { | ||
@if $parent == '#megafooter' { | ||
color:$megafooter-ecw-title-color-hover !important; | ||
} else { | ||
color:$ecw-title-color-hover !important; | ||
} | ||
} | ||
} | ||
|
||
|
||
&:after { | ||
visibility: hidden !important; | ||
display: block !important; | ||
font-size: 0!important; | ||
content: " "!important; | ||
clear: both!important; | ||
height: 0!important; | ||
} | ||
|
||
} | ||
} | ||
|
||
|
||
/**/ | ||
|
||
// ICON VIEW | ||
.uc-iconcal { | ||
.uc-cal-list { | ||
.uc-cal-item { | ||
.uc-cal-event { | ||
|
||
padding-left: #{($ecw-icon-dateWidth + $ecw-icon-gutter)}px !important; | ||
|
||
.uc-cal-event-date { | ||
|
||
left:-#{($ecw-icon-dateWidth + $ecw-icon-gutter)}px; | ||
margin-right:-#{($ecw-icon-dateWidth)}px !important; | ||
width:#{($ecw-icon-dateWidth)}px !important; | ||
|
||
.uc-cal-event-month{ | ||
padding: $ecw-icon-month-padding !important; | ||
border-width:$ecw-icon-month-border-width !important; | ||
border-style:$ecw-icon-month-border-style !important; | ||
text-align:center !important; | ||
font-size:$ecw-icon-month-font-size !important; | ||
text-transform:$ecw-icon-month-font-transform !important; | ||
letter-spacing: $ecw-icon-month-font-letter-spacing !important; | ||
|
||
@if $parent == '#megafooter' { | ||
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 { | ||
border-color: $ecw-icon-month-border-color !important; | ||
background-color:$ecw-icon-month-bg !important; | ||
color: $ecw-icon-month-color!important; | ||
} | ||
} | ||
.uc-cal-event-day { | ||
|
||
padding: $ecw-icon-day-padding !important; | ||
border-width:$ecw-icon-day-border-width !important; | ||
border-style:$ecw-icon-day-border-style !important; | ||
text-align:center !important; | ||
font-size:$ecw-icon-day-font-size !important; | ||
|
||
@if $parent == '#megafooter' { | ||
border-color: $megafooter-ecw-icon-day-border-color !important; | ||
background-color:$megafooter-ecw-icon-day-bg !important; | ||
} else { | ||
border-color: $ecw-icon-day-border-color !important; | ||
background-color:$ecw-icon-day-bg !important; | ||
} | ||
} | ||
} | ||
.uc-cal-event-time { | ||
@if $parent == '#megafooter' { | ||
color: $megafooter-ecw-time-color !important; | ||
} else { | ||
color: $ecw-time-color !important; | ||
} | ||
} | ||
|
||
// hover styles | ||
&:hover { | ||
.uc-cal-event-month{ | ||
|
||
} | ||
.uc-cal-event-day { | ||
} | ||
.uc-cal-event-title { | ||
} | ||
.uc-cal-event-time { | ||
} | ||
} | ||
|
||
} // cal-event | ||
|
||
|
||
} //cal-item | ||
} // cal-list | ||
|
||
|
||
} //icon-VIEW | ||
|
||
/**/ | ||
|
||
// LIST VIEW | ||
.uc-listcal { | ||
|
||
padding-left:$ecw-list-dateWidth !important; | ||
|
||
.uc-cal-event-date { | ||
width: $ecw-list-dateWidth !important; | ||
left:-($ecw-list-dateWidth) !important; | ||
margin-right:-($ecw-list-dateWidth) !important; | ||
} | ||
} | ||
} |
Oops, something went wrong.