Browse Source

Style changes

spaghetti 8 years ago
parent
commit
94ff2bd873

+ 7
- 9
sections/torrents/details.php View File

@@ -268,15 +268,13 @@ if ($Categories[$GroupCategoryID - 1] != 'Other') {
268 268
     </div>
269 269
 <?    if (check_perms('torrents_add_artist')) { ?>
270 270
     <div class="box box_addartists">
271
-      <div class="head"><strong>Add artist</strong><span style="float: right;" class="additional_add_artist"><a onclick="AddArtistField(); return false;" href="#" class="brackets">+</a></span></div>
271
+      <div class="head"><strong>Add artist</strong></div>
272 272
       <div class="body">
273 273
         <form class="add_form" name="artists" action="torrents.php" method="post">
274
-          <div id="AddArtists">
275
-            <input type="hidden" name="action" value="add_alias" />
276
-            <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
277
-            <input type="hidden" name="groupid" value="<?=$GroupID?>" />
278
-            <input type="text" id="artist" name="artistname[]" size="27"<? Users::has_autocomplete_enabled('other'); ?> />
279
-          </div>
274
+          <input type="hidden" name="action" value="add_alias" />
275
+          <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
276
+          <input type="hidden" name="groupid" value="<?=$GroupID?>" />
277
+          <input type="text" id="artist" name="artistname[]" size="27"<? Users::has_autocomplete_enabled('other'); ?> />
280 278
           <input type="submit" value="Add" />
281 279
         </form>
282 280
       </div>
@@ -349,9 +347,9 @@ if (empty($LoggedUser['DisableTagging'])) {
349 347
           <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
350 348
           <input type="hidden" name="groupid" value="<?=$GroupID?>" />
351 349
           <input type="text" name="tagname" id="tagname" size="20"<? Users::has_autocomplete_enabled('other'); ?> />
352
-          <input type="submit" value="+" />
350
+          <input type="submit" value="Add" />
353 351
         </form>
354
-        <br /><br />
352
+        <br />
355 353
         <strong><a href="rules.php?p=tag" class="brackets">View tagging rules</a></strong>
356 354
       </div>
357 355
     </div>

+ 7
- 11
static/styles/beluga/style.css View File

@@ -121,10 +121,7 @@ input {
121 121
 
122 122
 button,input[type=button],input[type=submit] {
123 123
   font-family: 'Source Sans Pro',Helvetica,sans-serif;
124
-  font-size: 11px;
125 124
   background-color: #50aca7;
126
-  padding: 10px 9px;
127
-  border: none;
128 125
   color: #fff
129 126
 }
130 127
 
@@ -136,6 +133,10 @@ button:focus,input[type=button]:focus,input[type=submit]:focus {
136 133
   background-color: #2f707c
137 134
 }
138 135
 
136
+.spoilerButton {
137
+  max-width: 604px;
138
+}
139
+
139 140
 ::-webkit-input-placeholder {
140 141
   font-family: 'Source Sans Pro',Helvetica,sans-serif
141 142
 }
@@ -153,9 +154,8 @@ button:focus,input[type=button]:focus,input[type=submit]:focus {
153 154
 }
154 155
 
155 156
 select {
156
-  padding: 5px;
157 157
   background-color: #373a42;
158
-  border: none;
158
+  border: 1px solid #5b5e64;
159 159
   color: #fff;
160 160
   font-family: 'Source Sans Pro'!important;
161 161
   outline: 0
@@ -171,10 +171,6 @@ textarea {
171 171
   margin: 4px 0px;
172 172
 }
173 173
 
174
-input,textarea {
175
-  outline: 0
176
-}
177
-
178 174
 span.size1 {
179 175
   font-size: .75em
180 176
 }
@@ -269,8 +265,8 @@ p.min_padding {
269 265
   margin-bottom: 8px;
270 266
 }
271 267
 
272
-.box_addartists .body {
273
-  padding: 8px;
268
+.box_addartists .body, .box_addtag .body {
269
+  padding: 10px;
274 270
 }
275 271
 
276 272
 .pad h3,.pad h4,.padbox h3,.padbox h4 {

+ 35
- 38
static/styles/global.css View File

@@ -11,17 +11,35 @@
11 11
   font-size: 110%;
12 12
 }
13 13
 
14
-.box_addartists .add_form {
14
+.sidebar .box .add_form {
15 15
   display: flex;
16 16
 }
17
-.box_addartists .add_form #AddArtists {
17
+.sidebar .box .add_form input[type=text] {
18 18
   flex-grow: 1;
19
-}
20
-.box_addartists .add_form #AddArtists #artist{
21 19
   box-sizing: border-box;
22 20
   width: 100%;
23 21
 }
24 22
 
23
+input, textarea {
24
+  border: 1px solid #c7c7c7;
25
+  background-color: white;
26
+  padding: 10px 9px;
27
+  color: black;
28
+  outline: none;
29
+}
30
+
31
+select {
32
+  padding: 5px 10px;
33
+  background-color: white;
34
+  border: 1px solid #c7c7c7;
35
+  color: black;
36
+  border-radius: 0px;
37
+  outline: 0;
38
+  -webkit-appearance: none;
39
+  -moz-appearance: none;
40
+  appearance: none;
41
+}
42
+
25 43
 h2 .group_cat {
26 44
   height: 16px;
27 45
   width: 16px;
@@ -78,6 +96,15 @@ div.collage_image {
78 96
   width: 20%;
79 97
 }
80 98
 
99
+button, input[type=button], input[type=submit] {
100
+  cursor: pointer;
101
+  background: #fff;
102
+  font-size: 11px;
103
+  padding: 10px 9px;
104
+  border: none;
105
+  color: #000;
106
+}
107
+
81 108
 .selected a {
82 109
   font-weight: bold;
83 110
   text-decoration: underline;
@@ -216,40 +243,6 @@ div#AddArtists a {
216 243
   width: 95%
217 244
 }
218 245
 
219
-.rippywrap {
220
-  z-index: 25;
221
-  display: block;
222
-  position: fixed;
223
-  color: black;
224
-  text-align: center;
225
-  width: 190px;
226
-  height: 180px;
227
-  bottom: 0px;
228
-  right: 0px;
229
-  -webkit-touch-callout: none;
230
-  -webkit-user-select: none;
231
-  -khtml-user-select: none;
232
-  -moz-user-select: none;
233
-  -ms-user-select: none;
234
-  user-select: none;
235
-}
236
-
237
-.rippywrap div.rippy {
238
-  z-index: 25;
239
-  height: 111px;
240
-  width: 190px;
241
-  position: fixed;
242
-  bottom: 0px;
243
-  right: 0px;
244
-  -webkit-touch-callout: none;
245
-  -webkit-user-select: none;
246
-  -khtml-user-select: none;
247
-  -moz-user-select: none;
248
-  -ms-user-select: none;
249
-  user-select: none;
250
-}
251
-
252
-
253 246
 td.label {
254 247
   vertical-align: top;
255 248
 }
@@ -853,6 +846,10 @@ div.torrent_artists {
853 846
   width: 100%;
854 847
 }
855 848
 
849
+.mediainfo td {
850
+  vertical-align: top;
851
+}
852
+
856 853
 .flex {
857 854
   display: flex;
858 855
 }

+ 15
- 8
static/styles/oppai/style.css View File

@@ -42,6 +42,21 @@ a:hover {
42 42
   color: #555;
43 43
 }
44 44
 
45
+button, input[type=button], input[type=submit] {
46
+  background: #EAABED;
47
+  box-shadow: 0 1px 1px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
48
+}
49
+button:hover, input[type=button]:hover, input[type=submit]:hover {
50
+  background: #E197E5;
51
+}
52
+button:focus, input[type=button]:focus, input[type=submit]:focus {
53
+  background: #D48DD8;
54
+}
55
+
56
+.spoilerButton {
57
+  max-width: 540px;
58
+}
59
+
45 60
 .forum_post .body a:not([href="#"]), .rule_summary a, .wiki_article a, #actual_rules a, .news_post .pad a, .store_table a {
46 61
   text-decoration: none;
47 62
   border: none;
@@ -76,14 +91,6 @@ li {
76 91
   margin: 5px 15px;
77 92
 }
78 93
 
79
-input {
80
-  padding: 2px 3px;
81
-}
82
-
83
-textarea {
84
-  padding: 2px 3px;
85
-}
86
-
87 94
 img {
88 95
   border: none;
89 96
 }

Loading…
Cancel
Save