Просмотр исходного кода

Fix layout of firewall page due to font changes

Kristan Kenney 6 лет назад
Родитель
Сommit
2669a9d97b
2 измененных файлов с 4 добавлено и 3 удалено
  1. 2 1
      web/css/styles.min.css
  2. 2 2
      web/templates/admin/list_firewall.html

+ 2 - 1
web/css/styles.min.css

@@ -1114,9 +1114,10 @@ a {
 .l-stat__col-title {
 .l-stat__col-title {
   text-transform: uppercase;
   text-transform: uppercase;
   font-weight: 600;
   font-weight: 600;
-  color: #474747;
+  color: #5b5b5b;
   min-height: 21px;
   min-height: 21px;
 }
 }
+
 .l-stat__col--active .l-stat__col-title {
 .l-stat__col--active .l-stat__col-title {
   color: #cc3366;
   color: #cc3366;
   font-size: 24px;
   font-size: 24px;

+ 2 - 2
web/templates/admin/list_firewall.html

@@ -49,7 +49,7 @@
                       <input id="toggle-all" type="checkbox" name="toggle-all" value="toggle-all" onChange="checkedAll('objects');">
                       <input id="toggle-all" type="checkbox" name="toggle-all" value="toggle-all" onChange="checkedAll('objects');">
                   </div>
                   </div>
                   <div class="clearfix l-unit__stat-col--left wide-2"><b><?php print __('Action');?></b></div>
                   <div class="clearfix l-unit__stat-col--left wide-2"><b><?php print __('Action');?></b></div>
-                  <div class="clearfix l-unit__stat-col--left compact text-right"><b>&nbsp;</b></div>
+                  <div class="clearfix l-unit__stat-col--left compact-2 text-right"><b>&nbsp;</b></div>
                   <div class="clearfix l-unit__stat-col--left wide-1 text-center"><b><?php print __('Comment');?></b></div>   
                   <div class="clearfix l-unit__stat-col--left wide-1 text-center"><b><?php print __('Comment');?></b></div>   
                   <div class="clearfix l-unit__stat-col--left text-center"><b><?php print __('Protocol');?></b></div>
                   <div class="clearfix l-unit__stat-col--left text-center"><b><?php print __('Protocol');?></b></div>
                   <div class="clearfix l-unit__stat-col--left wide-3 text-center"><b><?php print __('Port');?></b></div>
                   <div class="clearfix l-unit__stat-col--left wide-3 text-center"><b><?php print __('Port');?></b></div>
@@ -96,7 +96,7 @@ sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-comment="<?=$data[$k
               </a></b>
               </a></b>
             </div>
             </div>
             <!-- START QUICK ACTION TOOLBAR AREA -->
             <!-- START QUICK ACTION TOOLBAR AREA -->
-            <div class="clearfix l-unit__stat-col--left compact text-right">
+            <div class="clearfix l-unit__stat-col--left compact-2 text-right">
               <div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
               <div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
                 <div class="actions-panel clearfix">
                 <div class="actions-panel clearfix">
                   <div class="actions-panel__col actions-panel__logs shortcut-enter" key-action="href"><a href="/edit/firewall/?rule=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=__('Editing Firewall Rule')?>"><i class="fas fa-pencil-alt status-icon orange status-icon dim"></i></a></div>
                   <div class="actions-panel__col actions-panel__logs shortcut-enter" key-action="href"><a href="/edit/firewall/?rule=<?=$key?>&token=<?=$_SESSION['token']?>" title="<?=__('Editing Firewall Rule')?>"><i class="fas fa-pencil-alt status-icon orange status-icon dim"></i></a></div>