Skip to content
Permalink
Browse files

More general optimizations

  • Loading branch information
Thoulah committed Nov 2, 2019
1 parent 63c2bf4 commit 123abaad79acc738c52c18b7e32e9f7d2e422fce
@@ -6,4 +6,5 @@
/webroot/.htaccess
/webroot/php.ini
/.buildpath
/.composer.lock
/.php_cs.cache

Some generated files are not rendered by default. Learn more.

@@ -82,23 +82,26 @@ h1, h2, h3, h4, h5, h6, .breadcrumb, label {
}
}

&lyrics {
&-artists {
.list-group {
.list-group-item {
border: 0;
font-weight: $font-weight-bold;
}
&index,
&lyrics-albums {
.list-group {
.list-group-item {
border: 0;
}
}
}

&-albums {
&lyrics- {
&artists {
.list-group {
.list-group-item {
border: 0;
font-weight: $font-weight-bold;
}
}
}

&albums {
svg.text-muted {
color: $lighterBlue !important;
}
@@ -108,8 +111,8 @@ h1, h2, h3, h4, h5, h6, .breadcrumb, label {
}
}

&-albums,
&-lyrics {
&albums,
&lyrics {
.badge {
background-color: $lighterBlue;
color: $body-color;
@@ -193,6 +196,11 @@ form {
}
}

.ui-widget-header {
background: none;
border: 0;
}

#btn-scrolltop {
border-radius: 50%;
bottom: 0px;
@@ -44,6 +44,7 @@
'CAPTCHA' => 'CAPTCHA',
'Calculate' => 'Rechnen',
'Calculator' => 'Rechner',
'Calendar' => 'Kalender',
'Change Language' => 'Sprache ändern',
'Changelog' => 'Änderungshistorie',
'Code' => 'Code',
@@ -44,6 +44,7 @@
'CAPTCHA' => 'Капча',
'Calculate' => 'Рассчитать',
'Calculator' => 'Калькулятор',
'Calendar' => 'Календарь',
'Change Language' => 'Изменить язык',
'Changelog' => 'Изменения',
'Code' => 'Код',
@@ -38,7 +38,7 @@
}
$bar[] = Yii::$app->icon->name('clock')->class('mr-1 text-muted') . Html::tag('time', Yii::$app->formatter->asRelativeTime($comment->created), ['datetime' => date(DATE_W3C, $comment->created)]);
$bar[] = Yii::$app->icon->name('user')->class('mr-1 text-muted') . ($data->authorId === $comment->user ? Html::tag('span', $comment->name, ['class' => 'ml-1 badge badge-pill badge-secondary', 'title' => Yii::t('mr42', 'Article Author')]) : $comment->name);
$bar[] = Yii::$app->icon->name('user')->class('mr-1 text-muted') . ($data->authorId === $comment->user ? Html::tag('span', $comment->name, ['class' => 'ml-1 badge badge-secondary', 'title' => Yii::t('mr42', 'Article Author')]) : $comment->name);
if (!empty($comment->website)) {
$bar[] = Yii::$app->icon->name('globe')->class('mr-1 text-muted') . Html::a($comment->website, $comment->website);
}
@@ -67,7 +67,7 @@
}
$bar[] = Yii::$app->icon->name('clock')->class('mr-1 text-muted') . Html::tag('time', Yii::$app->formatter->asRelativeTime($reply->created), ['datetime' => date(DATE_W3C, $reply->created)]);
$bar[] = Yii::$app->icon->name('user')->class('mr-1 text-muted') . ($data->authorId === $reply->user ? Html::tag('span', $reply->name, ['class' => 'ml-1 badge badge-pill badge-secondary', 'title' => Yii::t('mr42', 'Article Author')]) : $reply->name);
$bar[] = Yii::$app->icon->name('user')->class('mr-1 text-muted') . ($data->authorId === $reply->user ? Html::tag('span', $reply->name, ['class' => 'ml-1 badge badge-secondary', 'title' => Yii::t('mr42', 'Article Author')]) : $reply->name);
if (!empty($reply->website)) {
$bar[] = Yii::$app->icon->name('globe')->class('mr-1 text-muted') . Html::a($reply->website, $reply->website);
}

0 comments on commit 123abaa

Please sign in to comment.
You can’t perform that action at this time.