-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from rbertolette/#130add_logo_link_bling
#130add_logo_link_bling
- Loading branch information
Showing
6 changed files
with
148 additions
and
8 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,92 @@ | ||
/** | ||
* Created on : May 24, 2016, 4:36:44 PM | ||
* Author : Reed Bertolette [email protected] | ||
* inspired & | ||
* thanks to : http://tympanus.net/codrops/2012/08/08/circle-hover-effects-with-css-transitions/ | ||
*/ | ||
|
||
.ch-grid { | ||
margin: 20px 0 0 0; | ||
padding: 0; | ||
list-style: none; | ||
display: block; | ||
text-align: center; | ||
width: 100%; | ||
} | ||
|
||
.ch-grid:after, | ||
.ch-item:before { | ||
content: ''; | ||
display: table; | ||
} | ||
|
||
.ch-grid:after { | ||
clear: both; | ||
} | ||
|
||
.ch-grid li { | ||
width: 150px; | ||
height: 150px; | ||
display: inline-block; | ||
margin: 20px; | ||
} | ||
|
||
.ch-item { | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 50%; | ||
overflow: hidden; | ||
position: relative; | ||
cursor: default; | ||
} | ||
|
||
.ch-img-1 { | ||
/* background-image added dynamically in custom.js */ | ||
background-color: transparent; | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
} | ||
|
||
.ch-info { | ||
position: absolute; | ||
background: rgba(63,147,147, 0.8); | ||
width: inherit; | ||
height: inherit; | ||
border-radius: 50%; | ||
overflow: hidden; | ||
opacity: 0; | ||
transition: all 0.4s ease-in-out; | ||
transform: scale(0); | ||
} | ||
|
||
.ch-info p { | ||
/* background-image added dynamically in custom.js */ | ||
background-color: transparent; | ||
background-repeat: no-repeat; | ||
background-position: center; | ||
display: block; | ||
color: rgba(255,255,255,0.7); | ||
font-style: normal; | ||
font-weight: 700; | ||
text-transform: uppercase; | ||
font-size: 9px; | ||
letter-spacing: 1px; | ||
padding-top: 4px; | ||
font-family: 'Titillium Web', Arial, sans-serif; | ||
width: 150px; | ||
height: 150px; | ||
text-indent: -9999px; | ||
cursor: pointer; | ||
padding-top: 10px; | ||
} | ||
|
||
.ch-item:hover { | ||
box-shadow: | ||
inset 0 0 0 1px rgba(255,255,255,0.1), | ||
0 1px 2px rgba(0,0,0,0.1); | ||
} | ||
|
||
.ch-item:hover .ch-info { | ||
transform: scale(1); | ||
opacity: 1; | ||
} |
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,18 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Theme setting callbacks for playbox_theme (sub-theme of kalatheme.) | ||
*/ | ||
|
||
/** | ||
* Implements hook_form_FORM_ID_alter(). | ||
*/ | ||
function playbox_theme_form_system_theme_settings_alter(&$form, $form_state) { | ||
$form['logo']['logo_white'] = array( | ||
'#type' => 'textfield', | ||
'#title' => t('Alternate logo'), | ||
'#default_value' => theme_get_setting('logo_white'), | ||
'#description' => t("Path to the version of the logo to be used for larger screens and logo_bling."), | ||
); | ||
} |