Advertisement
Guest User

Pocket / Getpocket.com: Enhanced CSS

a guest
Dec 10th, 2017
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.35 KB | None | 0 0
  1. /* Here be dragons */
  2.  
  3. html,
  4. body,
  5. .page-readersepia {
  6.     background-color: #fffff8;
  7. }
  8.  
  9. body,
  10. .page-readersepia .reader_content,
  11. .page-readersepia .reader_content h1,
  12. .page-readersepia .reader_content h2,
  13. .page-readersepia .reader_content h3,
  14. .page-readersepia .reader_content h4,
  15. .page-readersepia .reader_content h5,
  16. .page-readersepia .reader_content h6 {
  17.     color: #330;
  18. }
  19.  
  20. .text_body a,
  21. .page-readersepia .text_body a {
  22.     color: #2a5ab5;
  23.     transition-property: color, background-color;
  24.     transition-duration: 0.3s;
  25.     transition-timing-function: linear;
  26.     transition-delay: 0.1s;
  27. }
  28.  
  29. .text_body img[src*=".gif"] {
  30.     opacity: 0;
  31.     transition:  opacity 1s ease 2s;
  32. }
  33.  
  34. .text_body img[src*=".gif"]:hover {
  35.     opacity: 1;
  36.     background-color: grey;
  37.     transition: opacity 1s ease 0.3s;
  38. }
  39.  
  40. .text_body img[src*=".gif"] + caption::after {
  41.     content: "(gif)"
  42. }
  43.  
  44. a.title,
  45. a:hover,
  46. a:focus {
  47.     color: #2a5ab5 !important;
  48. }
  49.  
  50. .text_body a:hover {
  51.     text-decoration: underline;
  52.     background-color: #f0f8ff;
  53. }
  54.  
  55. .text_body a:active {
  56.     background-color: #2a5ab5;
  57.     color: #fffff6 !important;
  58. }
  59.  
  60. .reader_content {
  61.     max-width: 55em !important;
  62. }
  63.  
  64. a.button,
  65. a.button:hover,
  66. a.button:focus,
  67. a.button:active {
  68.     color: white !important;
  69. }
  70.  
  71. .confirmation_dialog a.button {
  72.     color: #222 !important;
  73. }
  74.  
  75. /* Item titles:  black */
  76. .item a.title {
  77.     color: #313131 !important;
  78. }
  79.  
  80. /* Premium nag */
  81.  
  82. [data-itemurl~="https://getpocket.com/premium"] {
  83.     display: none;
  84. }
  85.  
  86. /* Add item counters */
  87.  
  88. .queue_list_main {
  89.     counter-reset: itemNum;
  90. }
  91.  
  92. .item_type_normal {
  93.     counter-increment: itemNum;
  94. }
  95.  
  96. .page_queue_list .item .title:before {
  97.     content: counters(itemNum, "")". ";
  98. }
  99.  
  100. /* Move tag editor to top of screen, embiggen */
  101.  
  102. .overlay_screen .content_detail {
  103.     vertical-align: top;
  104.     padding-top: 1em;
  105. }
  106.  
  107. .overlay_screen .overlay_detail_confirmtag {
  108.     width: 50em;
  109.     padding: 0.5em;
  110. }
  111.  
  112. .token-input-list {
  113.     width: 62em;
  114. }
  115.  
  116. /* Move button */
  117.  
  118. .overlay_screen .overlay_detail_confirmtag .button {
  119.     clear: both;
  120.     margin-top: 0.5em;
  121. }
  122.  
  123. /* Hide sponsored items */
  124.  
  125. .item_type_spoc {
  126.     display: none !important;
  127. }
  128.  
  129. /* Tweak item URL line height */
  130.  
  131. .item .original_url {
  132.     line-height: 1.4;
  133. }
  134.  
  135. /* Article metadata:  tell us what you don't have */
  136. .authors[style*="display: none;"] {
  137.     display: initial !important;
  138. }
  139.  
  140. .authors[style*="display: none;"]::after {
  141.     content: "No Author Determined, ";
  142.     font-weight: bold;
  143. }
  144.  
  145. .date.date_empty::after {
  146.     content: "No Date Determined";
  147. }
  148.  
  149. /* Normal tags container */
  150. .reader_head .tags {
  151.     display: block;
  152.     margin-top: 0.75em;
  153.     width: 100%;
  154. }
  155.  
  156. .reader_head .sub li {
  157.     height: auto;
  158. }
  159.  
  160. .reader_head .tags .tag_container {
  161.     height: auto;
  162.     max-width: none;
  163.     width: calc(100% - 5em);
  164.     counter-reset: tagCount;
  165. }
  166.  
  167. .reader_head .tags .tag_container .tag {
  168.     counter-increment: tagCount;
  169. }
  170.  
  171. .reader_head .tags .tag_container > .tag:last-child {
  172.     position: relative;
  173. }
  174.  
  175. .reader_head .tags .tag_container > .tag:last-child::after {
  176.     content: "(" counter(tagCount) ")";
  177.     color: #b1b2b2;
  178.     display: inline-block;
  179.     margin-left: 2em;
  180.     position: absolute;
  181.     top: 0;
  182.     right: -3em;
  183.     padding: 4px 8px;
  184. }
  185.  
  186. .page-readersepia .tags .tag_container > .tag:last-child::after {
  187.     color: #ad998b;
  188. }
  189.  
  190. .page-readerdark .tags .tag_container > .tag:last-child::after {
  191.     color: #ccc;
  192. }
  193.  
  194.  
  195.  
  196.  
  197. /* Show overflow tags */
  198. .reader_head .tags .tag-overflow {
  199.     display: block;
  200. }
  201.  
  202. /* But not the overflow link button */
  203. .page-readersepia .reader_head .tags .tag-overflow-link {
  204.     display: none;
  205. }
  206.  
  207. /* Tags popover list -- embiggen */
  208. #pagenav_tagfilter ul {
  209.     height: 800px;
  210. }
  211.  
  212. .popover-new-centeredleft {
  213.     height: 810px;
  214.     top: -245.5px !important;
  215. }
  216.      
  217. /* Tags-editing overlay -- not so opaque */
  218. .overlay_screen {
  219.     background: rgba( 0,0,0,0.1);
  220.     /* shorten it ... */
  221.     height: 0;
  222. }
  223.  
  224. /* Article tags editor -- override 000-Annoyances no display */
  225.  
  226. html:not(#stylus) body:not(.page-reader) .overlay_screen .overlay_detail_confirmtag {
  227.     display: block !important;
  228. }
  229.  
  230. /* Add item menu */
  231. #addMenu {
  232.     right: 136px;
  233.     width: 70em;
  234.     left: auto !important;
  235. }
  236.  
  237. #addMenu .container input {
  238.     width: 52em;
  239. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement