Răsfoiți Sursa

modify header contents detail

mayu morita 7 ani în urmă
părinte
comite
9f0c7eb639

+ 2 - 2
lib/views/admin/customize.html

@@ -198,7 +198,7 @@
             <h4>
               <div class="radio radio-primary">
                 <input type="radio" id="radioLayoutKibela" name="settingForm[customize:layout]" value="kibela"
-                    {% if isLayoutKibela %}checked="checked"{% endif %}>
+                    {% if !isLayoutGrowi %}checked="checked"{% endif %}>
                 <label   for="radioLayoutKibela">
                   Kibela Like Layout
                 </label>
@@ -208,7 +208,7 @@
               <img src="/images/admin/customize/layout-classic-thumb.gif" width="240px">
             </a>
             <ul>
-              <li>Functional</li>
+              <li>Simple</li>
               <ul>
                 <li>Collapsible Sidebar</li>
                 <li>Show and post comments in Sidebar</li>

+ 1 - 1
lib/views/layout-kibela/base/layout.html

@@ -5,7 +5,7 @@
 
   <div class="row body m-0 p-0">
 
-    <div id="main" class="main col-md-7 col-xs-12 kibela-block bg-white m-t-30 round-corner round-corner-top {% if page %}{{ css.grant(page) }}{% endif %} {% block main_css_class %}{% endblock %}">
+    <div id="main" class="main col-md-7 col-xs-12 kibela-block bg-white m-t-30 round-corner {% if page %}{{ css.grant(page) }}{% endif %}{% block main_css_class %}{% endblock %}">
         <div class="row bg-title m-t-10">
             <div class="col-xs-12">
               {% block content_header %}

+ 11 - 6
resource/styles/scss/_layout_kibela.scss

@@ -20,9 +20,16 @@
       }
    }
  }
+
+ /* header */
   .background-t {
     background-color: transparent;
   }
+  .authors {
+    li {
+      list-style: none !important;
+    }
+  }
  .search-input-group, .search-typeahead {
    .btn {
     background-color: transparent;
@@ -117,10 +124,6 @@
   }
 }
 .kibela.main-container {
-  .content-main {
-    padding: 0;
-  }
-
   .revision-toc {
     &.affix {
       right: 10rem;
@@ -133,7 +136,7 @@
     .revision-toc-content {
       padding: 0;
     }
-    @media screen and (max-width: 1440px) {
+    @media screen and (max-width: 1350px) {
       &.affix {
       right: 0rem !important;
       transition: 0.5s ;
@@ -262,6 +265,9 @@
         @extend %comment-section;
         background: #D8E2EB;
         border-radius: 0.35em;
+        .CodeMirror {
+          border: none !important;
+        }
       }
 
       // textarea
@@ -325,7 +331,6 @@
     border-left: solid 1.2px lightgray;
     border-right: solid 1.2px lightgray;
     border-bottom: solid 1.2px lightgray;
-    border-radius: 0.35em;
   }
   .tab-content {
     padding: 1em;

+ 1 - 0
resource/styles/scss/_on-edit.scss

@@ -4,6 +4,7 @@ body:not(.on-edit) {
   // hide .page-editor-footer
   .page-editor-footer {
     display: none !important;
+    border: none;
   }
 }