Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 8104840

Browse files
Merge pull request #73 from silinternational/develop
new links were not branded properly
2 parents e2689af + 5bcd9fb commit 8104840

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

themes/material/common-head-elements.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
$colors = htmlentities($this->configuration->getValue('theme.color-scheme') ?: 'indigo-purple');
3333
?>
3434
<link rel="stylesheet" href="material.<?= $colors ?>.1.2.1.min.css">
35-
<link rel="stylesheet" href="styles.2.3.4.css">
35+
<link rel="stylesheet" href="styles.2.3.5.css">
3636

3737
<script async src="material.1.2.1.min.js"></script>
3838

themes/material/core/loginuserpass.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ function onRecaptchaLoad() {
131131

132132
<section layout-children="row" child-spacing="space-around">
133133
<?php if (! empty($this->data['helpCenterUrl'])): ?>
134-
<a href="<?= $this->data['helpCenterUrl'] ?>" target="_blank">
135-
<?= $this->t('{material:login:help}') ?>
134+
<a href="<?= $this->data['helpCenterUrl'] ?>" target="_blank" class="mdl-button mdl-button--colored mdl-typography--body-2">
135+
<?= $this->t('{material:login:help}') ?> <i class="material-icons">launch</i>
136136
</a>
137137
<?php endif; ?>
138138

139139
<?php if (! empty($this->data['profileUrl'])): ?>
140-
<a href="<?= $this->data['profileUrl'] ?>" target="_blank">
141-
<?= $this->t('{material:login:profile}') ?>
140+
<a href="<?= $this->data['profileUrl'] ?>" target="_blank" class="mdl-button mdl-button--colored mdl-typography--body-2">
141+
<?= $this->t('{material:login:profile}') ?> <i class="material-icons">launch</i>
142142
</a>
143143
<?php endif; ?>
144144
</section>
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,17 @@ i.material-icons.mdl-typography--display-4 {
232232
font-size: 12px
233233
}
234234

235+
235236
/* special case where we want a button for all it's built-in characteristics,
236-
e.g., primary color, but also want to set the text apart a bit. */
237+
e.g., primary color, but also want to set the text apart a bit. */
237238
.mdl-button.mdl-typography--caption {
238239
text-transform: none;
239240
font-size: 12px
240241
}
242+
a.mdl-button.mdl-typography--body-2, a.mdl-button.mdl-typography--body-2 > i.material-icons {
243+
text-transform: none;
244+
font-size: 14px
245+
}
241246

242247
/* didn't feel like the padding was enough out of the box */
243248
.mdl-card__actions {

0 commit comments

Comments
 (0)