Skip to content

Commit 00fffe2

Browse files
authored
Merge pull request #1759 from pom2ter/oversized-icons
fix(frontend): reduce size of sidebar icons
2 parents 37d8f66 + a4dc379 commit 00fffe2

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

modules/developer/site.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.hmod_val, .omod_val, .hmod, .omod { color: #666; display: none; padding: 4px; padding-left: 60px; }
22
.config_map_page { color: #666; font-size: 110%; cursor: pointer; padding-top: 20px; padding-left: 40px; }
3-
.config_map { margin-left: 25px; min-width: 400px; }
3+
.config_map { margin: 0 0 25px 25px; min-width: 400px; }
44
.config_map th {border-bottom: solid 1px #eee; padding-left: 20px; display: none; padding-top: 10px; color: #666; font-size: 90%; text-align: left; }
55
.config_map th { padding-left: 60px; }
66
.config_map img { width: 16px; height: 16px; opacity: .6 }

modules/highlights/modules.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ protected function output() {
229229
$res .= '</table></div>';
230230

231231
$res .= '<div class="settings_subtitle mt-3 px-3"><b>'.$this->trans('Add a new rule').'</b></div>';
232-
$res .= '<div class="col-12 col-lg-5 mt-2 px-3">';
232+
$res .= '<div class="col-12 col-lg-5 mt-2 px-3 pb-3">';
233233
$res .= '<form method="POST">';
234234

235235
// Source Type
@@ -333,7 +333,7 @@ class Hm_Output_highlight_link extends Hm_Output_Module {
333333
protected function output() {
334334
$res = '<li class="menu_highlights"><a class="unread_link" href="?page=highlights">';
335335
if (!$this->get('hide_folder_icons')) {
336-
$res .= '<i class="bi bi-highlighter fs-5 me-2"></i>';
336+
$res .= '<i class="bi bi-highlighter me-2"></i>';
337337
}
338338
$res .= $this->trans('Highlights').'</a></li>';
339339
if ($this->format == 'HTML5') {

modules/imap/output_modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ protected function output() {
879879
foreach ($this->get('imap_folders', array()) as $id => $folder) {
880880
$res .= '<li class="imap_'.$id.'_"><a href="#" class="imap_folder_link" data-target="imap_'.$id.'_">';
881881
if (!$this->get('hide_folder_icons')) {
882-
$res .= '<i class="bi bi-folder fs-5 me-2"></i>';
882+
$res .= '<i class="bi bi-folder me-2"></i>';
883883
}
884884
$res .= $this->html_safe($folder).'</a></li>';
885885
}

modules/imap_folders/modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ protected function output() {
635635
$folder_name = $this->get('special_folder_names')['junk'] ?? $junk_folder;
636636
}
637637

638-
$res = '<div class="row m-0 px-3 mt-3">';
638+
$res = '<div class="row m-0 px-3 mt-3 pb-3">';
639639
$res .= '<div data-target=".junk_folder_dialog" class="settings_subtitle col-12 border-bottom px-0">
640640
<a href="#" class="pe-auto"><i class="bi bi-envelope-x-fill fs-5 me-2"></i>'.$this->trans('Junk Folder').':<span id="junk_val">'.$folder_name.'</span></a>
641641
</div>';

modules/nux/modules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ protected function output() {
582582
}
583583
$res = '<div class="nux_welcome mt-3 col-lg-6 col-md-5 col-sm-12"><div class="card"><div class="card-body"><div class="card-title"><h4>'.$this->trans('Welcome to Cypht').'</h4></div>';
584584
$res .= '<div class="mb-3"><p>'.$this->trans('Add a popular E-mail source quickly and easily').'</p>';
585-
$res .= '<a class="mt-3 btn btn-light" href="?page=servers#quick_add_section"><i class="bi bi-person-plus me-3"></i>'.$this->trans('Add an E-mail Account').'</a>';
585+
$res .= '<a class="mt-3 btn btn-light text-deocration-none" href="?page=servers#quick_add_section"><i class="bi bi-person-plus me-3"></i>'.$this->trans('Add an E-mail Account').'</a>';
586586
$res .= '</div>';
587587
return $res;
588588
}

modules/sievefilters/modules.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,12 +1144,12 @@ protected function output() {
11441144
}
11451145
$res = '<li class="menu_sieve_filters"><a class="unread_link" href="?page=sieve_filters">';
11461146
if (!$this->get('hide_folder_icons')) {
1147-
$res .= '<i class="bi bi-journal-bookmark-fill fs-5 me-2"></i>';
1147+
$res .= '<i class="bi bi-journal-bookmark-fill me-2"></i>';
11481148
}
11491149
$res .= $this->trans('Filters').'</a></li>';
11501150
$res .= '<li class="menu_block_list"><a class="unread_link" href="?page=block_list">';
11511151
if (!$this->get('hide_folder_icons')) {
1152-
$res .= '<i class="bi bi-x-circle-fill fs-5 me-2"></i>';
1152+
$res .= '<i class="bi bi-x-circle-fill me-2"></i>';
11531153
}
11541154
$res .= $this->trans('Block List').'</a></li>';
11551155
if ($this->format == 'HTML5') {

0 commit comments

Comments
 (0)