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

Commit

Permalink
Mid LESS Conversion
Browse files Browse the repository at this point in the history
All of the IE hacks only work if we bring BS in as css...
  • Loading branch information
andrewmbacon committed Jul 18, 2014
1 parent bbfbac2 commit 5ac94f3
Show file tree
Hide file tree
Showing 14 changed files with 2,437 additions and 2,017 deletions.
2 changes: 1 addition & 1 deletion _notes/dwsync.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" ?><dwsync><file name=".DS_Store" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3487060276" remote="-4611742485168929597" Dst="-1" /><file name="404.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="admin-style.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="admin-style.js" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="archive.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="comments.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="content-none.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484303703" remote="-4611742485168929582" Dst="-1" /><file name="content-page.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="content-single.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484303652" remote="-4611742485168929582" Dst="-1" /><file name="content.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="footer.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="functions.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488537822" remote="997424038209838302" Dst="-1" /><file name="header.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488538264" remote="7783505565" Dst="-1" /><file name="index.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="mega-footer.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="page-home.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="page.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="997424038209766611" Dst="-1" /><file name="README.html" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484302198" remote="-4611742485168929581" Dst="-1" /><file name="README.md" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484302198" remote="-4611742485168929581" Dst="-1" /><file name="rtl.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3482672152" remote="-4611742485168929581" Dst="-1" /><file name="screenshot.png" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="search.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="searchform.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="sidebar.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="single.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="style.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488538867" remote="602446763926675704" Dst="-1" /><file name="style.scss" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488530616" remote="997424038209831096" Dst="-1" /><file name="user-profile.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488472971" remote="7783440268" Dst="-1" /><file name="search.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488466131" remote="997500248109466835" Dst="-1" /><file name="searchform.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488553209" remote="7783520508" Dst="-1" /><file name="style.scss" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488555116" remote="7783522413" Dst="-1" /><file name="page-home.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488555015" remote="7783522312" Dst="-1" /><file name="style.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488555737" remote="602446763926692577" Dst="-1" /><file name="functions.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488555706" remote="7783523003" Dst="-1" /></dwsync>
<?xml version="1.0" encoding="utf-8" ?><dwsync><file name=".DS_Store" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3487060276" remote="-4611742485168929597" Dst="-1" /><file name="404.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="admin-style.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="admin-style.js" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="archive.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929583" Dst="-1" /><file name="comments.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="content-none.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484303703" remote="-4611742485168929582" Dst="-1" /><file name="content-page.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="content-single.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484303652" remote="-4611742485168929582" Dst="-1" /><file name="content.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="footer.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="functions.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488537822" remote="997424038209838302" Dst="-1" /><file name="header.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488538264" remote="7783505565" Dst="-1" /><file name="index.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929582" Dst="-1" /><file name="mega-footer.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="page-home.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="page.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="997424038209766611" Dst="-1" /><file name="README.html" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484302198" remote="-4611742485168929581" Dst="-1" /><file name="README.md" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3484302198" remote="-4611742485168929581" Dst="-1" /><file name="rtl.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3482672152" remote="-4611742485168929581" Dst="-1" /><file name="screenshot.png" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="search.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="searchform.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="sidebar.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="single.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488466044" remote="-4611742485168929581" Dst="-1" /><file name="style.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488538867" remote="602446763926675704" Dst="-1" /><file name="style.scss" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488530616" remote="997424038209831096" Dst="-1" /><file name="user-profile.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/" local="3488472971" remote="7783440268" Dst="-1" /><file name="search.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488466131" remote="997500248109466835" Dst="-1" /><file name="searchform.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488553209" remote="7783520508" Dst="-1" /><file name="style.scss" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488555116" remote="7783522413" Dst="-1" /><file name="page-home.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488555015" remote="7783522312" Dst="-1" /><file name="functions.php" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488557785" remote="7783525082" Dst="-1" /><file name="style.css" server="development.wordpress.uconn.edu/edu.uconn.wordpress.development/public_html/wp-content/themes/cornerstone/" local="3488557444" remote="602446763926694293" Dst="-1" /></dwsync>
Expand Down
27 changes: 27 additions & 0 deletions css/accessibility.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
Accessibility Features
*/
#skiplinks {
position: absolute;
left: 0;
top: 0;
visibility: hidden;
height: 0;
width: 0;
}
.accessibility-fail {
opacity: .3;
}
.accessibility-fail-msg {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.accessibility-fail-msg .glyphicon {
color: red;
margin-right: 1em;
}
.accessibility-fail-msg a {
text-decoration: underline;
}
4 changes: 1 addition & 3 deletions css/cal.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@
#vb #vb-timespan .glyphicon-new-window {
display: none;
}

#events-grid-wrap li {
margin-bottom: 1em !important;
margin-bottom: 1em!important;
}
#events-grid-wrap li strong {
font-weight: normal;
}
#events-grid-wrap li .glyphicon-new-window {
display: none;
}

.uc-listcal .uc-cal-list {
list-style-type: none;
margin: 0;
Expand Down
4 changes: 4 additions & 0 deletions css/test.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* LESS Document */
a {
color: #0000ff;
}
1 change: 0 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ function cs_scripts() {
//wp_enqueue_style( 'cs-style', get_stylesheet_uri(),array('cs-bootstrap-css') );

wp_enqueue_script( 'cs-bootstrap-js', get_template_directory_uri() . '/bootstrap/js/bootstrap.min.js', array( 'jquery' ));
wp_enqueue_script( 'cs-respond-js', get_template_directory_uri() . '/bootstrap/js/respond.js', array( 'jquery' ));
wp_enqueue_script( 'cs-modernizr', get_template_directory_uri() . '/js/cs-modernizr.js', array( 'jquery' ));
wp_enqueue_script( 'cs', get_template_directory_uri() . '/js/cs.js', array( 'jquery' ));
wp_enqueue_script( 'cs-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'cs-bootstrap-js'), '20120206', true );
Expand Down
33 changes: 33 additions & 0 deletions less/accessibility.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
Accessibility Features
*/

#skiplinks {
position: absolute;
left:0;
top:0;
visibility: hidden;
height: 0;
width: 0;
}



.accessibility-fail {
// @include grayscale_element(100%);
opacity: .3;
}

.accessibility-fail-msg {
border-top-right-radius: 0;
border-top-left-radius: 0;
}
.accessibility-fail-msg .glyphicon {
color:red;
margin-right: 1em;
}
.accessibility-fail-msg a {
text-decoration: underline;
}
52 changes: 52 additions & 0 deletions less/cal.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
// SASS for the Events Calendar Shortcodes

#vb {
#vb-timespan {

list-style-type:none;
padding:0;
margin:0;
font-size:2em;

.glyphicon-new-window {
display:none;
}
}


}
#events-grid-wrap {
li {
margin-bottom:1em!important;

strong {
font-weight:normal;
}
.glyphicon-new-window {
display:none;
}
}
}


.uc-listcal {

.uc-cal-list {
list-style-type:none;
margin:0;
padding:0;
.uc-cal-item {
margin-bottom:1em;

.uc-cal-event-title {
font-style:normal;
margin-left:1em;
}

.glyphicon-new-window {
display:none;
}
}
}

}
37 changes: 37 additions & 0 deletions less/galleries.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
margin-bottom: 1.5em;
}
.gallery-item {
display: inline-block;
text-align: center;
vertical-align: top;
width: 100%;
}
.gallery-columns-2 .gallery-item {
max-width: 50%;
}
.gallery-columns-3 .gallery-item {
max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
max-width: 25%;
}
.gallery-columns-5 .gallery-item {
max-width: 20%;
}
.gallery-columns-6 .gallery-item {
max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
max-width: 11.11%;
}
.gallery-caption {}
17 changes: 17 additions & 0 deletions less/in-page-menus.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SASS for In-Page Menus

.in-page-list {
float:right;
padding:.5em;
border:1px solid #e7e7e7;
background-color:#f8f8f8;
margin:0 0 1.5em 2em;
width:20%;
min-width:200px;
max-width:400px;
border-radius:3px;
}

.in-page-tabs {
margin-bottom:2em;
}
39 changes: 39 additions & 0 deletions less/table-stripper.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* Table stripper - removes all styles from elements within tables. */

table div, table span, table applet, table object, table iframe, table
h1, table h2, table h3, table h4, table h5, table h6, table p, table blockquote, table pre, table
a, table abbr, table acronym, table address, table big, table cite, table code, table
del, table dfn, table em, table img, table ins, table kbd, table q, table s, table samp, table
small, table strike, table strong, table sub, table sup, table tt, table var, table
b, table u, table i, table center, table
dl, table dt, table dd, table ol, table ul, table li, table
fieldset, table form, table label, table legend, table
article, table aside, table canvas, table details, table embed, table
figure, table figcaption, table footer, table header, table hgroup, table
menu, table nav, table output, table ruby, table section, table summary, table
time, table mark, table audio, table video {
margin: 0!important;
padding: 0!important;
border: 0!important;
font-size: 100%!important;
vertical-align: baseline!important;
}
/* HTML5 display-role reset for older browsers */
table article, table aside, table details, table figcaption, table figure, table
footer, table header, table hgroup, table menu, table nav, table section {
display: block!important;
}
table body {
line-height: 1!important;
}
table ol, table ul {
list-style: none!important;
}
table blockquote, table q {
quotes: none!important;
}
table blockquote:before, table blockquote:after, table
q:before, table q:after {
content: ''!important;
content: none!important;
}
105 changes: 105 additions & 0 deletions less/uup.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/* Scss Document */

.uup-list {
list-style-type:none;
margin:0;
padding:0;

.has-image{
display:block;
position:relative;
padding-left:170px;


.uup-thumbnail {
display:block;
width:150px;
float:left;
position:relative;
left:-170px;
margin-right:-150px;
}
}
a.uup-user {
float:left;
}
.uup-item {
margin-bottom:1em;
*zoom: 1;

&:after,
&:before {
content:'';
display:table;
}
&:after {
clear:both;
}

.uup-text {
display:block;

& > span {
display:block;
}

.uup-name {
font-weight:bold;

.uup-first {}
.uup-last {

&:before {
content:' ';
}
}
}
.uup-title {
}
.uup-phones {
.uup-phone1 {}
.uup-phone2 {}
}
.uup-email {
}
.uup-fax {
}
.uup-office-location {
}
.uup-office-hours {
}
.uup-mailing-address {
}

} // text
} //item
}//list

.uup-index-table {

.uup-table-name {

&.table-has-image {

.uup-table-thumbnail {
display:block;
width:75px;
float:left;
margin:0 1em 1em 0!important;
}

.uup-name {
float:left;
display:block;


}
}
.uup-first {}
.uup-last:before {
content: ' ';
}

}

}
16 changes: 16 additions & 0 deletions less/widgets.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
display: none;
}
Loading

0 comments on commit 5ac94f3

Please sign in to comment.