-
Notifications
You must be signed in to change notification settings - Fork 6
/
gpme.css
929 lines (832 loc) · 23.8 KB
/
gpme.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
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
/*
* Filename: gpme.css
* More info, see: gpme.js
*
* Web: http://huyz.us/google-plus-me/
* Source: https://github.com/huyz/google-plus-me
* Author: Huy Z http://huyz.us/
*
* To update CSS class names, do regexp substitution:
* C_SELECTED: rh
* C_IS_MUTED: En
* [N/A posts from Incoming]: Xs
* [N/A context menu button]: bg
* C_MENU: Om
* C_ITEM_GUTS: Ve
* C_TITLE: Ex
* [N/A album photo or youtube image preview]: B-u-ac
* C_FAKEINPUT_COMMENT: eo
* C_LINK_COMMENT: fd
*
*/
/*
* General utility classes
*/
/*
.gpme-overflow-hidden {
overflow: hidden;
}
*/
/*
* Announcements & news, when Google+ changes its DOM and breaks G+me
*/
/* Only shown when Google+ has changed its DOM */
#gpme-announcement-li {
padding: 5px;
margin: auto 7px;
height: 20px;
}
#gpme-announcement { /* Overrides .gbm */
top: 32px;
right: -230px !important; /* Overrides #gbg .gbm */
left: auto;
visibility: hidden;
padding: 13px 20px;
width: 800px;
white-space: normal;
line-height: 20px;
background-color: #FAFAFA;
border-width: 2px;
}
#gpme-news {
background: url('chrome-extension://__MSG_@@extension_id__/images/loading.gif') no-repeat center center;
width: 100%;
height: 250px;
border: 1px solid #CCC;
}
/*
* The entire post item
*/
div.gpme-enh.gpme-folded { /* Added div.gpme-enh for specificity to work in games stream */
padding: 0;
}
/* Selected post, folded; needs to be highly selective */
.gpme-folded.rh {
border-bottom: 1px solid transparent; /* Don't mess with margin-bottom or padding-bottom, as that's incompatible with Usability Boost */
}
/* Selected post, folded */
/*.gpme-enh.rh { For Stb, only make it thick when folded */
.gpme-folded.gpme-enh.rh {
/*border-left-color: red; /* #3d9400;*/
border-left-width: 2px;
margin-left: -1px;
}
/* The little animated bar; needs to more selective than G+'s */
/* For Stb, only make it thick when folded
div.rh {
border-left-width: 2px;
}
*/
/*
* Common to titlebar and commentbar
*/
/* Tweaked from C_FEEDBACK */
.gpme-bar {
background-color: #f5f5f5;
background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
border: 1px solid #DCDCDC;
color: #666;
}
.gpme-bar:active {
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.gpme-sep {
color: #999;
}
.gpme-fold-icon {
float: left;
font-size: 10px;
line-height: 22px;
color: #CCCCCC;
}
.gpme-title-folded .gpme-fold-icon,
.gpme-comments-title-folded .gpme-fold-icon { /* We don't that to apply to side commentbar */
margin: 0 5px 0 3px;
}
/*
* The titlebar
*/
.gpme-unfolded > .gpme-titlebar {
margin: -16px -21px 4px -21px; /* Break out of the paddings */
}
/* Unread posts need to have light background */
.gpme-folded:not(.gpme-read) .gpme-title-folded {
/*
background-image: -webkit-linear-gradient(top,#fdfdfd,#f9f9f9);
background-image: -moz-linear-gradient(top,#fdfdfd,#f9f9f9);
background-image: -ms-linear-gradient(top,#fdfdfd,#f9f9f9);
background-image: -o-linear-gradient(top,#fdfdfd,#f9f9f9);
background-image: linear-gradient(top,#fdfdfd,#f9f9f9);
*/
background-image: none;
background-color: white;
border-top: 1px solid white;
}
.gpme-title-clickarea {
height: 100%
}
/* Unread posts need to have dark text color */
.gpme-enh:not(.gpme-read) .gpme-title-clickarea > * { /* Star so that even dashes get bolded, in case there is no snippet */
color: black;
}
/* Muted post: _C_IS_MUTED */
.gpme-enh.En { /* Matches .gpme-folded.rh */
border-bottom: 1px solid transparent; /* Don't mess with margin-bottom or padding-bottom, as that's incompatible with Usability Boost */
height: 38px; /* FIXME: Don't know why it's so small and the correct way to fix that */
}
.gpme-enh.En .gpme-titlebar,
.gpme-enh.En .gpme-bottombar {
margin: 0;
display: none;
}
.gpme-title-unfolded {
height: 14px;
}
.gpme-title-folded {
padding: 4px; /* Must match gpme-comment-count-bg's right */
position: relative;
border: 1px solid #f5f5f5; /* Overrides gpme-bar. transparent so that gpme-read doesn't shift */
border-bottom: 1px solid #DCDCDC;
white-space: nowrap; /* Overridden when summaries have more than one line */
}
.gpme-folded .gpme-title-unfolded {
display: none
}
.gpme-unfolded .gpme-title-folded {
display: none;
}
/* Color fold icons depending on importance */
/*.gpme-title-folded > .gpme-fold-icon {*/
/*visibility: hidden;*/
/*}*/
/*.gpme-title-folded.gpme-perms-limited > .gpme-fold-icon {*/
/*visibility: visible;*/
/*color: #3d9400; [> color from hangout button .j-e-Da <]*/
/*}*/
.gpme-circle-icon {
height: 20px;
width: 20px;
}
.gpme-title-folded.gpme-perms-limited .gpme-circle-icon {
background: url('chrome-extension://__MSG_@@extension_id__/images/circle_orange13.png') no-repeat;
background-position: 4px 5px;
background-size: 50%;
opacity: 0.6;
}
.gpme-title-unfolded:hover,
.gpme-comments-title-unfolded:hover,
.gpme-title-folded > .gpme-title-clickarea:hover,
.gpme-comments-title-folded > .gpme-comments-title-clickarea:hover {
cursor: pointer;
}
.gpme-title-unfolded:hover .gpme-fold-icon,
.gpme-title-folded > .gpme-title-clickarea:hover .gpme-fold-icon,
.gpme-comments-title-unfolded:hover .gpme-fold-icon,
.gpme-comments-title-folded > .gpme-comments-title-clickarea:hover .gpme-fold-icon {
color: #333333;
}
/*
* Inside unfolded title bar
*/
.gpme-fold-icon.gpme-fold-icon-unfolded-left {
padding: 0 6px;
margin-top: -4px;
float: left;
}
.gpme-fold-icon.gpme-fold-icon-unfolded-right {
padding: 0 7px;
margin-top: -4px;
float: right;
}
.gpme-folded .gpme-fold-icon-unfolded-left {
display: none;
}
.gpme-folded .gpme-fold-icon-unfolded-right {
display: none;
}
/*
* Title: inside folded title bar
*/
.gpme-title-folded > div /* .gZgCtb */ {
line-height: 22px;
/* Copied from .gZgCtb, so that it works for Start G+ as well */
overflow: hidden;
text-overflow: ellipsis;
}
.gpme-title-folded img {
height: 20px;
float: none; /* User photos must be inline, not floating */
vertical-align: -27%; /* so it doesn't shift the text down */
}
/* User photos */
.gpme-title-folded .gpme-title-sender img {
width: 20px;
margin: 0 5px 0 0;
}
/* Other images */
.gpme-title-thumbnails {
float: right;
margin-right: 7px;
}
.gpme-title-thumbnails > img {
margin: 0 0 0 5px;
max-width: 60px;
opacity: 0.5;
}
/* Injected mobile/checkin icons */
div.gpme-title-folded .gpme-title-icons { /* "span" coz need to be more specific than G+ */
vertical-align: -27%;
margin: 0;
float: none; /* Override hangout live icon's float left */
display: inline-block; /* For hangout live icon */
}
/*
* Right button area
*/
.gpme-button-area {
float: right;
height: 20px; /* Must match height of gpme-comment-count-bg or get weird space */
width: 21px;
-moz-border-radius: 2px;
border-radius: 2px;
margin-left: 3px;
}
/* No longer needed, now that red is no longer a button
.gpme-button-area:hover {
box-shadow: 0 0 5px 1px rgba(128, 128, 128, 0.7);
-webkit-box-shadow: 0 0 5px 1px rgba(128, 128, 128, 0.7);
-moz-box-shadow: 0 0 5px 1px rgba(128, 128, 128, 0.7);
}
.gpme-button-area:active {
box-shadow: 0 0 2px 1px rgba(128, 128, 128, 0.7);
-webkit-box-shadow: 0 0 2px 1px rgba(128, 128, 128, 0.7);
-moz-box-shadow: 0 0 2px 1px rgba(128, 128, 128, 0.7);
}
*/
.gpme-mute-button {
/* http://findicons.com/icon/70079/mute */
background: url('chrome-extension://__MSG_@@extension_id__/images/mute21.png') no-repeat;
}
.gpme-mark-read-button {
/* http://findicons.com/icon/267830/checkmark?id=268147 */
background: url('chrome-extension://__MSG_@@extension_id__/images/checkmark21.png') no-repeat;
}
.gpme-mute-button,
.gpme-mark-read-button {
display: none;
}
.gpme-mute-button:hover ,
.gpme-mark-read-button:hover {
cursor: pointer;
}
.gpme-enh.gpme-read .gpme-button-area:not(.gpme-new-comments):hover > .gpme-mute-button,
.gpme-enh:not(.gpme-read) .gpme-button-area:hover > .gpme-mark-read-button,
.gpme-button-area.gpme-new-comments:hover > .gpme-mark-read-button {
display: block;
width: 21px;
height: 20px;
background-color: #CCC;
}
.gpme-button-area:hover > .gpme-mute-button:active,
.gpme-button-area:hover > .gpme-mark-read-button:active { /* Inset shadow & shift down */
box-shadow: inset 0 0 3px 1px rgba(128, 128, 128, 0.5);
-webkit-box-shadow: inset 0 0 3px 1px rgba(128, 128, 128, 0.5);
-moz-box-shadow: inset 0 0 3px 1px rgba(128, 128, 128, 0.5);
background-position: 0 1px;
}
/*
* Left button area
*/
.gpme-button-area-left { /* To match gpme-button-area */
float: left;
height: 20px;
width: 21px;
-moz-border-radius: 2px;
border-radius: 2px;
}
/*
* Comment counter
*/
.gpme-comment-count-container.gpme-hide {
display: none; /* hide if no comments and no highlight */
}
/* Default in case injectCSS() fails:
* Sometimes this happens with G+ for some reason. Happened at times when I was reloading a profile page. */
.gpme-comment-count-bg {
/* Rest from #gbi1a */
background: url(https://ssl.gstatic.com/gb/images/h_bedf916a.png);
background-position: 0 -274px;
position: absolute;
right: 5px;
top: 3px;
height: 20px;
width: 21px;
}
.gpme-comment-count-nohilite > .gpme-comment-count-bg {
background-position: -26px -274px; /* From #gbi1a.gbid */
}
/* Overrides injectCss(); add div just for higher specificity. */
div.gpme-comment-count-container > .gpme-comment-count-bg {
position: static; /* Override the absolute */
visibility: visible; /* Override the hidden when G+ notifications are slow on load */
/* Float so that fg can overlap */
float: right;
margin-left: -21px; /* So that it doesn't push the fg to the left and keep fg from centering */
/* For some reason on Win netbook, the height is 18px early, then 20px */
height: 20px;
}
/* In commentbar this is different because of the nature of the top-margin
* which has to be -1px for comments to overwrite that line above comments
*/
.gpme-comments-title-folded div.gpme-comment-count-container > .gpme-comment-count-bg {
top: 2px;
}
/* Overrides injectCss(); add div just for higher specificity. */
div.gpme-comment-count-nohilite > .gpme-comment-count-fg,
div.gpme-comment-count-nohilite > .gpme-comment-count-bg {
cursor: default; /* Override #gbi1a.gbid */
}
/* Default in case injectCSS() fails:
* Sometimes this happens with G+ for some reason. Happened at times when I was reloading a profile page. */
.gpme-comment-count-fg {
text-align: center; /* Inherited from parent #gbgs1 */
/* Rest from #gbi1 */
color: #fff;
display: block;
font-size: 11px;
font-weight: bold;
position: relative;
width: 21px;
}
.gpme-comment-count-nohilite > .gpme-comment-count-fg {
color: #999; /* From #gbi1.gbids */
}
/* Overrides injectCss(); add div just for higher specificity. */
div.gpme-comment-count-container > .gpme-comment-count-fg {
visibility: visible; /* Override the hidden when G+ notifications are slow on load */
height: 18px;
line-height: 18px; /* Makes the -fg line up properly on Windows/Mac */
}
/* So that we can animate transition */
div.gpme-enh .gpme-comment-count-fg {
display: inline-block;
overflow: hidden;
}
/* Handle clicks on the highlighted icon */
.gpme-button-area:hover > .gpme-comment-count-container:not(.gpme-comment-count-nohilite) {
cursor: pointer;
}
.gpme-button-area:hover > .gpme-comment-count-container:not(.gpme-comment-count-nohilite):active > .gpme-comment-count-bg {
box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.4);
-webkit-box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.4);
-moz-box-shadow: inset 0 0 3px 1px rgba(0, 0, 0, 0.4);
}
.gpme-button-area:hover > .gpme-comment-count-container:not(.gpme-comment-count-nohilite):active > .gpme-comment-count-fg {
padding-top: 1px;
}
/*
* Preview
* :not(.En) means not muted
*/
/* Posts from Incoming stream */
.gpme-folded:not(.En) .Xs /* Find gray area with negative margins */ {
margin-left: auto;
margin-right: auto;
}
.gpme-preview-triangle {
display: none;
}
.gpme-folded:not(.En) .gpme-preview-triangle {
display: inline;
position: absolute;
left: -16px;
top: 20px; /* -top of wrapper */
height: 30px;
width: 17px;
background: url('chrome-extension://__MSG_@@extension_id__/images/preview-triangle.png') no-repeat;
}
.gpme-folded:not(.En) .gpme-preview-right > .gpme-preview-triangle {
right: -16px;
left: auto;
background: url('chrome-extension://__MSG_@@extension_id__/images/preview-triangle-right.png') no-repeat;
}
.gpme-folded:not(.En) .bg { /* Context menu button */
position: absolute;
margin: 0;
right: 2px;
top: 3px;
float:none;
background-color: white;
/* margin-right: -13px; /* Gained 44-13=31 px */
}
.gpme-folded:not(.En) .Om { /* C_MENU */
z-index: 11;
}
.gpme-folded:not(.En) .gpme-post-wrapper {
position: absolute;
left: 435px; /* (31+60+26) + 137 shrinking + 195 width of sidebar - 20 slack; overridden dynamically */
top: -20px; /* overridden dynamically */
z-index: 10;
width: 323px; /* OUTDATED: 574-(31+60+32) - 137 shrinking*/
padding: 6px 0 6px 8px; /* Gained (21-8)*2=26px; actually, now moved the 8px to .a-f-i-p's padding-right */
background: white;
outline: 1px solid #CCC;
box-shadow: 0 4px 16px rgba(0,0,0,0.4);
-webkit-box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.gpme-folded:not(.En) .gpme-post-wrapper > .Ve /* _C_ITEM_GUTS */ {
margin-left: 0; /* Gained 60px */
margin-right: 0; /* OUTDATED: Gained 44-13=31 px */
padding-right: 8px;
overflow-y: scroll;
overflow-x: hidden;
}
/* From Google News */
.gpme-folded:not(.En) .gpme-post-wrapper > .Ve::-webkit-scrollbar {
width: 8px;
background: transparent;
overflow: visible;
}
.gpme-folded:not(.En) .gpme-post-wrapper > .Ve::-webkit-scrollbar-thumb {
background-color: transparent;
}
.gpme-folded:not(.En) .gpme-post-wrapper.gpme-hover > .Ve::-webkit-scrollbar-thumb {
background-color: #CCC;
}
.gpme-folded:not(.En) .Ve::-webkit-scrollbar-button {
height: 7px;
display: block;
background-color: transparent;
}
.gpme-folded:not(.En) .gpme-post-wrapper .Ex /* C_TITLE */{
margin-right: 5px;
}
.gpme-folded:not(.En) .gpme-post-wrapper .gpr_tools { /* Google Plus Reply+ */
display: none;
}
/* Shrink images to fit preview */
/* Pick less specific selector with max dimensions of both:
* - Album photo (O-F-Nf-la)
* https://plus.google.com/103450266544747516806/posts/f8RKcEssKwL [limited]
* - Youtube image preview (O-F-Ja)
*/
.gpme-folded:not(.En) .gpme-post-wrapper div.B-u-ac {
height: auto !important; /* Overrides inline height */
}
.gpme-folded:not(.En) .gpme-post-wrapper img {
max-width: 100%; /* Resizes image */
}
.gpme-link-comment {
display: none
}
/* .eo is _C_FAKEINPUT_COMMENT */
.gpme-folded:not(.En) .gpme-post-wrapper .gpme-link-comment:not(.eo) /* not C_FAKEINPUT_COMMENT */ { /* Link */
display: inline
}
.gpme-preview-enh .gpme-post-wrapper .eo.gpme-link-comment { /* Fake input -- my copy */
display: block
}
.gpme-preview-enh .gpme-post-wrapper .eo:not(.gpme-link-comment) { /* Fake input -- original */
display: none
}
/* NOTE: Replies and More incorrectly duplicates the non-style wf class -- should have only copied d-k,
* but this makes it easier for us anyway */
.gpme-folded:not(.En) .gpme-post-wrapper .gpme-link-comment + .fd /* C_LINK_COMMENT -> Reply to Author */,
.gpme-folded:not(.En) .gpme-post-wrapper .gpme-link-comment + .eo /* Add a comment... */ {
display: none
}
/*
* Commentbar
*/
/* Hide in preview */
.gpme-folded:not(.En) .gpme-commentbar {
display: none;
}
.gpme-comments-title-unfolded {
float: left;
margin-left: -12px;
margin-top: -1px; /* To align with line above */
/* So that gpme-comments-fold-icon-unfolded-bottom can find the bottom
* Wow, for some reason 'relative' makes typing a comment really slow if
* under a long list of comments. But 'absolute' is fine. Strange. */
position: absolute;
width: 10px;
height: 50px; /* Dynamically overridden */
min-height: 24px; /* Constrain slideUp() */
-moz-border-radius-topleft: 8px;
border-top-left-radius: 8px;
-moz-border-radius-bottomleft: 8px;
border-bottom-left-radius: 8px;
}
.gpme-comments-title-folded {
margin-top: -1px; /* To overwrite line above */
margin-bottom: 1px; /* So "Add a comment" doesn't overwrite our border */
padding: 6px 4px;
position: relative;
}
.gpme-comments-title-folded > div {
white-space: nowrap;
line-height: 22px;
overflow: hidden;
text-overflow: ellipsis;
}
.gpme-comments-title-clickarea {
height: 100%
}
.gpme-comments-folded .gpme-comments-title-unfolded {
display:none
}
.gpme-comments-unfolded .gpme-comments-title-folded {
display:none
}
/*
* Inside unfolded comment bar
*/
.gpme-comments-unfolded .gpme-comments-title {
display: none;
}
.gpme-comments-unfolded .gpme-comments-fold-icon-unfolded-top {
padding: 4px 0;
}
.gpme-comments-unfolded .gpme-comments-fold-icon-unfolded-bottom {
padding: 4px 0;
position: absolute;
bottom: 0;
}
/*
* Inside folded comment bar
*/
.gpme-comments-folded:not(.En) .gpme-comments-fold-icon-unfolded-top {
display: none;
}
.gpme-comments-folded:not(.En) .gpme-comments-fold-icon-unfolded-bottom {
display: none;
}
.gpme-comments-snippet {
padding: 0 6px;
}
/*
* Bottombar
*/
div.gpme-bottombar { /* div for higher specificity */
margin: 2px -21px -16px -21px; /* Break out of the paddings */
border-top: 1px solid #EFEFEF; /* Make top edge lighter than C_FEEDBACK */
}
div.gpme-bottombar.gpme-hover:hover { /* Like C_FEEDBACK */
cursor: pointer;
}
.gpme-folded:not(.En) div.gpme-bottombar {
display: none;
}
.gpme-bottombar .gpme-title-unfolded {
height: 12px;
}
.gpme-bottombar .gpme-fold-icon {
line-height: 20px; /* To properly place from top of parent */
margin-bottom: -2px; /* So that it doesn't push next post down, coz 20px > 16px */
}
/*
* Content Pane buttons
*/
.gpme-content-buttons {
float: right;
}
.gpme-content-button {
display: inline-block;
height: 16px;
width: 16px;
margin-left: 5px;
opacity: 0.5;
}
.gpme-content-button:hover {
cursor: pointer;
box-shadow: 0 0 2px 0 rgba(128, 128, 128, 0.7);
-webkit-box-shadow: 0 0 2px 0 rgba(128, 128, 128, 0.7);
-moz-box-shadow: 0 0 2px 0 rgba(128, 128, 128, 0.7);
opacity: 1;
}
.gpme-content-button:active { /* Inset shadow & shift down */
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
margin-top: 1px;
margin-bottom: -1px;
opacity: 1;
}
/* List mode button */
.gpme-button-mark-all-read {
display: none
}
.gpme-list-mode > .gpme-button-mark-all-read {
display: inline-block;
background: url('chrome-extension://__MSG_@@extension_id__/images/checkmarks16.png') no-repeat;
border: 1px solid rgba(0, 0, 0, 0.2);
-moz-border-radius: 3px;
border-radius: 3px;
}
/* Expanded mode buttons */
.gpme-button-expand-or-collapse-all {
display: none;
}
.gpme-expanded-mode > .gpme-button-expand-or-collapse-all {
display: block;
}
.gpme-button-expand-all {
background: url(https://mail.google.com/mail/u/0/?ui=2&view=dim&iv=jby7jc4gx732&it=ic) no-repeat -40px -60px;
display: none;
}
.gpme-button-collapse-all {
background: url(https://mail.google.com/mail/u/0/?ui=2&view=dim&iv=jby7jc4gx732&it=ic) no-repeat -60px -60px;
display: inline-block;
}
.gpme-button-expand-all {
background: url(https://mail.google.com/mail/u/0/?ui=2&view=dim&iv=jby7jc4gx732&it=ic) no-repeat -40px -60px;
display: none;
}
.gpme-button-expand-or-collapse-all.gpme-select-expand-all .gpme-button-collapse-all {
display: none;
}
.gpme-button-expand-or-collapse-all.gpme-select-expand-all .gpme-button-expand-all {
display: inline-block;
}
/*
* HoverCard post listing
*/
.gpme-card-posts-info {
width: 100px;
padding: 3px 15px 3px 5px;
text-align: right;
opacity: 0;
transition: opacity .90s linear;
-moz-transition: opacity .90s linear;
-ms-transition: opacity .90s linear;
-o-transition: opacity .90s linear;
-webkit-transition: opacity .90s linear;
}
/* Copied from "person in common" row (.c-W-Hc-kc on 2011-09-17) */
#gpme-card-posts-button {
background: -o-linear-gradient(top,#f7f7f7,#f4f4f4);
background: -webkit-gradient(linear,left top,left bottom,from(#f7f7f7),to(#f4f4f4));
background: -moz-linear-gradient(top,#f7f7f7,#f4f4f4);
background: -o-linear-gradient(top,#f7f7f7,#f4f4f4);
border-top: solid 1px #bcbcbc;
margin-top: 5px;
height: 32px;
padding: 0;
-webkit-user-select: none;
position: relative;
}
#gpme-card-posts-button-text {
text-align: center;
cursor: default;
font-size: 13px;
font-weight: bold;
}
#gpme-card-posts-tabs {
font-family: Arial, sans-serif;
font-size: 15px;
position: absolute;
top: 0;
left: 0;
padding: 0 5px;
}
.gpme-card-posts-tab {
padding: 7px 12px;
float: left;
cursor: pointer;
}
.gpme-card-posts-tab:hover {
color: #dd4b39;
}
.gpme-card-posts-tab-selected {
color: #dd4b39;
font-weight: bold;
}
#gpme-card-posts {
opacity: 0;
/*
position: fixed;
z-index: 10000;
*/
/*
left: 20px;
top: 20px;
height: 200px;
*/
background-color: white;
/*
border: solid 1px #bcbcbc;
box-shadow: 0 4px 16px rgba(0,0,0,0.3);
-webkit-box-shadow: 0 4px 16px rgba(0,0,0,0.3);
-moz-box-shadow: 0 4px 16px rgba(0,0,0,0.3);
transition: opacity .30s linear;
-moz-transition: opacity .30s linear;
-ms-transition: opacity .30s linear;
-o-transition: opacity .30s linear;
-webkit-transition: opacity .30s linear;
*/
}
#gpme-card-posts-content {
padding: 5px; /* Dunno why this messes with the table width */
color: #000;
}
#gpme-card-posts-content > :not(#gpme-card-posts-cloud) {
height: 285px; /* 370px; XXX Make it match the cloud for now as it's easier to animate */
overflow-y: auto;
overflow-x: hidden;
}
#gpme-card-posts-content > ::-webkit-scrollbar {
background: transparent;
overflow: visible;
width: 15px;
}
#gpme-card-posts-content > ::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,0.2);
border: solid #fff;
}
.gpme-card-posts-top-scorebar {
display: inline-block;
width: 38px;
height: 15px;
margin-right: 3px;
font-weight: bold;
position: relative;
}
.gpme-card-posts-top-scorebar-fg {
background-color: #DDD;
height: 15px;
}
.gpme-card-posts-top-scorebar-text {
position: absolute;
left: 0;
top: 0;
padding: 0 2px;
}
.gpme-card-posts-item-content {
padding: 5px 10px;
cursor: pointer; /* Damn Chrome doesn't reset it properly */
background-color: #f8f8f8;
border: 1px solid transparent;
border-left: 3px solid #CCC;
}
.gpme-card-posts-item-content:hover {
background-color: #f0f0f0;
border: 1px solid #bbb;
border-left: 3px solid #CCC;
cursor: pointer;
}
.gpme-card-posts-loading {
text-align: center;
}
.gpme-card-posts-loading > div {
background: #fff1a8;
border-color: #fff1a8;
color: #000;
font-size: 13px;
padding: 2px 15px;
font-weight: bold;
display: inline-block;
border: 3px solid transparent;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.gpme-card-posts-api-error {
background: #000;
color: #fff;
}
/*
* Compatibility with other extensions
*/
/* Usability Boost */
.gpme-folded:not(.En) .post_star {
top: 3px;
}
/* G+ Tweaks */
.gpme-enh .bcGTweaksMute {
top: 18px;
}
/* G+ Tweaks 2011-08-12 */
#content .a-m-C-S.a-C.a-m-C-wb-Qb .a-m-K-S.a-m-K-S-Rh-wb > div:first-child > div > div.gpme-content-buttons {
width: auto; /* Override width: 100% */
}
#content .a-m-C-S.a-C.a-m-C-wb-Qb .a-m-K-S.a-m-K-S-Rh-wb > div:first-child > div:first-child {
width: auto; /* Override width: 100% */
}
/* Usability Boost 2011-08-12 */
.gpme-titlebar .gpme-sep {
visibility: visible !important;
}
.gpme-titlebar .gpme-sep > span {
display: none;
}
/* Adhik */
.gpme-folded:not(.En) .ea-S-A /* FIXME */ {
margin-right: 0; /* Overrides 20px */
}