forked from weblab/cornerstone
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
11 changed files
with
316 additions
and
32 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 |
---|---|---|
@@ -0,0 +1,179 @@ | ||
/* - - - - - - - - - - - - - - - - - - - | ||
== Variables | ||
- - - - - - - - - - - - - - - - - - - */ | ||
/* | ||
$contentBg: #fff; | ||
$contentPadding: 1em; | ||
*/ | ||
/* == Nav */ | ||
/* | ||
$nav-secondary-border-color: #ccc !default; | ||
$nav-secondary-border-radius: $border-radius-base !default; | ||
$nav-secondary-padding: 5px !default; | ||
$nav-secondary-bg-color: #fff !default; | ||
$nav-secondary-font-size: .9em !default; | ||
$nav-secondary-link-padding: $nav-link-padding !default; | ||
$nav-secondary-link-border-radius: $border-radius-base !default; | ||
$nav-secondary-link-bg: transparent !default; | ||
$nav-secondary-link-hover-bg: $nav-link-hover-bg !default; | ||
$nav-secondary-link-color: #428bca !default; | ||
$nav-secondary-open-link-hover-color: $nav-open-link-hover-color !default; | ||
$nav-secondary-active-link-hover-bg: $component-active-bg !default; | ||
$nav-secondary-active-link-hover-color: $component-active-color !default; | ||
/* == Widgets */ | ||
/* | ||
$widget-border-color: #ccc !default; | ||
$widget-border-radius: $border-radius-base !default; | ||
$widget-border-width: 1px !default; | ||
$widget-margin: 0 0 1.5em 0 !default; | ||
$widget-padding: 0 !default; | ||
$widget-bg: #fff !default; | ||
$widget-content-margin: 1em; | ||
$widget-color: #000 !default; | ||
$widget-size: 1em !default; | ||
$widget-link-color: $link-color !default; | ||
$widget-link-hover: $link-hover-color !default; | ||
$widget-head-bg: $widget-bg !default; | ||
$widget-head-color: $widget-color !default; | ||
$widget-head-border-width: 0 0 1px 0 !default; | ||
$widget-head-border-color: $widget-border-color !default; | ||
$widget-head-padding: .5em .5em .5em 1em !default; | ||
$widget-head-size: $widget-size !default; | ||
/* Sepcific Widgets */ | ||
/* | ||
$footers-margin: 1.5em 0 0 0 !default; | ||
$footers-bg: #eee !default; | ||
$footers-color: #333 !default; | ||
$footers-link-color: $link-color !default; | ||
$footers-link-hover: $link-hover-color !default; | ||
$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; | ||
$uc-footer-link-hover: $footers-link-hover !default; | ||
$uc-footer-link-spacing: 1em !default;; | ||
@mixin uc-cal() { | ||
.uc-cal { | ||
padding:0; | ||
&.uc-iconcal { | ||
.uc-cal-list { | ||
margin:$widget-content-margin; | ||
a.uc-cal-event { | ||
font-family:$font-family-base; | ||
padding-left:65px; | ||
min-height:65px; | ||
.uc-cal-event-date { | ||
border:none; | ||
width:50px; | ||
left:0; | ||
box-shadow:none; | ||
background-color:#eee; | ||
.uc-cal-event-month { | ||
height:auto; | ||
padding:.4em .2em .3em .2em; | ||
font-size:.8em; | ||
background-color:$uc-ecw-month-bg; | ||
color:$uc-ecw-month-color; | ||
font-weight:normal; | ||
letter-spacing:0; | ||
text-transform:capitalize; | ||
} | ||
.uc-cal-event-day { | ||
padding:.5em .1em .6em; | ||
height:auto; | ||
background-color:$uc-ecw-day-bg; | ||
color:$uc-ecw-day-color; | ||
font-size:1.2em; | ||
} | ||
} | ||
.uc-cal-event-title { | ||
color:$uc-ecw-title-color ; | ||
font-size:1em; | ||
line-height:$line-height-base; | ||
margin-bottom:.3em; | ||
margin-top:.2em; | ||
} | ||
.uc-cal-event-time { | ||
color: $uc-ecw-time-color; | ||
font-size:1em; | ||
} | ||
&:hover { | ||
.uc-cal-event-title { | ||
color: $uc-ecw-title-hover; | ||
} | ||
.uc-cal-event-time { | ||
color: $uc-ecw-time-hover; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
&.uc-listcal { | ||
.uc-cal-list { | ||
margin:$widget-content-margin; | ||
a.uc-cal-event { | ||
font-family:$font-family-base; | ||
.uc-cal-event-date { | ||
display:block; | ||
font-weight:normal; | ||
color:#aaa; | ||
line-height:$line-height-base; | ||
} | ||
.uc-cal-event-title { | ||
display:block; | ||
color: $uc-ecw-title-color; | ||
line-height:$line-height-base; | ||
} | ||
.uc-cal-event-time { | ||
color: $uc-ecw-time-color; | ||
} | ||
&:hover { | ||
.uc-cal-event-title { | ||
color: $uc-ecw-title-hover; | ||
} | ||
.uc-cal-event-time { | ||
color: $uc-ecw-time-hover; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
/**/ |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
/** | ||
Template Name: User Table | ||
* This page template has no padding, and does not display the page title. | ||
* Useful for large images, iframes, or other edge cases. | ||
*/ | ||
|
||
get_header(); ?> | ||
<div id="page-blank"> | ||
<?php include('inc/sidebar-check.php')?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<?php include('inc/submenu-check.php')?> | ||
<div class="row"> | ||
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>"> | ||
<div id="primary" class="content-area"> | ||
<main id="main" class="site-main" role="main"> | ||
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?>> | ||
<header class="entry-header"> | ||
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> | ||
</header><!-- .entry-header --> | ||
<div class="entry-content"> | ||
<div class="user-index"> | ||
<?php $thing = get_the_ID(); $userTags = get_post_meta($thing, 'userTags', true); | ||
$userTags = str_replace(' ', '', $userTags); | ||
$userTags = explode(',',$userTags); | ||
$args = array( | ||
'tags' => $userTags, | ||
'name' => true, | ||
'image' => true, | ||
'title' => true, | ||
'phone1' => true, | ||
'phone2' => false, | ||
'email' => true, | ||
'fax' => false, | ||
'officeLocation' => false, | ||
'officeHours' => false, | ||
'mailingAddress' => false | ||
); | ||
echo table_list_all_public($args); | ||
?> | ||
</div> | ||
</div><!-- .entry-content --> | ||
<footer class="entry-footer"> | ||
<?php edit_post_link( __( 'Edit', 'cs' ), '<span class="edit-link">', '</span>' ); ?> | ||
</footer><!-- .entry-footer --> | ||
</article><!-- #post-## --> | ||
</main> | ||
</div> | ||
</div> | ||
<?php include('inc/sidebar-if-active.php')?> | ||
</div> | ||
<?php include('inc/submenu-closing-tags.php')?> | ||
<?php endwhile; // end of the loop. ?> | ||
</div> | ||
<?php get_footer(); ?> |
Oops, something went wrong.