Browse Source

* Style refactoring 1

Visman 6 years ago
parent
commit
fa64f98f6c

+ 2 - 2
app/Models/Pages/Admin/Statistics.php

@@ -30,8 +30,8 @@ class Statistics extends Admin
                     function($match) {
                         $result = \array_map(
                             function($val) {
-                                $val = \str_replace('body', '.f-phpinfo-div', $val, $count);
-                                return $count ? $val : '.f-phpinfo-div ' . $val;
+                                $val = \str_replace('body', '#id-phpinfo-div', $val, $count);
+                                return $count ? $val : '#id-phpinfo-div ' . $val;
                             },
                             \explode(',', $match[1])
                         );

+ 1 - 1
app/templates/admin/phpinfo.forkbb.php

@@ -1,7 +1,7 @@
 @extends ('layouts/admin')
       <section class="f-admin f-phpinfo">
         <h2>phpinfo()</h2>
-        <div class="f-phpinfo-div">
+        <div id="id-phpinfo-div">
           {!! $p->phpinfo !!}
         </div>
       </section>

+ 2 - 2
app/templates/layouts/debug.forkbb.php

@@ -1,6 +1,6 @@
-    <section class="f-debug">
+    <section id="fork-debug">
       <h2>{!! __('Debug table') !!}</h2>
-      <p class="f-debugtime">[ {!! __('Querytime', num($p->time, 3), $p->numQueries) !!} - {!! __('Memory usage', size($p->memory)) !!} {!! __('Peak usage', size($p->peak)) !!} ]</p>
+      <p id="id-fdebugtime">[ {!! __('Querytime', num($p->time, 3), $p->numQueries) !!} - {!! __('Memory usage', size($p->memory)) !!} {!! __('Peak usage', size($p->peak)) !!} ]</p>
 @if ($p->queries)
       <table>
         <thead>

+ 5 - 5
app/templates/layouts/install.forkbb.php

@@ -13,11 +13,11 @@
 @endforeach
 </head>
 <body>
-  <div class="f-wrap">
-    <header class="f-header">
-      <div class="f-title">
-        <h1>{!! __('ForkBB Installation') !!}</h1>
-        <p class="f-description">{!! __('Welcome') !!}</p>
+  <div id="fork">
+    <header id="fork-header">
+      <div id="id-fhtitle">
+        <<h1 id="id-fhth1">{!! __('ForkBB Installation') !!}</h1>
+        <p id="id-fhtdesc">{!! __('Welcome') !!}</p>
       </div>
     </header>
 @if ($iswev = $p->fIswev)

+ 10 - 10
app/templates/layouts/main.forkbb.php

@@ -13,16 +13,16 @@
 @endforeach
 </head>
 <body>
-  <div class="f-wrap">
-    <header class="f-header">
-      <div class="f-title">
-        <h1><a href="{!! $p->fRootLink !!}">{{ $p->fTitle }}</a></h1>
+  <div id="fork">
+    <header id="fork-header">
+      <div id="id-fhtitle">
+        <h1 id="id-fhth1"><a id="id-fhtha" href="{!! $p->fRootLink !!}">{{ $p->fTitle }}</a></h1>
 @if ($p->fDescription)
-        <p class="f-description">{!! $p->fDescription !!}</p>
+        <p id="id-fhtdesc">{!! $p->fDescription !!}</p>
 @endif
       </div>
 @if ($p->fNavigation)
-      <nav class="f-main-nav f-menu @if ($p->fNavigation['search']) f-main-nav-search @endif">
+      <nav id="fork-nav" class="f-menu @if ($p->fNavigation['search']) f-main-nav-search @endif">
         <input id="id-mn-checkbox" class="f-menu-checkbox" type="checkbox">
         <label id="id-mn-label" class="f-menu-toggle" for="id-mn-checkbox"></label>
         <ul class="f-menu-items">
@@ -49,19 +49,19 @@
 @endif
     </header>
 @if ($p->fAnnounce)
-    <section class="f-announce">
+    <section id="fork-announce">
       <h2>{!! __('Announcement') !!}</h2>
-      <p class="f-ancontent">{!! $p->fAnnounce !!}</p>
+      <p id="id-facontent">{!! $p->fAnnounce !!}</p>
     </section>
 @endif
 @if ($iswev = $p->fIswev)
     @include ('layouts/iswev')
 @endif
 @yield ('content')
-    <footer class="f-footer">
+    <footer id="fork-footer">
       <h2>{!! __('Board footer') !!}</h2>
       <div></div>
-      <div><p class="poweredby">{!! __('Powered by') !!}</p></div>
+      <div><p id="id-fpoweredby">{!! __('Powered by') !!}</p></div>
     </footer>
 <!-- debuginfo -->
   </div>

+ 1 - 1
app/templates/layouts/redirect.forkbb.php

@@ -14,7 +14,7 @@
 @endforeach
 </head>
 <body>
-  <div class="f-wrap">
+  <div id="fork">
     <section class="f-main f-redirect">
       <h2>{!! __('Redirecting') !!}</h2>
       <p>{!! $p->message !!}</p>

File diff suppressed because it is too large
+ 269 - 251
public/style/ForkBB/style.css


Some files were not shown because too many files changed in this diff