浏览代码

Core : updates

Valentin CARRUESCO 4 年之前
父节点
当前提交
c2faa6480f

+ 39 - 0
plugin/customiser/theme/hackpoint/main.css

@@ -40,6 +40,10 @@ select:-webkit-autofill:focus {
   color:#fefefe!important;
 }
 
+
+
+
+div.form-control,
 input.form-control,
 input.form-control:active,
 input.form-control:focus,
@@ -247,6 +251,41 @@ div[data-type="dropzone"] > ul > li {
     border-color: #000000;
 }
 
+.modal-content {
+
+    background-color: #1f2428;
+}
+.modal-footer {
+    border-top: 0;
+}
+.modal-header {
+    border-bottom: 0;
+}
+
+/* navigation */
+
+.navigation-tree {
+    color: #f8f8f8!important;
+    background-color: #333333!important;
+}
+.navigation-tree .navigation-item {
+    background: #414141!important;
+}
+
+.navigation-item-label {
+    color: #ffffff!important;
+}
+.navigation-item-icon {
+    color: #a5a5a5!important;
+}
+.navigation-tree .btn-light {
+
+    color: #ffffff!important;
+    background-color: #000!important;
+    border-color: #000!important;
+
+}
+
 /* wysiwyg*/
 
 .trumbowyg-button-pane{

+ 4 - 9
plugin/hackpoint/css/main.css

@@ -145,7 +145,7 @@ textarea.form-control.share-input{
 }
 
 #sketchs li .card {
-    height: 400px;
+    height: 425x;
     background-color: #343a40;
     overflow: hidden;
 }
@@ -165,17 +165,12 @@ textarea.form-control.share-input{
 }
 
 #sketchs li .progress {
-    display: -ms-flexbox;
-    display: flex;
-    height: 0.7rem;
-    left:0;
+    height: 0.8rem;
     width: 100%;
-    position: absolute;
-    bottom: 0;
     overflow: hidden;
-    font-size: .50rem;
+    font-size: .7rem;
     background-color: #272b2f;
-    border-radius: 0 0 .25rem .25rem;
+    border-radius: 0;
 }
 
 

二进制
plugin/hackpoint/img/default-sketch.jpg


+ 1 - 1
plugin/hackpoint/js/main.js

@@ -357,7 +357,7 @@ function hackpoint_sketch_search(callback){
        		.css('width',percent+'%')
        		.attr('aria-valuenow',percent)
        		.text(percent+'%')
-       		.attr('class','progress-bar progress-bar-striped progress-bar-animated '+progressClass);
+       		.attr('class','progress-bar '+progressClass);
        		$.action({
 				action : 'hackpoint_sketch_progress_save',
 				id : li.attr('data-id'),

+ 5 - 4
plugin/hackpoint/page.list.sketch.php

@@ -44,12 +44,13 @@ require_once(__DIR__.SLASH.'Sketch.class.php');
                         <span class="d-block text-muted"><i class="far fa-meh-blank"></i> {{creator}}  <i class="far fa-clock"></i> {{created}}</span>
                         (Visibilité : {{#state}}<i class="far fa-eye"></i> Publique{{/state}}{{^state}}<i class="far fa-eye-slash"></i> Privé{{/state}})
                         <p class="card-text mt-2">{{comment}}</p>
-                        <a href="index.php?module=hackpoint&page=sheet.sketch&id={{id}}" class="btn btn-dark w-100">Go !</a>
+                        <div class="progress">
+                        <div class="progress-bar {{progress-color}}" role="progressbar" style="width: {{progress}}%;" aria-valuenow="{{progress}}" aria-valuemin="0" aria-valuemax="100">{{progress}}%</div>
+                      </div>
+                        <a href="index.php?module=hackpoint&page=sheet.sketch&id={{id}}" class="btn btn-dark w-100 mt-2">Go !</a>
                       </div>
 
-                      <div class="progress">
-                      <div class="progress-bar progress-bar-striped progress-bar-animated {{progress-color}}" role="progressbar" style="width: {{progress}}%;" aria-valuenow="{{progress}}" aria-valuemin="0" aria-valuemax="100">{{progress}}%</div>
-                        </div>
+                      
                     </div>
                 </li>
         </ul>