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

WIP: apply bootstrap theme

* clean code (remove p.stopper)
Yuki Takei 8 лет назад
Родитель
Сommit
b711fee074

+ 0 - 2
lib/views/not_found.html

@@ -7,8 +7,6 @@
 
   <div class="header-wrap">
     <header id="page-header">
-      <p class="stopper"><a href="#" data-affix-disable="#page-header"><i class="fa fa-chevron-up"></i></a></p>
-
       <div class="flex-title-line">
         <div>
           <h1 class="title flex-item-title" id="revision-path"></h1>

+ 0 - 2
lib/views/page.html

@@ -9,8 +9,6 @@
 
 <div class="header-wrap">
   <header id="page-header">
-    <p class="stopper"><a href="#" data-affix-disable="#page-header"><i class="fa fa-chevron-up"></i></a></p>
-
     <div class="flex-title-line">
       <h1 class="title flex-item-title" id="revision-path"></h1>
       {% if page %}

+ 0 - 2
lib/views/user/bookmarks.html

@@ -7,8 +7,6 @@
 {% block content_head %}
 <div class="header-wrap">
   <header id="page-header">
-    <p class="stopper"><a href="#" data-affix-disable="#page-header"><i class="fa fa-chevron-up"></i></a></p>
-
     <h1 class="title">{{ pageUser.name }}'s Bookmarks</h1>
   </header>
 </div>

+ 0 - 2
lib/views/user/recent-create.html

@@ -7,8 +7,6 @@
 {% block content_head %}
 <div class="header-wrap">
   <header id="page-header">
-    <p class="stopper"><a href="#" data-affix-disable="#page-header"><i class="fa fa-chevron-up"></i></a></p>
-
     <h1 class="title">{{ pageUser.name }}'s Created Pages</h1>
   </header>
 </div>

+ 0 - 4
resource/styles/scss/_layout.scss

@@ -176,10 +176,6 @@
           width: 100%;
           padding: 5px;
           box-shadow: 0 0px 2px #999;
-
-          p.stopper {
-            right: 20px;
-          }
         }
       }
     }

+ 0 - 17
resource/styles/scss/_page.scss

@@ -17,10 +17,6 @@
       background: #fff;
       width: 100%;
 
-      p.stopper {
-        display: none;
-      }
-
       &.affix {
         width: 100%;
         top: 0;
@@ -34,19 +30,6 @@
           font-size: 1.8em;
         }
 
-        p.stopper {
-          display: block;
-          position: absolute;
-          bottom: -30px;
-          right: 10px;
-          background: #fff;
-          padding: 7px 14px;
-          margin: 0;
-          border: solid 1px #ccc;
-          border-top: none;
-          border-radius: 0 0 5px 5px;
-          font-size: .8em;
-        }
       }
 
     }