Skip to content

Commit 09332e9

Browse files
author
François Jacquet
committed
Update wkhtmltopdf CSS
1 parent 2500d1f commit 09332e9

File tree

1 file changed

+79
-22
lines changed

1 file changed

+79
-22
lines changed

assets/themes/WPadmin/stylesheet_wkhtmltopdf.css

Lines changed: 79 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
#menuback,#menu{border-width:0 1px 0 0;border-style:solid}
77
#menu{position:relative;float:left}
88
#menushadow{position:absolute;top:0;right:0;bottom:0;width:6px;z-index:20}
9-
#body,#menu{margin-bottom:30px;}
10-
#footer{clear:both;display:block;position:fixed;z-index:99999;bottom:0;left:0;height:30px;width:100%;background-color:#ececec;}
11-
#footerwrap{height:24px;margin-top:3px;margin-bottom:3px;text-align:center;}
12-
#footerhelp{display:none;height:0px;background-color:white;overflow-y:scroll;padding-left:8px;}
9+
#body,#menu{margin-bottom:38px;}
10+
#footer{clear:both;position:fixed;z-index:99999;bottom:0;left:0;height:38px;width:100%;background-color:#ececec;}
11+
#footerwrap{height:32px;margin-top:3px;margin-bottom:3px;text-align:center;}
12+
#footerhelp{display:none;height:140px;background-color:white;overflow-y:scroll;padding-left:8px;}
1313
.mod{overflow:hidden;}
1414
.mod:after{content:"";display:table;clear:both;}
1515

@@ -33,7 +33,7 @@ body{
3333
line-height:1.4em
3434
}
3535
*{
36-
font-size:12px
36+
font-size:14px
3737
}
3838
a{
3939
-webkit-transition:color 0.2s ease-out 0s;
@@ -154,7 +154,6 @@ code{
154154
border-bottom:none
155155
}
156156
.widefat td{
157-
font-size:12px;
158157
padding:4px 7px 2px;
159158
vertical-align:top
160159
}
@@ -164,10 +163,6 @@ code{
164163
.widefat th {
165164
padding:6px 10px;
166165
line-height:1.3em;
167-
font-size:14px
168-
}
169-
.widefat th a{
170-
font-size:14px
171166
}
172167
.widefat th input{
173168
margin:0 0 0 8px;
@@ -190,9 +185,8 @@ select option{
190185
}
191186
input[type=submit],input[type=reset],input[type=button]{
192187
text-decoration:none;
193-
font-size:12px!important;
194188
line-height:14px;
195-
padding:3px 10px;
189+
padding:6px 10px;
196190
margin:0 8px;
197191
cursor:pointer;
198192
border-width:1px;
@@ -230,7 +224,6 @@ label{
230224
display:none
231225
}
232226
#adminmenu .menu-inter{
233-
font-size:14px;
234227
border-width:1px 0 0;
235228
border-style:solid
236229
}
@@ -331,7 +324,7 @@ h3 span{
331324
/*added*/
332325
.alignImg{
333326
vertical-align:middle;
334-
height:24px
327+
height:32px
335328
}
336329
#body{
337330
padding:0 15px
@@ -351,20 +344,20 @@ img.headerIcon{
351344
display:none
352345
}
353346
.size-3{
354-
font-size:10px
347+
font-size:11px
355348
}
356349
.size-1{
357-
font-size:11px
350+
font-size:13px
358351
}
359352
.sizep1{
360-
font-size:13px
353+
font-size:15px
361354
}
362355
.sizep2{
363-
font-size:14px
356+
font-size:16px
364357
}
365358
form.login input[type=text],form.login input[type=password]{
366359
font-weight:200;
367-
font-size:14px;
360+
font-size:20px;
368361
width:100%;
369362
padding:3px;
370363
margin-top:2px;
@@ -452,16 +445,19 @@ span.center{
452445
display:block
453446
}
454447
.BottomButton{
448+
padding-top:16px;
449+
}
450+
.BottomButton span{
455451
vertical-align:super
456452
}
457-
#BottomButtonMenu .BottomButton{
453+
#BottomButtonMenu span{
458454
vertical-align:baseline
459455
}
460456
#BottomButtonMenu{
461457
float:left;
462-
padding:6px 0 0 6px
458+
padding:6px 0 6px 6px
463459
}
464-
#BottomButtonMenu a:before{
460+
#BottomButtonMenu:before{
465461
content:"\2261";
466462
color:#000;
467463
font-size:3rem;
@@ -504,3 +500,64 @@ div.st{
504500
display:none
505501
}
506502

503+
/*mobile*/
504+
@media only screen and (max-width:640px){
505+
/*quick smartphone reset*/
506+
.mod{
507+
float:none !important;
508+
clear:none !important;
509+
width:auto !important;
510+
margin-left:0 !important;
511+
margin-right:0 !important;
512+
position:relative !important;
513+
border:0
514+
}
515+
#SideLogo{
516+
width:130px;margin:2px;max-height:118px;float:right
517+
}
518+
#menu,#body{
519+
margin-bottom:0
520+
}
521+
.menu-top img{
522+
height:24px
523+
}
524+
#body{
525+
padding:0 2px
526+
}
527+
h2{
528+
font-size:20px;
529+
padding:0 8px 7px 0;
530+
line-height:20px
531+
}
532+
.BottomButton span{
533+
display:none
534+
}
535+
#search input,#search select,input[id=USERNAME],input[id=PASSWORD],#LO_search{
536+
max-width:120px
537+
}
538+
#modulesBody textarea{
539+
width:100% !important
540+
}
541+
td.popTable{
542+
padding:2px
543+
}
544+
tr.address > td{
545+
border-style:none none dotted none;
546+
padding:12px 0 12px 0
547+
}
548+
#chart,.chart{
549+
margin-top:0;
550+
margin-left:0;
551+
width:300px;
552+
height:240px
553+
}
554+
input[type=submit],input[type=reset],input[type=button]{
555+
margin:0 4px;
556+
max-width:120px
557+
}
558+
/*stackable tables*/
559+
tr.st > td{
560+
float:left;
561+
width:100%
562+
}
563+
}

0 commit comments

Comments
 (0)