Browse Source

Style Changes

spaghetti 8 years ago
parent
commit
a1c0275a08
4 changed files with 21 additions and 8 deletions
  1. 1
    2
      classes/mediainfo.class.php
  2. 1
    1
      design/publicfooter.php
  3. 5
    5
      sections/inbox/inbox.php
  4. 14
    0
      static/styles/global.css

+ 1
- 2
classes/mediainfo.class.php View File

371
                 $value = preg_replace('#\[autourl(?:=.+)?\](.+)\[/autourl\]#', '$1', $value);
371
                 $value = preg_replace('#\[autourl(?:=.+)?\](.+)\[/autourl\]#', '$1', $value);
372
                 $this->filename = static::strip_path($value);
372
                 $this->filename = static::strip_path($value);
373
                 $this->lines[$this->index-1] = "Complete name : " . $this->filename;
373
                 $this->lines[$this->index-1] = "Complete name : " . $this->filename;
374
-                if (strlen($this->filename) > 100)
375
-                    $this->filename = substr($this->filename, 0, 80) . '...' . substr($this->filename, -17);
374
+                $this->filename = substr($this->filename, 0, 150);
376
                 break;
375
                 break;
377
             case "format":
376
             case "format":
378
                 $this->generalformat = $value;
377
                 $this->generalformat = $value;

+ 1
- 1
design/publicfooter.php View File

3
   </table>
3
   </table>
4
 </div>
4
 </div>
5
 <div id="foot">
5
 <div id="foot">
6
-  <span><a href="#"><?=SITE_NAME?></a> | <a href="https://what.cd/gazelle/">Project Gazelle</a></span>
6
+  <span><a href="#"><?=SITE_NAME?></a> | <a href="https://git.oppaiti.me/Oppaitime/Gazelle">Project Gazelle</a></span>
7
 </div>
7
 </div>
8
 </body>
8
 </body>
9
 </html>
9
 </html>

+ 5
- 5
sections/inbox/inbox.php View File

106
 <?    } ?>
106
 <?    } ?>
107
         </span>
107
         </span>
108
         <br />
108
         <br />
109
-        <input type="search" name="search" placeholder="<?=(!empty($_GET['search']) ? display_str($_GET['search']) : 'Search '.($Section === 'sentbox' ? 'sentbox' : 'inbox'))?>" style="width: 98%;" />
109
+        <input type="search" name="search" placeholder="<?=(!empty($_GET['search']) ? display_str($_GET['search']) : 'Search '.($Section === 'sentbox' ? 'sentbox' : 'inbox'))?>" />
110
       </div>
110
       </div>
111
     </form>
111
     </form>
112
     <form class="manage_form" name="messages" action="inbox.php" method="post" id="messageform">
112
     <form class="manage_form" name="messages" action="inbox.php" method="post" id="messageform">
113
       <input type="hidden" name="action" value="masschange" />
113
       <input type="hidden" name="action" value="masschange" />
114
       <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
114
       <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
115
-      <input type="submit" name="read" value="Mark as read" />&nbsp;
116
-      <input type="submit" name="unread" value="Mark as unread" />&nbsp;
115
+      <input type="submit" name="read" value="Mark as read" />
116
+      <input type="submit" name="unread" value="Mark as unread" />
117
       <input type="submit" name="delete" value="Delete message(s)" />
117
       <input type="submit" name="delete" value="Delete message(s)" />
118
 
118
 
119
       <table class="message_table checkboxes">
119
       <table class="message_table checkboxes">
170
     }
170
     }
171
   } ?>
171
   } ?>
172
       </table>
172
       </table>
173
-      <input type="submit" name="read" value="Mark as read" />&nbsp;
174
-      <input type="submit" name="unread" value="Mark as unread" />&nbsp;
173
+      <input type="submit" name="read" value="Mark as read" />
174
+      <input type="submit" name="unread" value="Mark as unread" />
175
       <input type="submit" name="delete" value="Delete message(s)" />
175
       <input type="submit" name="delete" value="Delete message(s)" />
176
     </form>
176
     </form>
177
 <? } ?>
177
 <? } ?>

+ 14
- 0
static/styles/global.css View File

105
   color: #000;
105
   color: #000;
106
 }
106
 }
107
 
107
 
108
+.spoilerButton {
109
+  overflow: hidden;
110
+  text-overflow: ellipsis;
111
+}
112
+
108
 .selected a {
113
 .selected a {
109
   font-weight: bold;
114
   font-weight: bold;
110
   text-decoration: underline;
115
   text-decoration: underline;
759
   max-width: 830px;
764
   max-width: 830px;
760
 }
765
 }
761
 
766
 
767
+#inbox .search_form input[type="search"] {
768
+  width: 100%;
769
+  margin: 10px 0px 0px;
770
+}
771
+
772
+#inbox .manage_form input[type="submit"] {
773
+  margin: 10px 7px 10px 0px;
774
+}
775
+
762
 #userform img {
776
 #userform img {
763
   max-width: 490px;
777
   max-width: 490px;
764
 }
778
 }

Loading…
Cancel
Save