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,8 +371,7 @@ class GeneralSectionParser extends SectionParser {
371 371
                 $value = preg_replace('#\[autourl(?:=.+)?\](.+)\[/autourl\]#', '$1', $value);
372 372
                 $this->filename = static::strip_path($value);
373 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 375
                 break;
377 376
             case "format":
378 377
                 $this->generalformat = $value;

+ 1
- 1
design/publicfooter.php View File

@@ -3,7 +3,7 @@
3 3
   </table>
4 4
 </div>
5 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 7
 </div>
8 8
 </body>
9 9
 </html>

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

@@ -106,14 +106,14 @@ echo "\t\t$Pages\n";
106 106
 <?    } ?>
107 107
         </span>
108 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 110
       </div>
111 111
     </form>
112 112
     <form class="manage_form" name="messages" action="inbox.php" method="post" id="messageform">
113 113
       <input type="hidden" name="action" value="masschange" />
114 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 117
       <input type="submit" name="delete" value="Delete message(s)" />
118 118
 
119 119
       <table class="message_table checkboxes">
@@ -170,8 +170,8 @@ echo "\t\t$Pages\n";
170 170
     }
171 171
   } ?>
172 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 175
       <input type="submit" name="delete" value="Delete message(s)" />
176 176
     </form>
177 177
 <? } ?>

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

@@ -105,6 +105,11 @@ button, input[type=button], input[type=submit] {
105 105
   color: #000;
106 106
 }
107 107
 
108
+.spoilerButton {
109
+  overflow: hidden;
110
+  text-overflow: ellipsis;
111
+}
112
+
108 113
 .selected a {
109 114
   font-weight: bold;
110 115
   text-decoration: underline;
@@ -759,6 +764,15 @@ tr.torrent .bookmark>a:after {
759 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 776
 #userform img {
763 777
   max-width: 490px;
764 778
 }

Loading…
Cancel
Save