Skip to content

Commit

Permalink
Merge pull request #203 from isubit/development
Browse files Browse the repository at this point in the history
Create 1.2.2 Release
  • Loading branch information
angelamnr committed Mar 3, 2020
2 parents 5c6becd + 1fa9ab5 commit 5e95430
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 16 deletions.
13 changes: 9 additions & 4 deletions ckeditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,10 @@ a.link-button:hover {

figure.image {
display: table;
margin: 1rem;
margin: 0;
}

figure.image img {
max-width: 100%;
display: block;
margin: 0;
}
Expand All @@ -110,9 +109,15 @@ figure.image br {
display: none;
}

figure.image.floated-left { margin: 0.25rem 1rem 0.25rem 0; }
figure.image.floated-left,
.cke_widget_image[style*="float: left"] {
margin: 0.25rem 1rem 0.25rem 0;
}

figure.image.floated-right { margin: 0.25rem 0 0.25rem 1rem; }
figure.image.floated-right,
.cke_widget_image[style*="float: right"] {
margin: 0.25rem 0 0.25rem 1rem;
}

figure.image.floated-left img,
figure.image.floated-right img { margin: 0; }
Expand Down
12 changes: 12 additions & 0 deletions css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,16 @@ a.link-button:hover {
font-family: 'FontAwesome';
font-size: 0.75em;
display: inline-block;
width: 2rem;
margin-right: -2rem; /* Same as width. Helps prevent wrapping */
margin-left: 4px;
vertical-align: text-top;
}

#section-content a.external p {
display: inherit;
}

/* Exceptions */

#section-content .pane-menu-menu-social a.external:after,
Expand Down Expand Up @@ -801,6 +807,11 @@ input[type=submit].form-submit {
color: #f77737;
}

.block-menu-social .menu a:hover .fa-linkedin-square,
.pane-menu-menu-social .menu a:hover .fa-linkedin-square {
color: #2867B2;
}

/* -------------------- */
/* Image link blocks */

Expand Down Expand Up @@ -1556,6 +1567,7 @@ ul.tabs.secondary img {
}

.flexslider-numbered .flex-pauseplay {
display: inline-flex;
height: 2.5rem;
margin-top: -2.5rem;
left: 0;
Expand Down
15 changes: 9 additions & 6 deletions js/suitcase_responsive_tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,21 @@ structure and assign classes.
var bothHeader = $(table.has('tr:nth-of-type(1) th:nth-of-type(2)').has('tr:nth-of-type(2) th:nth-of-type(1)'));
bothHeader.attr('class', 'table-both');

/* --- All Responsive Tables --- */
table.addClass('responsive-table');

/* --- Colspan or Rowspan --- */
var tdColFreeze = $(table.has('td[colspan]'));
var thColFreeze = $(table.has('th[colspan]'));
var tdRowFreeze = $(table.has('td[rowspan]'));
var thRowFreeze = $(table.has('th[rowspan]'));
tdColFreeze.attr('class', 'table-freeze');
thColFreeze.attr('class', 'table-freeze');
tdRowFreeze.attr('class', 'table-freeze');
thRowFreeze.attr('class', 'table-freeze');
tdColFreeze.attr('class', 'table-freeze').removeClass('responsive-table');
thColFreeze.attr('class', 'table-freeze').removeClass('responsive-table');
tdRowFreeze.attr('class', 'table-freeze').removeClass('responsive-table');
thRowFreeze.attr('class', 'table-freeze').removeClass('responsive-table');



/* --- All Responsive Tables --- */
table.addClass('responsive-table');

/* ---------------------
Now apply any jQuery needed
Expand Down
4 changes: 2 additions & 2 deletions suitcase_interim.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ core = '7.x'
engine = 'phptemplate'
screenshot = 'screenshot.png'
base theme = 'omega'
version = '1.2.0'
version = '1.2.2'
plugins[panels][layouts] = panels/layouts
plugins[panels][styles] = panels/styles
regions[page_top] = 'Page Top'
Expand Down Expand Up @@ -53,7 +53,7 @@ settings[toggle_secondary_menu] = '1'
settings[default_logo] = '1'
settings[logo_path] = 'sites/all/themes/suitcase_interim/images/isu.svg'
settings[logo_upload] = ''
settings[suitcase_interim_config_isu_nameplate_alt_text] = 'Iowa State University'
settings[suitcase_interim_config_isu_nameplate_alt_text] = 'Iowa State University Logo'
settings[default_favicon] = '0'
settings[favicon_path] = 'sites/all/themes/suitcase_interim/images/favicon.ico'
settings[favicon_upload] = ''
Expand Down
3 changes: 2 additions & 1 deletion template.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ function suitcase_interim_menu_link__menu_social($variables) {
'github' => 'fa-github-square',
'rss' => 'fa-rss-square',
'snapchat' => 'fa-snapchat-square',
'flickr' => 'fa-flickr'
'flickr' => 'fa-flickr',
'linkedin' => 'fa-linkedin-square'
);

$font_awesome_icon = '';
Expand Down
2 changes: 1 addition & 1 deletion templates/region--branding.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<?php if ($show_isu_nameplate): ?>
<?php if (theme_get_setting('default_logo')): ?>
<a id="isu_header_wordmark" href="<?php print $level_1_url; ?>" title="Iowa State University Homepage"><img src="<?php print $wordmark_image; ?>" alt="<?php print $wordmark_alt_text; ?>"></a>
<a id="isu_header_wordmark" href="<?php print $level_1_url; ?>"><img src="<?php print $wordmark_image; ?>" alt="<?php print $wordmark_alt_text; ?>"></a>
<?php else: ?>
<a id="isu_header_wordmark" href="<?php print $level_1_url; ?>" title="<?php print $site_name; ?>"><img src="<?php print $wordmark_image; ?>" alt="<?php print $wordmark_alt_text; ?>"></a>
<?php endif; ?>
Expand Down
4 changes: 2 additions & 2 deletions theme-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ function suitcase_interim_form_system_theme_settings_alter(&$form, &$form_state)
$form['suitcase_interim_config']['suitcase_interim_config_logo']['settings']['suitcase_interim_config_isu_nameplate_alt_text'] = array(
'#type' => 'textfield',
'#title' => t('Wordmark Alt Text'),
'#description' => t('Alt text for the site\'s wordmark. Defaults to Iowa State University.'),
'#default_value' => variable_get('suitcase_interim_config_isu_nameplate_alt_text', 'Iowa State University'),
'#description' => t('Alt text for the site\'s wordmark. Defaults to Iowa State University Logo.'),
'#default_value' => variable_get('suitcase_interim_config_isu_nameplate_alt_text', 'Iowa State University Logo'),
'#weight' => 3,
);

Expand Down

0 comments on commit 5e95430

Please sign in to comment.