/
gallery.common.css
868 lines (708 loc) · 15.1 KB
/
gallery.common.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
/**
* Gallery 3 commonly re-used screen styles
*
* Sheet organization:
*
* 1) Text
* 2) Forms
* 3) Dimension and scale
* 4) States and interactions
* 5) Positioning and order
* 6) Containers/widgets
* 7) Right to left language styles
*
* @todo Update .g-message-block, don't force it to 100%, bad things happen is themes when you do.
*/
/** *******************************************************************
* 1) Text
**********************************************************************/
.g-text-small {
font-size: .8em;
}
.g-text-big {
font-size: 1.2em;
}
.g-text-right {
text-align: right;
}
/** *******************************************************************
* 2) Forms
**********************************************************************/
form {
margin: 0;
}
fieldset {
border: 1px solid #ccc;
padding: 0 1em .8em 1em;
}
#g-banner fieldset,
#g-sidebar fieldset {
border: none;
padding: 0;
}
legend {
font-weight: bold;
margin: 0;
padding: 0 .2em;
}
#g-banner legend,
#g-sidebar legend,
input[type="hidden"] {
display: none;
}
input.textbox,
input[type="text"],
input[type="password"],
textarea {
border: 1px solid #e8e8e8;
border-top-color: #ccc;
border-left-color: #ccc;
clear: both;
color: #333;
width: 50%;
}
textarea {
height: 12em;
width: 97%;
}
input:focus,
input.textbox:focus,
input[type=text]:focus,
textarea:focus,
option:focus {
background-color: #ffc;
color: #000;
}
input.checkbox,
input[type=checkbox],
input.radio,
input[type=radio] {
float: left;
margin-right: .4em;
}
/* Form layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
form li {
margin: 0;
padding: 0 0 .2em 0;
}
form ul {
margin-top: 0;
}
form ul ul {
clear: both;
}
form ul ul li {
float: left;
}
input,
select,
textarea {
display: block;
clear: both;
padding: .2em;
}
input[type="submit"],
input[type="reset"] {
display: inline;
clear: none;
float: left;
}
/* Forms in dialogs and panels ~~~~~~~~~ */
#g-dialog ul li {
padding-bottom: .8em;
}
#g-dialog fieldset,
#g-panel fieldset {
border: none;
padding: 0;
}
#g-panel legend {
display: none;
}
input[readonly] {
background-color: #F4F4FC;
}
#g-dialog input.textbox,
#g-dialog input[type=text],
#g-dialog input[type=password],
#g-dialog textarea {
width: 97%;
}
/* Short forms ~~~~~~~~~~~~~~~~~~~~~~~ */
.g-short-form legend,
.g-short-form label {
display: none;
}
.g-short-form fieldset {
border: none;
padding: 0;
}
.g-short-form li {
float: left;
margin: 0 !important;
padding: .4em 0;
}
.g-short-form .textbox,
.g-short-form input[type=text] {
color: #666;
padding: .3em .6em;
width: 100%;
}
.g-short-form .textbox.g-error {
border: 1px solid #f00;
color: #f00;
padding-left: 24px;
}
.g-short-form .g-cancel {
display: block;
margin: .3em .8em;
}
#g-sidebar .g-short-form li {
padding-left: 0;
padding-right: 0;
}
/** *******************************************************************
* 3) Dimension and scale
**********************************************************************/
.g-one-quarter {
width: 25%;
}
.g-one-third {
width: 33%;
}
.g-one-half {
width: 50%;
}
.g-two-thirds {
width: 66%;
}
.g-three-quarters {
width: 75%;
}
.g-whole {
width: 100%;
}
/** *******************************************************************
* 4) States and interactions
**********************************************************************/
.g-active,
.g-enabled,
.g-available,
.g-selected,
.g-highlight {
font-weight: bold;
}
.g-inactive,
.g-disabled,
.g-unavailable,
.g-uneditable,
.g-locked,
.g-deselected,
.g-understate {
color: #ccc;
font-weight: normal;
}
.g-editable {
padding: .2em .3em;
}
.g-editable:hover {
background-color: #ffc;
cursor: text;
}
.g-error,
.g-info,
.g-success,
.g-warning {
padding-left: 30px;
}
form li.g-error,
form li.g-info,
form li.g-success,
form li.g-warning {
background-image: none;
padding: .3em .8em .3em 0;
}
.g-short-form li.g-error {
padding: .3em 0;
}
form.g-error input[type="text"],
li.g-error input[type="text"],
form.g-error input[type="password"],
li.g-error input[type="password"],
form.g-error input[type="checkbox"],
li.g-error input[type="checkbox"],
form.g-error input[type="radio"],
li.g-error input[type="radio"],
form.g-error textarea,
li.g-error textarea,
form.g-error select,
li.g-error select {
border: 2px solid #f00;
margin-bottom: .2em;
}
.g-error,
.g-denied,
tr.g-error td.g-error,
#g-add-photos-status .g-error {
background: #f6cbca url('images/ico-error.png') no-repeat .4em 50%;
color: #f00;
}
.g-info {
background: #e8e8e8 url('images/ico-info.png') no-repeat .4em 50%;
}
.g-success,
.g-allowed,
#g-add-photos-status .g-success {
background: #d9efc2 url('images/ico-success.png') no-repeat .4em 50%;
}
tr.g-success {
background-image: none;
}
tr.g-success td.g-success {
background-image: url('images/ico-success.png');
}
.g-warning,
tr.g-warning td.g-warning {
background: #fcf9ce url('images/ico-warning.png') no-repeat .4em 50%;
}
form .g-error {
background-color: #fff;
padding-left: 20px;
}
.g-open {
}
.g-closed {
}
.g-installed {
background-color: #eeeeee;
}
.g-default {
background-color: #c5dbec;
font-weight: bold;
}
.g-draggable {
cursor: move;
}
.g-draggable:hover {
border: 1px dashed #000;
}
.ui-sortable .g-target,
.ui-state-highlight {
background-color: #fcf9ce;
border: 2px dotted #999;
height: 2em;
margin: 1em 0;
}
/* Ajax loading indicator ~~~~~~~~~~~~~~~~ */
.g-loading-large,
.g-dialog-loading-large {
background: #e8e8e8 url('images/loading-large.gif') no-repeat center center;
font-size: 0;
}
.g-loading-small {
background: #e8e8e8 url('images/loading-small.gif') no-repeat center center;
font-size: 0;
}
/** *******************************************************************
* 5) Positioning and order
**********************************************************************/
.g-left {
clear: none;
float: left;
}
.g-right {
clear: none;
float: right;
}
.g-first {
}
.g-last {
}
.g-even {
background-color: #fff;
}
.g-odd {
background-color: #eee;
}
/** *******************************************************************
* 6) Containers/widgets
**********************************************************************/
/* Generic block container ~~~~~~~~~~~~~~~ */
.g-block {
clear: both;
margin-bottom: 2.5em;
}
.g-block-content {
}
/* Superfish menu overrides ~~~~~~~~~~~~~~ */
.sf-menu ul {
width: 12em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
left: 12em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
left: 12em;
}
/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~~~~ */
.ui-widget-overlay {
background: #000;
opacity: .7;
}
/* Buttons ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.g-button {
display: inline-block;
margin: 0 4px 0 0;
padding: .2em .4em;
}
.g-button,
.g-button:hover,
.g-button:active {
cursor: pointer !important;
outline: 0;
text-decoration: none;
-moz-outline-style: none;
}
/* jQuery UI ThemeRoller buttons ~~~~~~~~~ */
.g-buttonset {
padding-left: 1px;
}
.g-buttonset li {
float: left;
}
.g-buttonset .g-button {
margin: 0;
}
.ui-icon-left .ui-icon {
float: left;
margin-right: .2em;
}
.ui-icon-right .ui-icon {
float: right;
margin-left: .2em;
}
/* Rotate icon, ThemeRoller only provides one of these */
.ui-icon-rotate-ccw {
background-position: -192px -64px;
}
.ui-icon-rotate-cw {
background-position: -208px -64px;
}
.g-progress-bar {
height: 1em;
width: 100%;
margin-top: .5em;
display: inline-block;
}
/* Status and validation messages ~~~~ */
.g-message-block {
background-position: .4em .3em;
border: 1px solid #ccc;
padding: 0;
}
#g-action-status {
margin-bottom: 1em;
}
#g-action-status li,
p#g-action-status,
div#g-action-status {
padding: .3em .3em .3em 30px;
}
#g-site-status li {
border-bottom: 1px solid #ccc;
padding: .3em .3em .3em 30px;
}
.g-module-status {
clear: both;
margin-bottom: 1em;
}
.g-message {
background-position: 0 50%;
}
/* Breadcrumbs ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.g-breadcrumbs {
clear: both;
padding: 0 20px;
}
.g-breadcrumbs li {
background: transparent url('images/ico-separator.gif') no-repeat scroll left center;
float: left;
padding: 1em 8px 1em 18px;
}
.g-breadcrumbs .g-first {
background: none;
padding-left: 0;
}
.g-breadcrumbs li a,
.g-breadcrumbs li span {
display: block;
}
#g-dialog ul.g-breadcrumbs {
margin-left: 0;
padding-left: 0;
}
/* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.g-paginator {
padding: .2em 0;
width: 100%;
}
.g-paginator li {
float: left;
width: 30%;
}
.g-paginator .g-info {
background: none;
padding: .2em 0;
text-align: center;
width: 40%;
}
/* Dialogs and panels ~~~~~~~~~~~~~~~~~~ */
#g-dialog {
text-align: left;
}
#g-dialog legend {
display: none;
}
#g-dialog .g-cancel {
margin: .4em 1em;
}
#g-panel {
display: none;
padding: 1em;
}
/* Inline layout ~~~~~~~~~~ */
.g-inline li {
float: left;
margin-left: 1.8em;
padding-left: 0 !important;
}
.g-inline li.g-first {
margin-left: 0;
}
/** *******************************************************************
* 7) Right to left language styles
**********************************************************************/
.rtl {
direction: rtl;
}
.rtl #g-header,
.rtl #g-content,
.rtl #g-sidebar,
.rtl #g-footer,
.rtl caption,
.rtl th,
.rtl #g-dialog,
.rtl .g-context-menu li a,
.rtl .g-message-box li,
.rtl #g-site-status li {
text-align: right;
}
.rtl .g-text-right {
text-align: left;
}
.rtl .g-error,
.rtl .g-info,
.rtl .g-success,
.rtl .g-warning,
.rtl #g-add-photos-status .g-success,
.rtl #g-add-photos-status .g-error {
background-position: center right;
padding-right: 30px !important;
}
.rtl form li.g-error,
.rtl form li.g-info,
.rtl form li.g-success,
.rtl form li.g-warning {
padding-right: 0 !important;
}
.rtl .g-left,
.rtl .g-inline li,
.rtl #g-content #g-album-grid .g-item,
.rtl .sf-menu li,
.rtl .g-breadcrumbs li,
.rtl .g-paginator li,
.rtl .g-buttonset li,
.rtl .ui-icon-left .ui-icon,
.rtl .g-short-form li,
.rtl form ul ul li,
.rtl input[type="submit"],
.rtl input[type="reset"],
.rtl input.checkbox,
.rtl input[type=checkbox],
.rtl input.radio,
.rtl input[type=radio] {
float: right;
}
.rtl .g-right,
.rtl .ui-icon-right .ui-icon {
float: left;
}
.rtl .g-inline li {
margin-right: 1em;
}
.rtl .g-inline li.g-first {
margin-right: 0;
}
.rtl .g-breadcrumbs li {
background: transparent url('images/ico-separator-rtl.gif') no-repeat scroll right center;
padding: 1em 18px 1em 8px;
}
.rtl .g-breadcrumbs .g-first {
background: none;
padding-right: 0;
}
.rtl input.checkbox {
margin-left: .4em;
}
.rtl #g-add-comment {
right: inherit;
left: 0;
}
.rtl .ui-icon-left .ui-icon {
margin-left: .2em;
}
.rtl .ui-icon-right .ui-icon {
margin-right: .2em;
}
/* RTL Corner radius ~~~~~~~~~~~~~~~~~~~~~~ */
.rtl .g-buttonset .ui-corner-tl {
-moz-border-radius-topleft: 0;
-moz-border-radius-topright: 5px;
-webkit-border-top-left-radius: 0;
-webkit-border-top-right-radius: 5px;
border-top-left-radius: 0;
border-top-right-radius: 5px;
}
.rtl .g-buttonset .ui-corner-tr {
-moz-border-radius-topright: 0;
-moz-border-radius-topleft: 5px;
-webkit-border-top-right-radius: 0;
-webkit-border-top-left-radius: 5px;
border-top-right-radius: 0;
border-top-left-radius: 5px;
}
.rtl .g-buttonset .ui-corner-bl {
-moz-border-radius-bottomleft: 0;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-left-radius: 0;
-webkit-border-bottom-right-radius: 5px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 5px;
}
.rtl .g-buttonset .ui-corner-br {
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 5px;
-webkit-border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 5px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 5px;
}
.rtl .g-buttonset .ui-corner-right,
.rtl .ui-progressbar .ui-corner-right {
-moz-border-radius-topright: 0;
-webkit-border-top-right-radius: 0;
border-top-right-radius: 0;
-moz-border-radius-topleft: 5px;
-webkit-border-top-left-radius: 5px;
border-top-left-radius: 5px;
-moz-border-radius-bottomright: 0;
-webkit-border-bottom-right-radius: 0;
border-bottom-right-radius: 0;
-moz-border-radius-bottomleft: 5px;
-webkit-border-bottom-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.rtl .g-buttonset .ui-corner-left,
.rtl .ui-progressbar .ui-corner-left {
-moz-border-radius-topleft: 0;
-webkit-border-top-left-radius: 0;
border-top-left-radius: 0;
-moz-border-radius-topright: 5px;
-webkit-border-top-right-radius: 5px;
border-top-right-radius: 5px;
-moz-border-radius-bottomleft: 0;
-webkit-border-bottom-left-radius: 0;
border-bottom-left-radius: 0;
-moz-border-radius-bottomright: 5px;
-webkit-border-bottom-right-radius: 5px;
border-bottom-right-radius: 5px;
}
/* RTL Superfish ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.rtl .sf-menu a {
border-left: none;
border-right:1px solid #fff;
}
.rtl .sf-menu a.sf-with-ul {
padding-left: 2.25em;
padding-right: 1em;
}
.rtl .sf-sub-indicator {
left: .75em !important;
right: auto;
background: url('superfish/images/arrows-ffffff-rtl.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
.rtl a > .sf-sub-indicator { /* give all except IE6 the correct values */
top: .8em;
background-position: -10px -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
.rtl a:focus > .sf-sub-indicator,
.rtl a:hover > .sf-sub-indicator,
.rtl a:active > .sf-sub-indicator,
.rtl li:hover > a > .sf-sub-indicator,
.rtl li.sfHover > a > .sf-sub-indicator {
background-position: 0 -100px; /* arrow hovers for modern browsers*/
}
/* point right for anchors in subs */
.rtl .sf-menu ul .sf-sub-indicator { background-position: 0 0; }
.rtl .sf-menu ul a > .sf-sub-indicator { background-position: -10px 0; }
/* apply hovers to modern browsers */
.rtl .sf-menu ul a:focus > .sf-sub-indicator,
.rtl .sf-menu ul a:hover > .sf-sub-indicator,
.rtl .sf-menu ul a:active > .sf-sub-indicator,
.rtl .sf-menu ul li:hover > a > .sf-sub-indicator,
.rtl .sf-menu ul li.sfHover > a > .sf-sub-indicator {
background-position: 0 0; /* arrow hovers for modern browsers*/
}
.rtl .sf-menu li:hover ul,
.rtl .sf-menu li.sfHover ul {
right: 0;
}
.rtl ul.sf-menu li li:hover ul,
.rtl ul.sf-menu li li.sfHover ul {
right: 12em; /* match ul width */
}
.rtl ul.sf-menu li li li:hover ul,
.rtl ul.sf-menu li li li.sfHover ul {
right: 12em; /* match ul width */
}
/*** shadows for all but IE6 ***/
.rtl .sf-shadow ul {
background: url('superfish/images/shadow.png') no-repeat bottom left;
padding: 0 0 9px 8px;
-moz-border-radius-bottomright: 17px;
-moz-border-radius-topleft: 17px;
-webkit-border-top-left-radius: 17px;
-webkit-border-bottom-right-radius: 17px;
}
/* RTL paginator ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.rtl .g-paginator .g-info {
width: 35%;
}
.rtl .g-paginator .g-text-right {
margin-left: 0;
}
.rtl .g-paginator .ui-icon-seek-end {
background-position: -80px -160px;
}
.rtl .g-paginator .ui-icon-seek-next {
background-position: -48px -160px;
}
.rtl .g-paginator .ui-icon-seek-prev {
background-position: -32px -160px;
}
.rtl .g-paginator .ui-icon-seek-first {
background-position: -64px -160px;
}