From 69cbec5a07c8affa864ff09ad4a099185f1ba47b Mon Sep 17 00:00:00 2001 From: Christopher M Cerrigione Date: Fri, 31 Mar 2017 11:38:59 -0400 Subject: [PATCH] Graduate School Initial Commit --- _notes/dwsync.xml | 6 + grandchild-functions.php | 126 ++ grandchild-styles.css | 2000 +++++++++++++++++++++++++++ template-class.php | 221 +++ templates/_notes/dwsync.xml | 8 + templates/footer.php | 47 + templates/header.php | 86 ++ templates/nav-drop-multi-walker.php | 170 +++ templates/nav-tabs.php | 197 +++ templates/nav.php | 58 + you-did-it!.rtf | 8 - 11 files changed, 2919 insertions(+), 8 deletions(-) create mode 100644 _notes/dwsync.xml create mode 100644 grandchild-functions.php create mode 100644 grandchild-styles.css create mode 100644 template-class.php create mode 100644 templates/_notes/dwsync.xml create mode 100644 templates/footer.php create mode 100644 templates/header.php create mode 100644 templates/nav-drop-multi-walker.php create mode 100644 templates/nav-tabs.php create mode 100644 templates/nav.php delete mode 100644 you-did-it!.rtf diff --git a/_notes/dwsync.xml b/_notes/dwsync.xml new file mode 100644 index 0000000..56af3c6 --- /dev/null +++ b/_notes/dwsync.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/grandchild-functions.php b/grandchild-functions.php new file mode 100644 index 0000000..3f0c4b5 --- /dev/null +++ b/grandchild-functions.php @@ -0,0 +1,126 @@ + $word_limit) + array_pop($words); + return implode(' ', $words); +} + +// ---------------- Custom Header ---------------- + +// We are hooking to the 'load_custom_header' filter +// and return a value of 'true' meaning that we want to +// load a custom header + +add_filter( 'load_custom_header', '__return_true', 99 ); + +add_filter( 'get_custom_header', function( $header ) { + return plugin_dir_path( __FILE__ ).'templates/header.php'; +}, 99 ); + +// ---------------- Register a new sidebar- creates widget in header for tagline ----------------- + +if ( function_exists('register_sidebar') ) { + register_sidebar( array( + 'name' => __( 'Header - Tagline' ), + 'id' => 'header-tagline', + 'description' => __( 'Widgets in this area will be shown on the header.' ), + 'before_title' => '

', + 'after_title' => '

', + ) ); +} + +if ( function_exists('register_sidebar') ) { + register_sidebar( array( + 'name' => __( 'Footer - 1' ), + 'id' => 'footer-1', + 'description' => __( 'Widgets in this area will be shown on the left hand side of the footer.' ), + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer - 2' ), + 'id' => 'footer-2', + 'description' => __( 'Widgets in this area will be shown on the right hand side of the footer.' ), + 'before_title' => '

', + 'after_title' => '

', + ) ); + + register_sidebar( array( + 'name' => __( 'Footer - 3' ), + 'id' => 'footer-3', + 'description' => __( 'Widgets in this area will be shown on the right hand side of the footer.' ), + 'before_title' => '

', + 'after_title' => '

', + ) ); +} + + +//---------------- Add templates to post loop drop down ----------------- + +/* function grandchild_postloop_template_include( $templates ) { + $templates[] = '../../plugins/grandchild-global-citizenship/templates/content-small-grid.php'; + $templates[] = '../../plugins/grandchild-global-citizenship/templates/content-large-featured-story.php'; + $templates[] = '../../plugins/grandchild-global-citizenship/templates/content-category-landing-grid.php'; + return $templates; + +} + + +add_filter( 'siteorigin_panels_postloop_templates', 'grandchild_postloop_template_include', 11 ); */ + + + + +// ---------------- Custom Footer ---------------- + + +add_filter( 'load_custom_footer', '__return_true', 99 ); + +add_filter( 'get_custom_footer', function( $footer ) { + return plugin_dir_path( __FILE__ ).'templates/footer.php'; +}, 99 ); + + +?> \ No newline at end of file diff --git a/grandchild-styles.css b/grandchild-styles.css new file mode 100644 index 0000000..50174c5 --- /dev/null +++ b/grandchild-styles.css @@ -0,0 +1,2000 @@ +/* @import must be at top of file, otherwise CSS will not work */ +@import url("//hello.myfonts.net/count/30bca5"); +body { + letter-spacing:0.5px; + font-family: 'pn-reg',helvetica,arial; +} + +strong { + font-family: 'pn-bold',helvetica,arial; + font-weight:normal; +} + +a { + color:#F0AD4E; + text-decoration:none!important; +} + +a:hover { + color: #cd9547; + text-decoration:underline!important; +} + +.home .glyphicon.glyphicon-new-window { + display:none; +} + +/*======================================================= define header fonts and size =================================== */ + +@font-face {font-family: 'pn-light'; + src: url('../../global/fonts/proximanova_light/ProximaNova-Light-webfont.eot'); + src: url('../../global/fonts/proximanova_light/ProximaNova-Light-webfont.eot?#iefix') format('embedded-opentype'), +url('../../global/fonts/proximanova_light/ProximaNova-Light-webfont.woff') format('woff'), +url('../../global/fonts/proximanova_light/ProximaNova-Light-webfont.ttf') format('truetype'), +url('../../global/fonts/proximanova_light/ProximaNova-Light-webfont.svg#proxima_nova_ltlight') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face {font-family: 'pn-semi-bold'; + src: url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.eot'); + src: url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.eot?#iefix') format('embedded-opentype'), +url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.woff') format('woff'), +url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.ttf') format('truetype'), +url('../../global/fonts/proximanova_semibold/ProximaNova-Sbold-webfont.svg#proxima_nova_ltlight') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face {font-family: 'pn-reg'; + src: url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.eot'); + src: url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'), +url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.woff') format('woff'), +url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.ttf') format('truetype'), +url('../../global/fonts/proximanova_regular/ProximaNova-Reg-webfont.svg#proxima_nova_ltlight') format('svg'); + font-weight: normal; + font-style: normal; +} + + @font-face {font-family: 'pn-bold'; + src: url('../../global/fonts/proximanova_bold/ProximaNova-Bold-webfont.eot'); + src: url('../../global/fonts/proximanova_bold/ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'), +url('../../global/fonts/proximanova_bold/ProximaNova-Bold-webfont.woff') format('woff'), +url('../../global/fonts/proximanova_bold/ProximaNova-Bold-webfont.ttf') format('truetype'), +url('../../global/fonts/proximanova_bold/ProximaNova-Bold-webfont.svg#proxima_nova_rgbold') format('svg'); + font-weight: normal; + font-style: normal; +} + + h1 { + font-size: 28px; + font-family: 'pn-semi-bold', helvetica, arial, sans-serif; + border-bottom: 2px solid #54B8FF!important; + color:#E29C47!important; + font-weight: bold; + /* margin-top: 25px!important;*/ + + } + + #primary #main .page h1 { + padding-bottom: 0px!important; + } + + + h2 { + font-size: 22px; + font-family: 'pn-semi-bold', helvetica, arial, sans-serif; + + } + + h3 { + font-size: 20px; + font-family: 'pn-semi-bold', helvetica, arial, sans-serif; + + } + + h4 { + font-size: 18px; + font-family: 'pn-semi-bold', helvetica, arial, sans-serif; + margin-top: 20px!important; + + } + + h5 { + font-size: 16px; + font-family: 'pn-semi-bold', helvetica, arial, sans-serif; + margin-top: 15px; + + } + h6 { + font-size: 14px; + font-family: 'pn-semi-bold', helvetica, arial, sans-serif; + + } + +/* ==================================================== HEADER- TAGLINE ======================================= */ +#global-header-tagline { + margin-top: 34px; + text-align:right; +} + +#global-header-tagline .widget { + display:block; +} + +/* ==================================================== SEARCHBAR ============================================= */ +.navbar-form.navbar-right .searchform .btn-default { + background-color:#ffdaa6!important; + border: none; + padding-bottom:0px; +} + +.navbar-form.navbar-right .searchform .btn-default:hover{ + background-color:#ffcc85!important; +} + + +#masthead .form-group .btn { + min-height: 34px!important; +} + +#dropdown-wrapper .form-group .btn i{ + color:#999999!important; +} + +.navbar-form.navbar-right .searchform { + float:right!important; + padding-top: 10px; + padding-bottom: 13px; + margin-top: -6px; +} +.navbar-form.navbar-right .form-control { + background-color:#ffdaa6!important; + border:none!important; + color:none!important +} + +.navbar-form.navbar-right .searchform input[type="placeholder"] { + color:white!important; + padding-left:10px; +} + +.navbar-form.navbar-right .searchform input[type="text"] { + background-color:#ffdaa6!important; + border: none!important; + padding-bottom: 4px; + margin-right: -4px; + padding-top: 2px; + padding-left: 5px; +} + +@media (min-width: 991px) and (max-width: 1200px){ +.navbar-form.navbar-right .searchform input[type="text"] { + width: 81px!important; + } + .nav-tabs > li { + padding-left:0px; + + + } +} + + +@media (min-width: 991px) and (max-width: 1200px){ + .navbar-form.navbar-right .searchform { + padding-bottom: 0px; +} +} + +@media (min-width: 294px) and (max-width:767px) { + .navbar-form.navbar-right .searchform { + float:left!important; + +} +} + +@media (min-width: 294px) and (max-width:767px) { +.navbar-form.navbar-right .searchform input[type="text"] { + background-color:#ffdaa6!important; + padding-top: 6px!important; + padding-bottom: 6px!important; + margin-bottom: 20px!important; + margin-left: -2px!important; +} +} + +.navbar-form.navbar-right .glyphicon.glyphicon-search { + top:0px!important; + color: #717073 !important; +} + +::-webkit-input-placeholder { /* WebKit, Blink, Edge */ + color: #717073 !important; + } + :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #717073 !important; + opacity: 1; + } + ::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #717073 !important; + opacity: 1; + } + :-ms-input-placeholder { /* Internet Explorer 10-11 */ + color: #717073 !important; + } + +/* ======================================================== SITE TITLE ==================================== */ +#uc-site-header h1#uc-site-title a{ + color:#FFF; + width:1200px; +} + +#uc-site-header #uc-site-title { + padding-bottom: 30px!important; +} + +#uc-identity { + border-bottom:none!important; +} + +#uc-site-title { + border-bottom:none!important; +} + +/* ======================================================== NAV =========================================== */ + +#masthead #nav-wrapper #nav-tabs { + padding-bottom: 0px; +} + +.nav-tabs > li { + margin-bottom: -2px; +} + +#masthead #nav-wrapper #nav-tabs .nav-tabs li a { + color:#ffffff!important; + padding: 16px 15px!important; +} + + + +@media (min-width: 991px) and (max-width: 1200px){ + #masthead #nav-wrapper #nav-tabs .nav-tabs li a { + padding: 16px 9px!important; + } +} + + + + +@media (max-width: 991px) { +#masthead #nav-wrapper #nav-tabs .nav-tabs li:nth-child(8) a { + padding-left:0px!important; +} +#masthead #nav-wrapper #nav-tabs .nav-tabs li a { + padding: 16px 13px!important; + } + #masthead #nav-wrapper #nav-tabs .nav-tabs li:nth-child(9) a { + padding-top:9px!important; +} + +} + +@media (max-width: 991px) { + /*#masthead #nav-wrapper #nav-tabs #tabs-bottom .navbar li a{ + padding: 16px!important; + } +*/ +#masthead #nav-wrapper #nav-tabs #tabs-bottom .navbar li:nth-child(5) a{ + padding-left:0px!important; +} + +#masthead #nav-wrapper #nav-tabs #tabs-bottom .navbar li:nth-child(1) a{ + padding-left:0px!important; +} +} + +#masthead #nav-wrapper #nav-tabs .nav-tabs li a:hover { + color: #2d2d2d!important; + text-decoration:none!important; +} + +#primary-nav .nav.navbar-nav li a:hover{ + color:#2E2E2E; +} + +#nav-wrapper { + background-color:#F0AD4E; + height: auto; +} + +#masthead #nav-wrapper #nav-tabs .nav-tabs li:nth-child(1) a{ + padding-left:0px!important; +} + + +/* +@media (max-width: 1200px) { + .navbar-right{ + float: left !important; + margin-bottom: 15px!important; + margin-top: 0px; + margin-left: -4px!important; + + + } +} +*/ +@media (max-width: 991px) { +.page #nav-wrapper ul.nav.nav-tabs li:nth-child(8) a{ + margin-top: -7px!important; + padding-left:0px!important; + + } +} + + + +@media (max-width: 991px) { + .navbar-right{ + float: left !important; + padding-bottom: 15px; + margin-top: 4px; + margin-left: auto; + } +} + + +/*============================================================ SUB NAV ==========================================*/ + +/* ========================================================== Top Nav active state - level 2 page ===============================*/ +#masthead #nav-wrapper #nav-tabs #tabs-top li.current_page_parent a{ + background-color: #f0ad4e; + color:#2E2E2E!important; + font-weight: bold; + padding-bottom: 0px; +} + +#masthead #nav-wrapper #nav-tabs #tabs-top li.current_page_parent a:hover{ + background-color: #f0ad4e; +} +/* ========================================================== Top Nav active state - interior page ===============================*/ +#masthead #nav-wrapper #nav-tabs .nav-tabs li.current-menu-item a { + background-color: #D38809; + color:#2E2E2E!important; + font-weight: bold; + padding-bottom: 0px; +} + +#masthead.site-header #nav-wrapper #nav-tabs .nav-tabs li.current-menu-item a { + padding: 16px 15px 14px!important; +} + +@media (max-width: 991px) { +#masthead.site-header #nav-wrapper #nav-tabs .nav-tabs li.current-menu-item a { + padding: 16px 14px!important; +} +} +/* ========================================================== keep parent item highlighted ===============================*/ + +#masthead.site-header #nav-wrapper #tabs-top-wrapper ul.nav.nav-tabs li.current-menu-parent.current-menu-parent a{ + padding: 16px 15px!important; + background-color: #D38809!important; + padding-bottom: 14px!important; +} +#masthead.site-header #nav-wrapper #tabs-top-wrapper ul.nav.nav-tabs li.current-menu-parent.current-menu-parent a:hover{ + background-color: #D38809!important; + +} + +/* ========================================================== keep parent item highlighted on if on level 3 ===============================*/ + +#masthead.site-header #nav-wrapper #tabs-top-wrapper ul.nav.nav-tabs li.current-menu-ancestor.current-menu-ancestor a{ + padding: 16px 15px!important; + background-color: #D38809!important; + padding-bottom: 14px!important; +} +#masthead.site-header #nav-wrapper #tabs-top-wrapper ul.nav.nav-tabs li.current-menu-ancestor.current-menu-ancestor a:hover{ + background-color: #D38809!important; + +} + +/* ========================================================== level 2 active state ===============================*/ +#masthead #nav-wrapper #nav-tabs #tabs-bottom .navbar li.current-menu-item a { + background-color:transparent; + color:#2E2E2E!important; + font-weight: bold; + margin-top: 1px; +} + +#masthead #nav-wrapper #nav-tabs #tabs-bottom .navbar { + border-left: none!important; + background-color: #D38809!important; + margin:0px!important; +} + +#tabs-bottom-wrapper{ +background-color: #D38809!important; + margin: 0px!important; +} + +#tabs-bottom-wrapper ul.nav.navbar-nav li a{ + color:white!important + +} + + +#tabs-bottom-wrapper ul.nav.navbar-nav li a:hover{ + color: #2d2d2d!important; + text-decoration:none!important + +} + +#tabs-bottom-wrapper #tabs-bottom .nav.navbar-nav > li:nth-of-type(1) a{ + padding-left:0px!important; +} + +#tabs-bottom-wrapper #tabs-bottom .nav.navbar-nav ul + li:nth-child(2) a{ + padding-left:0px!important; +} + + +/* ============================================================== dropdown menu styles ========================================= */ +#tabs-bottom-wrapper ul.nav.navbar-nav .dropdown-menu { + background-color: #D38809!important; +} + +#masthead #nav-wrapper #nav-tabs #tabs-bottom .navbar .dropdown-menu li a:hover { + background-color: #c37f0a!important; +} + +#tabs-bottom-wrapper #tabs-bottom .nav.navbar-nav .dropdown-menu li:nth-child(1) a { + padding-left: 20px!important +} + +/* ============================================================== HOME IMAGE ========================================= */ +.metaslider h1 { + color: white; + margin-top: 5px; + margin-bottom: 3px; +} + +.home .entry-content { + margin-top:-2px!important +} + + + +.home #content .panel-grid .widget .metaslider .caption .meta-image-text a.meta-image-more { + color:#F0AD4E!important; + text-decoration:none!important; +} + +.home #content .panel-grid .widget .metaslider .caption .meta-image-text a:hover.meta-image-more { + color: #cd9547!important; + text-decoration:underline!important; +} + + +/* ====================================================== Meta-Slider ==============================================*/ +.meta-image-title{ + color:#fff; + margin-top: 10px!important; + margin-bottom: 5px!important; + font-size: 22px; + font-family: 'pn-semi-bold', helvetica, arial, sans-serif; +} +.meta-image-text { + color:#fff; + margin-bottom:12px; + margin-top: 5px!important; +} +.meta-image-more{ + color:#F0AD4E; +} + +/* ======================================================== Meta-Slider caption ========================================= */ + +.metaslider .flexslider { + margin-bottom:-12px!important; +} + +.metaslider .caption{ + width:1162px; + margin-left:auto; + margin-right:auto +} + +.metaslider .caption-wrap { + opacity: 1.0!important; + background: rgba(0, 0, 0, .8)!important; +} +@media (max-width: 767px) { + .metaslider .caption-wrap { + background-color:rgba(42, 42, 42, 1.0)!important; + } +} + + +@media screen and (max-width: 1199px) and (min-width: 990px){ + .metaslider .caption{ + width:970px; + } + +} + +@media(max-width: 991px){ + .metaslider .caption{ + width:746px; + } + +} + +@media screen and (max-width: 989px) and (min-width: 780px){ + .metaslider .caption{ + width:750px; + } + +} + +@media screen and (max-width: 779px){ + .metaslider .caption{ + width:655px; + } + +} + +@media (max-width: 767px) { + .metaslider .caption-wrap { + position:relative!important; + } + +} + +@media (max-width: 767px) { + .metaslider .caption-wrap .caption{ + background-color:rgba(42, 42, 42, 1.0)!important; + padding: 5px 15px 15px 0!important; + margin-left: 15px; + } + +} + +@media (max-width: 634px) { + .metaslider .caption-wrap .caption{ + width:100%; + } + +} + + +/* ================================================================== HOME GRID NAV =======================================*/ + +.home #content .panel-grid .panel-grid-cell:nth-child(1) .widget{ + margin-bottom:12px!important; +} + +.home #content .panel-grid .panel-grid-cell:nth-child(5) .widget.widget_black-studio-tinymce:nth-child(1){ + margin-bottom:12px!important; +} + +.home #content .panel-grid .panel-grid-cell:nth-child(5) .widget.widget_black-studio-tinymce:nth-child(2){ + margin-bottom:0px!important; +} + + +.grid-nav { +position:relative!important; +} + +.home .grid-nav h3 a{ + position:absolute!important; + text-align:center; + background-color: rgba(0,0,0,.7)!important;; + width:100%; + bottom:0!important; + color:#F0AD4E!important; + padding: 10px; + text-decoration: none!important; + font-size: 17px; +} +.page #page-blank .grid-nav h3 a{ + position:absolute!important; + text-align:center; + background-color: rgba(0,0,0,.7)!important;; + width:100%; + bottom:0!important; + color:#F0AD4E!important; + padding: 10px; + text-decoration: none!important; + font-size: 17px; +} + +.home .grid-nav h3 { +margin-top:0px!important; +margin-bottom:0px!important; +} +.page #page-blank .grid-nav h3 { +margin-top:0px!important; +margin-bottom:0px!important; +} + +#content .panel-grid .panel-grid-cell .widget.widget_widget_sp_image { + background-color:#000; +} +.widget.widget_widget_sp_image .grid-nav.panel-widget-style:hover { + opacity: .7; +} + +body.home.page-template-page-blank .grid-nav h3.widget-title { + margin-bottom:0px!important; +} + +.btn-img { + position:relative!important; + width:100%; + overflow:hidden; +} + +.btn-img img{ + margin-bottom: 13px; + width:100%; +} + + +.home .btn-img h3{ + position:absolute!important; + text-align:center; + background-color: #2E2E2E!important;; + width:100%; + bottom:0!important; + color:#fff!important; + padding: 10px; + +} + +.btn-img h3 { + position: absolute!important; + text-align: center; + background-color: #2E2E2E!important; + width: 100%; + bottom: 0!important; + color: #fff!important; + padding: 10px; + margin-bottom: 0px!important; +} +.page-template-page-blank .btn-img h3.widget-title { + margin-bottom: 0px!important; +} + +.btn.btn-primary { + background-color: #53b8fd!important; + border-color: #43b3ff!important; +} + +.btn.btn-primary:hover { + background-color: #4b9ce2!important; + border-color: #4b9ce2!important; +} + +body.home.page-template-page-blank .btn-img h3.widget-title { + margin-bottom:0px!important; +} + +body.home.page-template-page-blank .btn-img h3{ + margin-bottom:0px!important; +} +.home .btn-img .textwidget .commencement-h3 { + padding-bottom: 30px!important; + font-weight: bold; + text-align: left; + padding-left: 47px!important; +} + +.home .btn-img .textwidget .information-h3 { +background-color: rgba(0,0,0,.0)!important; +padding-left: 81px!important; +} + +#page #content .widget .btn:hover,#page #content .widget .btn:focus { +color:#fff!important; +text-decoration:none!important +} + +@media (max-width: 767px) { +#page #page-blank .entry-content img { + width:100%!important; +} +} +/* +.home .page #page-blank .entry-content .panel-grid:nth-child(2) .panel-grid-cell:nth-child(5) .widget { + margin-bottom: 15px!important; +} + +.page.page-id-58716 #content #page-blank .col-sm-12 .panel-grid .panel-grid-cell:nth-child(2) .widget { + margin-bottom: 10px!important; +} +*/ +/* ==================================================================== BY THE NUMBERS ==================================== */ +.home-line { + border-top: 1px solid #cccccc; + margin:20px 0px 0px!important; +} + +.the-numbers { + text-align: center; + margin-top: 8px; + color:#53b8fe; + text-transform: uppercase; +} + +.numbers { + color:#F0AD4E; + text-align: center; + font-size: 40px!important; +} +.number-text { + text-align: center; + +} + +/* ================================================================= WHATS GOING ON? ===================================== */ +.going-on-icons { + font-size: 50px; + color:#53b8fe; +} +.going-on-icons-cut { + width: 50px; + display: block; + margin-left:auto; + margin-right:auto; + left:0; + right:0; +} + +.going-on-title { + color:#F0AD4E; + margin-bottom:0px!important; + text-align:center; +} + +h5.going-on-title { + margin-top:20px; +} + +.going-on-text { + color:#F0AD4E; + margin-top:0px!important; + text-align:center; +} + +.whats-going-on { + text-align: center!important; +} + +.going-on-hit { + display:inline-block; +} + +.home #content .panel-grid .widget .whats-going-on.panel-widget-style .textwidget a:hover.going-on-hit { + color: #cd9547!important; +} + +.home #content .panel-grid .widget .textwidget a:hover.going-on-hit { + color: #cd9547!important; +} + +/* ======================================================= MEET STUDENTS/SCHOLAR'S LIFE =============================== */ +.meet-scholars { + color: #53B8FE; + margin-top: 0px; + font-weight: bold; +} + +.home a.link-color { + color:#c58223!important; + text-decoration:none!important; +} + +.home a.link-color:hover { +color:#cd9547;!important; + text-decoration:underline!important; +} + +.home ul#menu-grad-main-top-nav.nav.navbar-nav li a{ + color:#fff!important; +} + +.home ul#menu-grad-main-top-nav.nav.navbar-nav li a:hover{ + color:#000!important; +} + +/* ========================================================== FOOTER ==============================================*/ +hr.upcoming-events-footer-hr { + margin-top:0px; + margin-bottom:10px; + border-top: 1px solid #6b6b6b!important; +} + +p.upcoming-events-footer{ + text-align:center; + +} + +#footers li#uc_events_calendar_widget-2 { + margin-bottom:0px; +} + + + +.hentry { + margin:0px!important; +} + +#footers { + background-color: #212121!important; +} + +#footer { + background-color: #F0AD4E!important; +} + +#mega-footer li { + list-style-type: none; +} + +#mega-footer h2 { + color: #FFF; +} + +#mega-footer .col-sm-4 h2{ + text-align: center!important; +} + +ul#uc-footer-links li a { + color:#fff!important; +} + +ul#uc-footer-links { + margin-top: 10px!important; +} +/* ================================================== FOOTER CONTACT ================================================= */ + +#mega-footer .all-contact-info .clearfix { + position:relative; +} + +.contact-icons { + font-size: 20px; + color: #53b8fe; + padding-right:10px; + padding-top:0; + position: absolute; + left:-7px; +} + +.contact-text { + padding-bottom:0px!important; + margin-bottom:0px!important; + padding-left: 30px; +} + +.glyphicons.glyphicons-clock.contact-icons { + left:-14px; +} + +.glyphicons.glyphicons-iphone.contact-icons { + left:-14px; +} + +.contact-hr{ + left:0; + border-top: 1px solid #6b6b6b!important; + margin-top: 15px!important; + margin-bottom: 15px!important; + margin-left: 30px!important; +} + +/* ====================================================== SOCIAL ================================================ */ + +#mega-footer #simple-social-icons-2 { + margin-bottom:0px +} + +#mega-footer .widget.simple-social-icons ul{ + margin-bottom:0px!important; +} + +/* ====================================================== FOOTER MAP ============================================*/ +li#text-4.widget.widget_text { + margin-bottom:0px +} + +li#text-4.widget.widget_text .textwidget{ + margin-bottom:0px +} + +li#text-4.widget.widget_text .textwidget h2{ + margin-bottom:0px +} + +li#text-2.widget.widget_text { +width: 80%; + height: 250px!important; + margin-left: auto; + margin-right: auto; +} + +/* ====================================================== FOOTER CALENDAR ====================================== */ + +li#text-5.widget.widget_text { + margin-bottom:0px +} + +li#text-5.widget.widget_text .textwidget{ + margin-bottom:0px +} + +li#text-5.widget.widget_text .textwidget h2{ + margin-bottom:0px +} + +#mega-footer .widget .uc-cal .uc-cal-item .uc-cal-event:hover { + color: #999999 !important; +} + +#mega-footer .widget .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event:hover .uc-cal-event-time { +color: #aaaaaa!important; +} + +#mega-footer .widget .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-time{ + color:#aaaaaa!important +} +#mega-footer .widget .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-time:hover{ + color:#aaaaaa!important +} + +#mega-footer .widget .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-title{ + color:#F0AD4E!important +} + +#mega-footer .widget .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-date .uc-cal-event-day { + background-color:#212121!important; + border-color: #53b8fe !important; + color: #53b8fe !important; +} + +#mega-footer .widget .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-date .uc-cal-event-month { + background-color:#212121!important; + border-color: #53b8fe !important; + color: #53b8fe !important; + +} + +#footers #mega-footer .widget.uc-ecw .uc-cal .uc-cal-event:hover .uc-cal-event-day { + border-color: #53b8fe !important; +} + +/* ========================================================== COURSE SUBJECTS ============================================ */ + +.page-template-page-course-subjects #main { + margin-bottom:30px; + padding-bottom:30px; +} + +.page-template-page-course-subjects ul.letter-list { + padding-left:0px !important; + list-style-type:none!important; +} + + .page-template-page-course-subjects ul.letter-list li { + float:left; + margin-right:2.6%; + } + + @media (max-width:1200px) { + .page-template-page-course-subjects ul.letter-list li { + margin-right:2.2%; + } + } + @media (max-width:991px) { + .page-template-page-course-subjects ul.letter-list li { + margin-right:3%; + margin-bottom:6px; + } + } + +.page-template-page-course-subjects #primary #main .page { + padding-bottom:0px; +} + +.page-template-page-course-subjects .alph-subj-list h2 { + border-bottom: 1px solid #ddd; + font-size: 32px; + font-weight: normal; + margin-bottom: 15px; + padding-bottom: 10px; +} + +.page-template-page-course-subjects ul.course-alpha-list { + padding-left:0px; + list-style-type:none; +} + + .page-template-page-course-subjects ul.course-alpha-list li { + margin-bottom:10px; + + } + +/* ======================================================== TAXONOMY SUBJECTS ============================================ */ + +.taxonomy-subjects-page h1.entry-title { + margin-top:10px !important; + margin-bottom:20px !important; +} + +.taxonomy-subjects-page ul.breadcrumbs { + border:none; + display: block; + list-style: outside none none; + margin-left: 0; + overflow: hidden; + padding: 0.5625rem 0.875rem; + padding-left:0px; + margin-bottom:0px; + margin-top:15px; +} + .taxonomy-subjects-page ul.breadcrumbs li { + float:left; + text-transform:uppercase; + font-size:11px; + } + + .taxonomy-subjects-page .breadcrumbs > *::before { + color: #aaaaaa; + content: "/"; + margin: 0 0.75rem; + position: relative; + top: 1px; + } + .taxonomy-subjects-page .breadcrumbs li:first-child::before { + display:none; + } + +.taxonomy-subjects-page #primary #main .post { + padding:0px; +} + .taxonomy-subjects-page #primary #main .post .post-header h3 { + margin-top:0px; + } + + .taxonomy-subjects-page #primary #main .post .btn { + padding:2px 10px; + font-size:12px; + } + +.taxonomy-subjects-page #primary #main { + margin-bottom:10px; +} + .taxonomy-subjects-page #primary #main .page { + padding-bottom:10px; + } + +/* ======================================================= SINGLE COURSES ================================================ */ + +.single-courses-page h1.entry-title { + margin-top:10px !important; + margin-bottom:20px !important; +} + +.single-courses-page ul.breadcrumbs { + border:none; + display: block; + list-style: outside none none; + margin-left: 0; + overflow: hidden; + padding: 0.5625rem 0.875rem; + padding-left:0px; + margin-bottom:0px; + margin-top:15px; +} + .single-courses-page ul.breadcrumbs li { + float:left; + text-transform:uppercase; + font-size:11px; + } + + .single-courses-page .breadcrumbs > *::before { + color: #aaaaaa; + content: "/"; + margin: 0 0.75rem; + position: relative; + top: 1px; + } + .single-courses-page .breadcrumbs li:first-child::before { + display:none; + } + +.single-courses-page #primary #main .post { + padding:0px; +} + .single-courses-page #primary #main .post .post-header h3 { + margin-top:0px; + } + +.single-courses-page .single-back { + margin-top:20px; + display:block; +} +.single-courses-page #primary #main { + margin-bottom:10px; +} + + .single-courses-page #primary #main .page { + padding-bottom:20px; + } + + + + +/* ================================================== Fix for mobile nav ===================================== */ + + +.navbar-collapse.collapse.in { + position: relative; + z-index: 9999 !important; +} + +.navbar-collapse.collapsing { + + position: relative; + z-index: 9999 !important; +} + +@media (max-width: 767px) { + #masthead { + min-height:56px; + box-shadow:none; + } + + #nav-wrapper { + background-color:#2A2A2A; + box-shadow:none; + } +} + +/* ================================================== landing pages ===================================== */ + +#page-blank .entry-content .inner-page-banner { + margin-top:-21px!important; +} + +.delete-margin-bottom .panel-grid-cell .widget { +margin-bottom:0px!important; +} + +hr.upcoming-events-page-hr { + margin-top:0px; + margin-bottom:10px; +} +p.upcoming-events-page{ + text-align:center; +} + +#page .all-events-page-cal { + border-top:none!important; +} + +#content .widget.uc-ecw .uc-cal .uc-cal-event-month { + text-decoration: none; +} + +.uc-iconcal .uc-cal-event { +padding:3px 5px 4px 57px; +} + +.inner-calendar .uc-iconcal .uc-cal-event-date { +width: 45px !important; +height: 45px !important; +} + +.uc-iconcal .uc-cal-item { + min-height: 48px; +} + +#content .widget.uc-ecw .uc-cal .uc-cal-event-day { + padding-top: 10px; +} +#page .so-panel.widget.widget_uc_events_calendar_widget { + margin-bottom:0px!important; +} + +#page .landing-sub-btn { + background-color: #337ab7!important; +} + +#page .landing-sub-btn:hover { + background-color: #2e6ca2!important; +} + +.grid-row .panel-grid-cell .widget_widget_sp_image{ + margin-bottom: 22px!important; +} + +.page .landing-page-image .widget_sp_image-description { + background-color: rgba(0,0,0,.7)!important; + font-size: 55px; + color: white; + margin-top: -145px; + position: absolute; + margin-left: auto; + margin-right: auto; + left: 0; + /* right: 0; */ + padding: 15px 30px 0 30px; + +} +/* +.page #page-blank .entry-content .panel-grid:nth-child(1) { + margin-bottom: 15px; +} + +.page #page-blank .entry-content .panel-grid:nth-child(3) .panel-grid-cell:nth-child(1) .widget { + margin-bottom: 15px!important; +} + +.page #page-blank .entry-content .panel-grid:nth-child(3) .panel-grid-cell:nth-child(5) .widget { + margin-bottom: 15px!important; +} +*/ +@media (max-width: 767px) { + .page .landing-page-image .widget_sp_image-description { + background-color:rgba(42, 42, 42, 1.0)!important; + } +} + + + + +@media (max-width: 767px) { + .page .landing-page-image .widget_sp_image-description { + position:relative!important; + } + +} + +@media (max-width: 767px) { + .page .landing-page-image .widget_sp_image-description{ + background-color:rgba(42, 42, 42, 1.0)!important; + margin-top: 0px; + + } + +} + +@media (max-width: 767px) { + .page .landing-page-image .widget_sp_image-description p{ + padding: 5px 15px 15px 0!important; + margin-left: -11px; + } + +} + +.page #page-blank .grid-nav h3 a { + font-size: 15px; +} +/* ================================================== grid nav spacing on all landing pages ===================================== */ +.grid-row .panel-grid-cell .so-panel{ + margin-bottom: 22px!important; + +} +/* +.grid-row .panel-grid-cell:last-child .so-panel:nth-child(2){ + margin-bottom: 0px!important; + +} +*/ +.grid-row .panel-grid-cell .so-panel .btn-img{ + margin-bottom: -11px!important; + +} + +.grid-row .panel-grid-cell .so-panel a.btn{ + +} + +.grid-row .panel-grid-cell .so-panel p:last-child{ + +} + +.grid-row .panel-grid-cell .so-panel p:last-child a.btn{ + +} + + +/* ================================================== admissions page ===================================== */ +/* +.page-id-58735 #page .container .entry-content { + + margin-top:0px!important; +} + +.page-id-58735 #masthead #nav-wrapper #nav-tabs { + padding-bottom:0px!important; +} + +.page-id-58735 #page .entry-content .panel-grid:nth-child(1) .panel-grid-cell:nth-child(1) .widget_sp_image img.attachment-full { + width: 100%!important; + } + +.page-id-58735 #page .entry-content .youtube { + height:350px!important; + margin-top:50px; +} +*/ +.page #page-blank .btn-img .textwidget .commencement-h3 { + padding-bottom: 30px!important; + font-weight: bold; + text-align: left; + padding-left: 47px; + margin-bottom: 0px; +} + +@media (max-width: 1200px) { + .page #page-blank .btn-img .textwidget .commencement-h3 { + padding-left: 35px; + } +} + +@media (max-width: 991px) { + .page #page-blank .btn-img .textwidget .commencement-h3 { + padding: 10px 0px 30px 0px!important; + text-align: center; + } +} +/* +.page-id-58735 #page .btn-img .textwidget .information-h3 { +background-color: rgba(0,0,0,.0)!important; +padding-left: 81px!important; + padding-bottom: 0px; +} + +@media (max-width: 1200px) { + .page-id-58735 #page .btn-img .textwidget .information-h3 { + padding-left: 56px!important; + } +} + + +@media (max-width: 991px) { + .page-id-58735 #page .btn-img .textwidget .information-h3 { + padding: 10px 0px 0px 0px!important; + text-align: center; + } +} +*/ +/* +.page #page-blank .entry-content .panel-grid:nth-child(2) .panel-grid-cell:nth-child(1) .widget { + margin-bottom: 15px!important; +} + +.page #page-blank .entry-content .panel-grid .widget { + margin: 0 0 1.5em 0; +} +*/ + +@media (max-width: 991px) { + .page #page-blank .entry-content .panel-grid .widget { + margin: 0 0 15px 0; + } +} + +.page #page-blank .entry-content h4.the-numbers-edition { + text-align: center; + margin-top: -6px!important; + color: #53b8fe; + font-size: 15px; +} +/* +.page #page-blank .entry-content .panel-grid:nth-child(3) { + margin-bottom: 0px; +} + + +.page-id-58735 #page .entry-content .panel-grid:nth-child(4) .panel-grid-cell:nth-child(1) .widget.widget_black-studio-tinymce { + margin-bottom: 0px; +} + +.page-id-58735 #page .entry-content .panel-grid:nth-child(4) .panel-grid-cell:nth-child(1) .widget.widget_black-studio-tinymce .textwidget h4{ + margin-top: 0px!important; +} + +.page-id-58735 #page .entry-content .panel-grid:nth-child(4) .panel-grid-cell .widget.widget_black-studio-tinymce .textwidget p.started-blurb{ + margin-bottom: 0px!important; +} +*/ +@media (max-width: 991px) { +.page #page-blank .entry-content .panel-grid:nth-child(2) .panel-grid-cell{ + padding-right: 15px; + padding-left: 0px; +} +} + +@media (max-width: 991px) { +.page #page-blank .grid-nav h3 a{ +font-size: 13px; +} +} + + + +/* ================================================== Degrees Sorting - 02/02/17 - BCD ===================================== */ +#page-sorting-programs .program-box { + margin-bottom:30px; +} + +#page-sorting-programs .img-wrap { + height:110px; + overflow:hidden; + background-color:rgba(0,0,0,0.1); +} + +#page-sorting-programs h2 { + font-family:'pn-light',helvetica,arial,sans-serif; + font-size:36px; + color:#F0AD4E; +} + +#page-sorting-programs .sorting-degrees { + border-bottom:2px solid #53b8fe; + margin-bottom:20px; +} + + #page-sorting-programs .sorting-degrees .col-md-2 { + padding-left:0; + } + + #page-sorting-programs .sorting-degrees ul { + list-style-type:none; + margin-top:30px; + } + + @media (max-width:991px) { + #page-sorting-programs .sorting-degrees ul { + margin-top:15px; + padding-left:0; + } + + + #page-sorting-programs .sorting-degrees .col-md-10 { + padding-left:0; + } + + #page-sorting-programs .sorting-degrees { + padding-bottom:11px; + } + } + +#page-sorting-programs .sorting-degrees ul li { + float:left; + width:20%; + margin-bottom:10px; +} + + @media (max-width:991px) { + #page-sorting-programs .sorting-degrees ul li { + width:auto; + margin-right:40px; + } + } + + @media (max-width:767px) { + #page-sorting-programs .sorting-degrees ul li { + width:33%; + margin-right:auto; + } + } + + @media (max-width:550px) { + #page-sorting-programs .sorting-degrees ul li { + width:50%; + margin-right:auto; + } + } + +#page-sorting-programs .sorting-degrees ul li input { + margin-right:5px +} + +#page-sorting-programs .sorting-areas-of-interest { + border-bottom:2px solid #53b8fe; + margin-bottom:20px; +} + +#page-sorting-programs .sorting-areas-of-interest .col-md-2 { + padding-left:0; +} + +#page-sorting-programs .sorting-areas-of-interest ul { + list-style-type:none; + margin-top:30px; +} + + @media (max-width:991px) { + #page-sorting-programs .sorting-areas-of-interest ul { + margin-top:15px; + padding-left:0; + } + + #page-sorting-programs .sorting-areas-of-interest .col-md-10 { + padding-left:0; + } + + #page-sorting-programs .sorting-areas-of-interest { + padding-bottom:11px; + } + } + +#page-sorting-programs .sorting-areas-of-interest ul li { + float:left; + width:20%; + margin-bottom:10px; +} + + @media (max-width:991px) { + #page-sorting-programs .sorting-areas-of-interest ul li { + width:auto; + margin-right:40px; + } + } + + @media (max-width:767px) { + #page-sorting-programs .sorting-areas-of-interest ul li { + width:33%; + margin-right:auto; + } + } + + @media (max-width:550px) { + #page-sorting-programs .sorting-areas-of-interest ul li { + width:50%; + margin-right:auto; + } + } + +#page-sorting-programs .sorting-areas-of-interest ul li input { + margin-right:5px +} + +#page-sorting-programs ul.program-grid { + list-style-type:none; + padding-left:0; + margin-left:-15px; + margin-right:-15px; +} + +#page-sorting-programs .program-name-wrap { + height:100px; + background-color:#999; + overflow:hidden; + padding:12px 15px 15px; +} + + #page-sorting-programs .program-name-wrap a { + color:#fff; + font-size:18px; + } + + #page-sorting-programs .program-name-wrap.color-agriculture { + background-color:#d68213; + } + + #page-sorting-programs .program-name-wrap.color-business { + background-color:#515b38; + } + + #page-sorting-programs .program-name-wrap.color-education { + background-color:#268E8B; + } + + #page-sorting-programs .program-name-wrap.color-engineering { + background-color:#FD631B; + } + + #page-sorting-programs .program-name-wrap.color-fine-arts { + background-color:#D65CB6; + } + + #page-sorting-programs .program-name-wrap.color-health { + background-color:#54B8FF; + } + + #page-sorting-programs .program-name-wrap.color-humanities { + background-color:#0000FF; + } + + #page-sorting-programs .program-name-wrap.color-natural-sciences { + background-color:#D82525; + } + + #page-sorting-programs .program-name-wrap.color-social-sciences { + background-color:#7419A5; + } + + +#page-sorting-programs .details-wrap { + height:100px; + background-color:#333; + color:#fff; + padding:12px 15px; + font-size:13px; + overflow:hidden; +} + + #page-sorting-programs .details-wrap.color-agriculture { + background-color:#B76F12; + } + + #page-sorting-programs .details-wrap.color-business { + background-color:#41492D; + } + + #page-sorting-programs .details-wrap.color-education { + background-color:#1D706D; + } + + #page-sorting-programs .details-wrap.color-engineering { + background-color:#CE531A; + } + + #page-sorting-programs .details-wrap.color-fine-arts { + background-color:#AD4892; + } + + #page-sorting-programs .details-wrap.color-health { + background-color:#4199D3; + } + + #page-sorting-programs .details.color-humanities { + background-color:#0000B7; + } + + #page-sorting-programs .details-wrap.color-natural-sciences { + background-color:#AA1E1E; + } + + #page-sorting-programs .details-wrap.color-social-sciences { + background-color:#57127C; + } + + + #page-sorting-programs .details-wrap ul.degrees { + list-style-type:none; + padding-left:0; + float:right; + } + + #page-sorting-programs .details-wrap p.degrees { + text-align:right; + margin-left:10px; + } + + @media (min-width:800px) and (max-width:991px) { + .program-container .col-sm-3 { + width:33%; + float:left; + } + } + + @media (min-width:620px) and (max-width:799px) { + .program-container .col-sm-3 { + width:50%; + float:left; + } + } + +.post-type-archive-programs #content .modal { + position:fixed; +} + +.post-type-archive-programs .modal-header .close { + margin-top:-20px; +} + +/* ================================================== CountDown Widget styles ===================================== */ + + +.page #content .panel-grid .widget.widget_count_down_widget { + margin-top: -18px; +} + +.home #content .panel-grid .widget.widget_count_down_widget { + margin-top: 2px; +} + +.countdown-date { + display:none; +} + +.page #content .panel-grid .widget.widget_count_down_widget { + background-color: #2e2e2e; + border: 1px solid #2e2e2e; +} + +.widget.widget_count_down_widget.ending-soon { + background-color: #a94442!important; + border: 1px solid #7d2d2c!important; +} + +.page #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil { + color:white; +} + +.page #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-days-wrap .countdown-days { + color:white; +} + +.page .widget.widget_count_down_widget { + + padding: 8px 18px!important; +} + +.widget.widget_count_down_widget .countdown-top .countdown-days-wrap { + padding-top: 2px; + font-size: 26px!important; +} + +.widget.widget_count_down_widget .countdown-top .countdown-days-wrap .countdown-days { + font-size: 40px!important; +} + +.widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap { + margin-left: 60px!important; + margin-top: 5px!important; +} + +.widget.widget_count_down_widget .countdown-bottom { + margin-top: -26px!important; + margin-left: 60px!important; + +} +@media (min-width:991px) and (max-width:1200px){ + .widget.widget_count_down_widget .countdown-bottom { + margin-top: -16px!important; + margin-left: auto!important; + } + .page #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil { + line-height: normal; +} +.widget.widget_count_down_widget .countdown-top .countdown-days-wrap { + padding-top: 0px; +} +} + + + +.widget.widget_count_down_widget .countdown-bottom .countdown-endson { + color: #fff; + font-size: 21px; + font-weight: 700; + margin-top: 21px!important; +} + + +@media (min-width:767px) and (max-width:991px){ +.widget.widget_count_down_widget .countdown-bottom .countdown-endson { + font-size: 19px!important; + line-height: 2; +} +.widget.widget_count_down_widget .countdown-bottom { + margin-top: -16px!important; + margin-left: auto!important; + } +.home #content .panel-grid .widget.widget_count_down_widget .countdown-top .countdown-daysuntil-wrap .countdown-daysuntil { + font-size: 13px!important; +} + +.widget.widget_count_down_widget .countdown-top .countdown-days-wrap { + padding-top: 0px; +} +} +/*============Emily Styles=====================*/ +#page #content .widget .btn:hover,#page #content .widget .btn:focus { +color:#fff!important; +text-decoration:none!important +} + +.inner-page-header-wrapper { + float: left; + position: absolute; + left: 0; + top: -22px; + padding-left: 15px; +} + +@media (max-width:991px){ +.inner-page-header-wrapper { + padding-left: 4px; +} +} + +@media (max-width:577px){ +.inner-page-header-wrapper { + top: -67px; +} +} + + + +.inner-page-header { +background-color:rgba(0,0,0,.7)!important; +font-size:55px; +color:#fff; +margin-top:300px; +padding:15px 30px; +display:inline-block + +} + +.inner-page-banner { +min-height:383px!important; +margin-bottom:22px!important +} + +/*============Navigation Grid=====================*/ +.postdocs-menu .panel-grid-cell .so-panel { +margin-bottom:10px!important +} + +.postdocs-menu .panel-grid-cell:nth-child(5) .so-panel { +margin-bottom:0px!important +} + +.postdocs-menu .panel-grid-cell .widget.widget_widget_sp_image { +margin-bottom:20px!important +} + +/*============Inner Page Styles=====================*/ +.inner-header { +text-align:center!important; +border-bottom:none!important +} + +.inner-blurb h1 { +border-bottom:2px solid #54B8FF!important; +font-size:26px!important +} + +.home-line { +margin-top:20px!important +} + +.page #page-blank .grid-nav h3 a { +min-height:52px; +display:flex; +align-items:center; +justify-content:center +} + +.main-content-row { +padding-top:50px!important; +padding-bottom:50px!important +} + +.by-the-numbers { +margin-top:40px +} + +widget_count_down_widget { +background-color:#2e2e2e!important; +border:#2e2e2e!important +} + +/*============Faculty Page=====================*/ +.faculty-numbers .the-numbers { +padding-top:0!important; +margin-top:0!important +} + +#faculty-banner .widget_sp_image img.attachment-full { +width:100%!important +} + +.faculty-header { +border-bottom:0!important +} + +/*======================Calendar=======================*/ +.inner-calendar { +background-color:#fff; +min-height:327px!important; +border:1px solid #d6d6d6; +border-bottom: none; +} + +.inner-calendar h3 { +text-align:center; +color:#F0AD4E; +font-weight:700; +padding:10px; +border-bottom:2px solid #54B8FF; +margin-bottom:0!important; +margin-left:20px; +margin-right:20px +} + +.inner-calendar .uc-iconcal .uc-cal-event-date { +width:40px!important; +left:0!important; +background-color:#212121!important; +height:40px!important; +margin-right:-55px!important; +border:none!important +} + +#content .widget.uc-ecw .uc-cal .uc-cal-list a.uc-cal-event .uc-cal-event-date .uc-cal-event-day { +color:#53b8fe!important +} + +.inner-calendar .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-date .uc-cal-event-month { +border-color:#53b8fe!important; +color:#53b8fe!important; +background-color:#212121!important +} + +.inner-calendar .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-date .uc-cal-event-day { +border-color:#53b8fe!important; +color:#53b8fe!important; +font-size:23px!important +} + +.inner-calendar .uc-cal.uc-iconcal .uc-cal-list .uc-cal-item .uc-cal-event .uc-cal-event-title { +color:#F0AD4E!important; +font-weight:700 +} + +.inner-calendar .uc-iconcal .uc-cal-event-date { +-webkit-box-shadow:none!important; +box-shadow:none!important +} + +/*======================Inner Info Widget=======================*/ +.inner-info-widget .textwidget { +position:absolute!important; +width:23% +} + +.inner-info-caption { +margin-top:141px!important; +color:#F0AD4E!important!important; +background:rgba(0,0,0,.7)!important; +padding:5px!important +} + +.inner-info-top { +text-align:left!important; +color:#fff!important; +text-align:left; +padding-top:5px; +padding-left:10px; +margin-top:0!important; +margin-bottom:0!important; +font-weight:700 +} + +.inner-info-bottom { +color:#fff!important; +text-align:center; +padding-right:10px; +margin-top:0!important; +margin-bottom:0!important +} + +/*======================Post Doc Page=======================*/ +.postdocs-meet h2 { +color:#53b8fe; +font-size:26px!important +} + + + diff --git a/template-class.php b/template-class.php new file mode 100644 index 0000000..2953bc1 --- /dev/null +++ b/template-class.php @@ -0,0 +1,221 @@ +templates = array(); + $this->plugin_locale = 'pte'; + + // Grab the translations for the plugin + add_action( 'init', array( $this, 'load_plugin_textdomain' ) ); + + // Add a filter to the page attributes metabox to inject our template into the page template cache. + add_filter('page_attributes_dropdown_pages_args', array( $this, 'register_project_templates' ) ); + + // Add a filter to the save post in order to inject out template into the page cache + add_filter('wp_insert_post_data', array( $this, 'register_project_templates' ) ); + + // Add a filter to the template include in order to determine if the page has our template assigned and return it's path + add_filter('template_include', array( $this, 'view_project_template') ); + + // Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively. + register_deactivation_hook( __FILE__, array( $this, 'deactivate' ) ); + + // Add your templates to this array. + $this->templates = array( + 'page-sample.php' => __( 'Sample', $this->plugin_slug ), + 'page-grid-stories.php' => __( 'Page - Grid Stories', $this->plugin_slug ), + //'page-sample3.php' => __( 'Sample3', $this->plugin_slug ), + ); + + // adding support for theme templates to be merged and shown in dropdown + $templates = wp_get_theme()->get_page_templates(); + $templates = array_merge( $templates, $this->templates ); + + } // end constructor + + /** + * Load the plugin text domain for translation. + * + * @since 1.0.0 + */ + public function load_plugin_textdomain() { + + $domain = $this->plugin_slug; + $locale = apply_filters( 'plugin_locale', get_locale(), $domain ); + + load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '/' . $domain . '-' . $locale . '.mo' ); + load_plugin_textdomain( $domain, FALSE, basename( dirname( __FILE__ ) ) . '/languages/' ); + + } // end load_plugin_textdomain + + /** + * Adds our template to the pages cache in order to trick WordPress + * into thinking the template file exists where it doens't really exist. + * + * @param array $atts The attributes for the page attributes dropdown + * @return array $atts The attributes for the page attributes dropdown + * @verison 1.0.0 + * @since 1.0.0 + */ + public function register_project_templates( $atts ) { + + // Create the key used for the themes cache + $cache_key = 'page_templates-' . md5( get_theme_root() . '/' . get_stylesheet() ); + + // Retrieve the cache list. If it doesn't exist, or it's empty prepare an array + $templates = wp_cache_get( $cache_key, 'themes' ); + if ( empty( $templates ) ) { + $templates = array(); + } // end if + + // Since we've updated the cache, we need to delete the old cache + wp_cache_delete( $cache_key , 'themes'); + + // Now add our template to the list of templates by merging our templates + // with the existing templates array from the cache. + $templates = array_merge( $templates, $this->templates ); + + // Add the modified cache to allow WordPress to pick it up for listing + // available templates + wp_cache_add( $cache_key, $templates, 'themes', 1800 ); + + return $atts; + + } // end register_project_templates + + /** + * Checks if the template is assigned to the page + * + * @version 1.0.0 + * @since 1.0.0 + */ + public function view_project_template( $template ) { + + global $post; + + // If no posts found, return to + // avoid "Trying to get property of non-object" error + if ( !isset( $post ) ) return $template; + + if ( ! isset( $this->templates[ get_post_meta( $post->ID, '_wp_page_template', true ) ] ) ) { + return $template; + } // end if + + $file = plugin_dir_path( __FILE__ ) . 'templates/' . get_post_meta( $post->ID, '_wp_page_template', true ); + + // Just to be safe, we check if the file exist first + if( file_exists( $file ) ) { + return $file; + } // end if + + return $template; + + } // end view_project_template + + /*--------------------------------------------* + * deactivate the plugin + *---------------------------------------------*/ + static function deactivate( $network_wide ) { + foreach($this as $value) { + page-template-example::delete_template( $value ); + } + + } // end deactivate + + /*--------------------------------------------* + * Delete Templates from Theme + *---------------------------------------------*/ + public function delete_template( $filename ){ + $theme_path = get_template_directory(); + $template_path = $theme_path . '/' . $filename; + if( file_exists( $template_path ) ) { + unlink( $template_path ); + } + + // we should probably delete the old cache + wp_cache_delete( $cache_key , 'themes'); + } + + /** + * Retrieves and returns the slug of this plugin. This function should be called on an instance + * of the plugin outside of this class. + * + * @return string The plugin's slug used in the locale. + * @version 1.0.0 + * @since 1.0.0 + */ + public function get_locale() { + return $this->plugin_slug; + } // end get_locale + +} // end class diff --git a/templates/_notes/dwsync.xml b/templates/_notes/dwsync.xml new file mode 100644 index 0000000..a35ddb5 --- /dev/null +++ b/templates/_notes/dwsync.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/templates/footer.php b/templates/footer.php new file mode 100644 index 0000000..3d664ac --- /dev/null +++ b/templates/footer.php @@ -0,0 +1,47 @@ + + + + +
+ + +
+ + + + + diff --git a/templates/header.php b/templates/header.php new file mode 100644 index 0000000..5155f3f --- /dev/null +++ b/templates/header.php @@ -0,0 +1,86 @@ + section and everything up till
+ * + */ + +include get_template_directory().'/inc/vars.php'; + +?> + +> + + + + + +<?php wp_title( '|', true, 'right' ); ?> + + + + + +> + + + + + + +
+ + +
+
\ No newline at end of file diff --git a/templates/nav-drop-multi-walker.php b/templates/nav-drop-multi-walker.php new file mode 100644 index 0000000..6d807c5 --- /dev/null +++ b/templates/nav-drop-multi-walker.php @@ -0,0 +1,170 @@ +object_id); + if($parent !== false) $page = $parent; + else $page = $item->object_id; + $private = get_post_meta($page, 'uc-private', true); + if($private == 'admins' || $private == 'users' || $private == 'list'){ + return true; + } + else{ + return false; + } + } + /* Start of the
+ + + object_id == $page){ + $page_id = $item->ID; + } + if($item->menu_item_parent != 0 && $item->menu_item_parent == $page_id){ + $tabs = true; + break; + } + } + foreach($menu_items as $item){ + if($item->menu_item_parent == 0 && $item->current_item_ancestor){ + $tabs = true; + break; + } + } + //$tabs = true; + if($tabs){ + ?> +
+
+ +
+
+ +
+ + + + diff --git a/templates/nav.php b/templates/nav.php new file mode 100644 index 0000000..40d4c69 --- /dev/null +++ b/templates/nav.php @@ -0,0 +1,58 @@ + + \ No newline at end of file diff --git a/you-did-it!.rtf b/you-did-it!.rtf deleted file mode 100644 index 59b9c8e..0000000 --- a/you-did-it!.rtf +++ /dev/null @@ -1,8 +0,0 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf810 -{\fonttbl\f0\fswiss\fcharset0 Helvetica;} -{\colortbl;\red255\green255\blue255;} -{\*\expandedcolortbl;;} -\margl1440\margr1440\vieww10800\viewh8400\viewkind0 -\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 - -\f0\fs24 \cf0 You did it!} \ No newline at end of file