소스 검색

Style refactoring 5

Visman 6 년 전
부모
커밋
beff8e026f
5개의 변경된 파일11개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 0
      app/Models/Pages/Search.php
  2. 1 0
      app/Models/Pages/Userlist.php
  3. 1 1
      app/templates/ban.forkbb.php
  4. 3 3
      app/templates/layouts/stats.forkbb.php
  5. 5 1
      public/style/ForkBB/style.css

+ 1 - 0
app/Models/Pages/Search.php

@@ -255,6 +255,7 @@ class Search extends Page
                         'html'  => true,
                     ],
                     'keywords' => [
+                        'class'     => 'w0',
                         'type'      => 'text',
                         'maxlength' => 100,
                         'caption'   => \ForkBB\__('Keyword search'),

+ 1 - 0
app/Models/Pages/Userlist.php

@@ -147,6 +147,7 @@ class Userlist extends Page
 
         if ($this->user->searchUsers) {
             $fields['name'] = [
+                'class'     => 'w0',
                 'type'      => 'text',
                 'maxlength' => 25,
                 'value'     => $v->name ?: '*',

+ 1 - 1
app/templates/ban.forkbb.php

@@ -7,7 +7,7 @@
 @endif
 @if ($p->ban['message'])
       <p>{!! __('Ban message 3') !!}</p>
-      <p><strong>{{ $p->ban['message'] }}</strong></p>
+      <p><b>{{ $p->ban['message'] }}</b></p>
 @endif
       <p>{!! __('Ban message 4', $p->adminEmail, $p->adminEmail) !!}</p>
     </section>

+ 3 - 3
app/templates/layouts/stats.forkbb.php

@@ -3,9 +3,9 @@
 @if ($p->stats)
       <dl class="f-stboard">
         <dt>{!! __('Board stats') !!}</dt>
-        <dd>{!! __('No of users') !!} <strong>{!! num($p->stats->userTotal) !!}</strong></dd>
-        <dd>{!! __('No of topics') !!} <strong>{!! num($p->stats->topicTotal) !!}</strong></dd>
-        <dd>{!! __('No of posts') !!} <strong>{!! num($p->stats->postTotal) !!}</strong></dd>
+        <dd>{!! __('No of users') !!} <b>{!! num($p->stats->userTotal) !!}</b></dd>
+        <dd>{!! __('No of topics') !!} <b>{!! num($p->stats->topicTotal) !!}</b></dd>
+        <dd>{!! __('No of posts') !!} <b>{!! num($p->stats->postTotal) !!}</b></dd>
       </dl>
 @endif
       <dl class="f-stusers">

+ 5 - 1
public/style/ForkBB/style.css

@@ -154,7 +154,7 @@ body,
 }
 
 #fork dl {
-  width: 100%;
+/*  width: 100%; */
 }
 
 #fork textarea {
@@ -1692,6 +1692,10 @@ body,
     flex-wrap: wrap;
   }
 
+  #fork .f-field-w0 {
+    width: 100%;
+  }
+
   #fork .f-field-w1 {
     width: 30%;
   }