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

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed issues
Admin Styles Changes
xs to md
Need to be changed to sm
  • Loading branch information
Jessika Mika Caldera authored and Jessika Mika Caldera committed Jul 8, 2014
1 parent 983c6da commit 1c92807
Show file tree
Hide file tree
Showing 8 changed files with 80 additions and 28 deletions.
92 changes: 72 additions & 20 deletions admin-style.css
@@ -1,12 +1,10 @@
#wpadminbar {
background-color:#000E2F;

}



/* Homepage Layout builder */

.sliderDeleteRow {
float:right;
}
Expand Down Expand Up @@ -35,45 +33,99 @@

.ui-slider-horizontal {
height: 3.5em!important;
background-color: #eeeeee!important;
background-image: linear-gradient(90deg, transparent 50%, rgba(255,255,255,.5) 50%)!important;
background-size: 25px 60px!important;

}
.ui-slider .ui-slider-handle {
width: .02em!important;
height: 3.9em!important;
padding:0!important;
border: 2px dotted #2ea2cc;

}
.ui-slider .ui-slider-handle:focus {
height: 3.7em!important;
border: 2px solid #2ea2cc!important;
}
.ui-slider .ui-slider-handle:before{
content: "";
display:block;
position: relative;
top: -23px;
left: -13px;
width: 20px;
height: 20px;
margin-left: 3px;
border-radius: 50% 50% 50% 0;
transform: rotate(45deg) ;
-webkit-transform: rotate(-45deg) ;
-moz-transform: rotate(-45deg) ;
-o-transform: rotate(-45deg) ;
-ms-transform: rotate(-45deg) ;
background: #2ea2cc;
content: "";
display:block;
position: relative;
top: -23px;
left: -13px;
width: 20px;
height: 20px;
margin-left: 3px;
border-radius: 3px;
background: grey;
}

.ui-slider .ui-slider-handle:after{
content:"";
display:block;
position: absolute;
left:-5px;
top:-9px;
width:10px;
height: 10px;
background: grey;
transform: rotate(45deg) ;
-webkit-transform: rotate(-45deg) ;
-moz-transform: rotate(-45deg) ;
-o-transform: rotate(-45deg) ;
-ms-transform: rotate(-45deg) ;
}
.ui-slider .ui-slider-handle:focus:before{
content: "";
display:block;
position: relative;
top: -23px;
left: -13px;
width: 20px;
height: 20px;
margin-left: 3px;
border-radius: 3px;
background: #2ea2cc;
}
.ui-slider .ui-slider-handle:focus:after{
content:"";
display:block;
position: absolute;
left:-5px;
top:-9px;
width:10px;
height: 10px;
background: #2ea2cc;
transform: rotate(45deg) ;
-webkit-transform: rotate(-45deg) ;
-moz-transform: rotate(-45deg) ;
-o-transform: rotate(-45deg) ;
-ms-transform: rotate(-45deg) ;
}
.ui-slider .ui-slider-handle:hover {
cursor:-webkit-grab;
}
.ui-slider .ui-slider-handle:active {
cursor:-webkit-grabbing;

}
.ui-slider .ui-slider-handle:focus {
background-image:none;
background:#2ea2cc!important;
width:2px;
width:3px;
}
.wp-core-ui .button.sliderDeleteColumn {
background: #2ea2cc;
border-color: #0074a2;
-webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15);
color: #fff;
}
}







4 changes: 2 additions & 2 deletions header.php
Expand Up @@ -45,7 +45,7 @@ $parentColor = get_theme_mod( 'parentColor');
<div class="container">
<?php if ($headerImg != ''){ echo '<div id="header-image-wrap"><img src="' . get_header_image() . '" height="' . get_custom_header()->height . '" width="' . get_custom_header()->width . '" id="header-image" alt="Decorative header image of '. get_bloginfo('name') .'" /></div> ';}?>
<div class="row">
<div class="col-xs-8">
<div class="col-md-8">
<div class="site-branding" id="uc-site-header">
<?php
if(strlen($secondary) > 0 && strlen($secondarylink) > 0){
Expand All @@ -58,7 +58,7 @@ $parentColor = get_theme_mod( 'parentColor');
<h1 id="uc-site-title" class="<?php echo $headingColor; ?>"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
</div>
</div>
<div class="col-xs-4 <?php
<div class="col-md-4 <?php
if(strlen($secondary) > 0 && strlen($secondarylink) > 0){
if(substr($secondarylink,0,4) != 'http'){
$secondarylink = 'http://'.$secondarylink;
Expand Down
2 changes: 1 addition & 1 deletion inc/customizer.php
Expand Up @@ -170,7 +170,7 @@ function huskypress_layoutoption_register( $wp_customize )
{

?>
<div class="button sliderAddRow" title="Add New Row">+ Row</div><div class="button sliderDeleteRow" title="Remove Last Row">– Row</div><div class="sliders"></div><div class="button sliderDeleteColumn disabled" title="Remove Column Divider">– []</div>
<div class="button sliderAddRow" title="Add New Row">+ Row</div><div class="button sliderDeleteRow" title="Remove Last Row">– Row</div><div class="sliders"></div><div class="button sliderDeleteColumn disabled" title="Remove Column Divider"><div class="dashicons dashicons-minus"></div></div>
<?php
}
}
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -14,7 +14,7 @@
get_header(); ?>

<div class="row">
<div class="col-xs-9">
<div class="col-md-9">
<div id="primary" class="content-area">

<main id="main" class="site-main" role="main">
Expand Down
2 changes: 1 addition & 1 deletion page-home.php
Expand Up @@ -21,7 +21,7 @@ get_header(); ?>
foreach($widths as $width){
if($width == 0) break;
?>
<div class="col-xs-<?php echo $width; ?>">
<div class="col-md-<?php echo $width; ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">

Expand Down
2 changes: 1 addition & 1 deletion page.php
Expand Up @@ -26,7 +26,7 @@ get_header(); ?>
}
?>
<div class="row">
<div class="col-xs-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
<div class="col-md-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">

Expand Down
2 changes: 1 addition & 1 deletion search.php
Expand Up @@ -7,7 +7,7 @@

get_header(); ?>
<div class="row">
<div class="col-xs-9">
<div class="col-md-9">
<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">

Expand Down
2 changes: 1 addition & 1 deletion single.php
Expand Up @@ -8,7 +8,7 @@
get_header(); ?>

<div class="row">
<div class="col-xs-9">
<div class="col-md-9">

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
Expand Down

0 comments on commit 1c92807

Please sign in to comment.