Browse Source

Style changes

spaghetti 8 years ago
parent
commit
94ff2bd873

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

268
     </div>
268
     </div>
269
 <?    if (check_perms('torrents_add_artist')) { ?>
269
 <?    if (check_perms('torrents_add_artist')) { ?>
270
     <div class="box box_addartists">
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
       <div class="body">
272
       <div class="body">
273
         <form class="add_form" name="artists" action="torrents.php" method="post">
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
           <input type="submit" value="Add" />
278
           <input type="submit" value="Add" />
281
         </form>
279
         </form>
282
       </div>
280
       </div>
349
           <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
347
           <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
350
           <input type="hidden" name="groupid" value="<?=$GroupID?>" />
348
           <input type="hidden" name="groupid" value="<?=$GroupID?>" />
351
           <input type="text" name="tagname" id="tagname" size="20"<? Users::has_autocomplete_enabled('other'); ?> />
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
         </form>
351
         </form>
354
-        <br /><br />
352
+        <br />
355
         <strong><a href="rules.php?p=tag" class="brackets">View tagging rules</a></strong>
353
         <strong><a href="rules.php?p=tag" class="brackets">View tagging rules</a></strong>
356
       </div>
354
       </div>
357
     </div>
355
     </div>

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

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

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

11
   font-size: 110%;
11
   font-size: 110%;
12
 }
12
 }
13
 
13
 
14
-.box_addartists .add_form {
14
+.sidebar .box .add_form {
15
   display: flex;
15
   display: flex;
16
 }
16
 }
17
-.box_addartists .add_form #AddArtists {
17
+.sidebar .box .add_form input[type=text] {
18
   flex-grow: 1;
18
   flex-grow: 1;
19
-}
20
-.box_addartists .add_form #AddArtists #artist{
21
   box-sizing: border-box;
19
   box-sizing: border-box;
22
   width: 100%;
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
 h2 .group_cat {
43
 h2 .group_cat {
26
   height: 16px;
44
   height: 16px;
27
   width: 16px;
45
   width: 16px;
78
   width: 20%;
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
 .selected a {
108
 .selected a {
82
   font-weight: bold;
109
   font-weight: bold;
83
   text-decoration: underline;
110
   text-decoration: underline;
216
   width: 95%
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
 td.label {
246
 td.label {
254
   vertical-align: top;
247
   vertical-align: top;
255
 }
248
 }
853
   width: 100%;
846
   width: 100%;
854
 }
847
 }
855
 
848
 
849
+.mediainfo td {
850
+  vertical-align: top;
851
+}
852
+
856
 .flex {
853
 .flex {
857
   display: flex;
854
   display: flex;
858
 }
855
 }

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

42
   color: #555;
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
 .forum_post .body a:not([href="#"]), .rule_summary a, .wiki_article a, #actual_rules a, .news_post .pad a, .store_table a {
60
 .forum_post .body a:not([href="#"]), .rule_summary a, .wiki_article a, #actual_rules a, .news_post .pad a, .store_table a {
46
   text-decoration: none;
61
   text-decoration: none;
47
   border: none;
62
   border: none;
76
   margin: 5px 15px;
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
 img {
94
 img {
88
   border: none;
95
   border: none;
89
 }
96
 }

Loading…
Cancel
Save