Skip to content

Commit

Permalink
Use alert-link class, change link color for default warning alert
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Jul 19, 2016
1 parent a0f1f5a commit b9c67db
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion administrator/language/en-GB/en-GB.com_joomlaupdate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ COM_JOOMLAUPDATE_VIEW_DEFAULT_UPDATES_INFO_CUSTOM="You are on the "%s"
COM_JOOMLAUPDATE_VIEW_DEFAULT_UPDATES_INFO_DEFAULT="You are on the "%s" update channel. Through this channel you'll receive notifications for all updates of the current Joomla release (3.x)"
COM_JOOMLAUPDATE_VIEW_DEFAULT_UPDATES_INFO_NEXT="You are on the "%s" update channel. Through this channel you'll receive notifications for all updates of the current Joomla release (3.x) and you will also be notified when the future major release (4.x) will be available. Before upgrading to 4.x you'll need to assess its compatibility with your environment."
COM_JOOMLAUPDATE_VIEW_DEFAULT_UPDATES_INFO_TESTING="You are on the &quot;%s&quot; update channel. This channel is designed for testing new releases and fixes in Joomla.<br />It is only intended for JBS (Joomla Bug Squad&trade;) members and others within the Joomla community who are testing. Do not use this setting on a production site."
COM_JOOMLAUPDATE_VIEW_DEFAULT_UPLOAD_INTRO="You can use this feature to update Joomla if your server is behind a firewall or otherwise unable to contact the update servers. First download the Joomla <em>Upgrade Package</em> in ZIP format from <a href=\"%s\">the official Joomla download page</a>. Then use the fields below to upload and install it."
COM_JOOMLAUPDATE_VIEW_DEFAULT_UPLOAD_INTRO="You can use this feature to update Joomla if your server is behind a firewall or otherwise unable to contact the update servers. First download the Joomla <em>Upgrade Package</em> in ZIP format from <a class=\"alert-link\" href=\"%s\">the official Joomla download page</a>. Then use the fields below to upload and install it."
COM_JOOMLAUPDATE_VIEW_PROGRESS="Update progress"
COM_JOOMLAUPDATE_VIEW_UPDATE_BYTESEXTRACTED="Bytes extracted"
COM_JOOMLAUPDATE_VIEW_UPDATE_BYTESREAD="Bytes read"
Expand Down
3 changes: 3 additions & 0 deletions administrator/templates/isis/css/template-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -6219,6 +6219,9 @@ th .tooltip-inner {
.alert-link {
font-weight: bold;
}
.alert .alert-link {
color: #66512c;
}
.alert-success .alert-link {
color: #2b542c;
}
Expand Down
3 changes: 3 additions & 0 deletions administrator/templates/isis/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -6219,6 +6219,9 @@ th .tooltip-inner {
.alert-link {
font-weight: bold;
}
.alert .alert-link {
color: #66512c;
}
.alert-success .alert-link {
color: #2b542c;
}
Expand Down
3 changes: 3 additions & 0 deletions media/jui/css/bootstrap-extended.css
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@ th .tooltip-inner {
.alert-link {
font-weight: bold;
}
.alert .alert-link {
color: #a47e3c;
}
.alert-success .alert-link {
color: #356635;
}
Expand Down
4 changes: 4 additions & 0 deletions media/jui/less/bootstrap-extended.less
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,10 @@ th .tooltip-inner {
font-weight: bold;
}

.alert .alert-link {
color: darken(@warningText, 10%);
}

.alert-success .alert-link {
color: darken(@successText, 10%);
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/system/stats/layouts/message.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<h2><?php echo JText::_('PLG_SYSTEM_STATS_LABEL_MESSAGE_TITLE'); ?></h2>
<p>
<?php echo JText::_('PLG_SYSTEM_STATS_MSG_JOOMLA_WANTS_TO_SEND_DATA'); ?>
<a href="#" class="js-pstats-btn-details"><?php echo JText::_('PLG_SYSTEM_STATS_MSG_WHAT_DATA_WILL_BE_SENT'); ?></a>
<a href="#" class="js-pstats-btn-details alert-link"><?php echo JText::_('PLG_SYSTEM_STATS_MSG_WHAT_DATA_WILL_BE_SENT'); ?></a>
</p>
<?php
echo $plugin->render('stats', compact('statsData'));
Expand Down
5 changes: 4 additions & 1 deletion templates/protostar/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -6208,6 +6208,9 @@ th .tooltip-inner {
.alert-link {
font-weight: bold;
}
.alert .alert-link {
color: #a47e3c;
}
.alert-success .alert-link {
color: #356635;
}
Expand Down Expand Up @@ -7414,7 +7417,7 @@ figcaption {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0076b2', GradientType=0);
}
.categories-list .collapse {
margin: 0 0 0 20px;
margin-left: 20px;
}
@media (max-width: 480px) {
.item-info > span {
Expand Down

0 comments on commit b9c67db

Please sign in to comment.