SHARE
TWEET

thunderbird-theme-adwaita-git-17.0_bfcd5c5-1: 0004-...patch

jtts Feb 5th, 2014 5 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From 2d2e0d8d7dd334971bb4b30305fb4f078bd9b132 Mon Sep 17 00:00:00 2001
  2. From: Alexander Seleznev <SeleznevRU@gmail.com>
  3. Date: Thu, 31 Oct 2013 03:24:57 +0700
  4. Subject: [PATCH 4/4] Port changes in about:addons page from gnome-firefox
  5.  
  6. ---
  7.  theme/chrome/mozapps/extensions/extensions.css | 133 ++++++++++++++-----------
  8.  1 file changed, 73 insertions(+), 60 deletions(-)
  9.  
  10. diff --git a/theme/chrome/mozapps/extensions/extensions.css b/theme/chrome/mozapps/extensions/extensions.css
  11. index 9196e30..2bc5827 100644
  12. --- a/theme/chrome/mozapps/extensions/extensions.css
  13. +++ b/theme/chrome/mozapps/extensions/extensions.css
  14. @@ -349,38 +349,32 @@
  15.  }
  16.  
  17.  #back-btn:-moz-locale-dir(ltr) {
  18. -  list-style-image: url(moz-icon://stock/go-previous-symbolic?size=menu);
  19. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-previous.svg);
  20.  }
  21.  
  22.  #forward-btn:-moz-locale-dir(ltr) {
  23. -  list-style-image: url(moz-icon://stock/go-next-symbolic?size=menu);
  24. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-next.svg);
  25.  }
  26.  
  27.  #back-btn:-moz-locale-dir(rtl) {
  28. -  list-style-image: url(moz-icon://stock/go-next-symbolic?size=menu);
  29. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-next.svg);
  30.  }
  31.  
  32.  #forward-btn:-moz-locale-dir(rtl) {
  33. -  list-style-image: url(moz-icon://stock/go-previous-symbolic?size=menu);
  34. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-previous.svg);
  35.  }
  36.  
  37. -#back-btn:not([disabled="true"]) > .toolbarbutton-icon,
  38. -#forward-btn:not([disabled="true"]) > .toolbarbutton-icon {
  39. -  filter: url(chrome://messenger/skin/symbolic-icons-colors.svg#default);
  40. -}
  41. -
  42. -#back-btn:not([open="true"]):not([disabled="true"]):active:hover > .toolbarbutton-icon,
  43. -#forward-btn:not([open="true"]):not([disabled="true"]):active:hover > .toolbarbutton-icon {
  44. -  filter: url(chrome://messenger/skin/symbolic-icons-colors.svg#active);
  45. +#back-btn[disabled="true"] > .toolbarbutton-icon,
  46. +#forward-btn[disabled="true"] > .toolbarbutton-icon {
  47. +  opacity: 0.5;
  48.  }
  49.  
  50.  #header-utils-btn {
  51. -  list-style-image: url(moz-icon://stock/preferences-system-symbolic?size=menu);
  52. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/preferences-system.svg);
  53.  }
  54.  
  55.  #header-utils-btn > .toolbarbutton-icon {
  56.    -moz-margin-end: 0;
  57. -  filter: url(chrome://messenger/skin/symbolic-icons-colors.svg#default);
  58.  }
  59.  
  60.  #header-utils-btn > .toolbarbutton-menu-dropmarker {
  61. @@ -427,14 +421,12 @@
  62.  
  63.  .sorter[checkState="1"] .button-icon {
  64.    display: -moz-box;
  65. -  list-style-image: url(moz-icon://stock/go-up-symbolic?size=menu);
  66. -  filter: url(chrome://messenger/skin/symbolic-icons-colors.svg#default);
  67. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-up.svg);
  68.  }
  69.  
  70.  .sorter[checkState="2"] .button-icon {
  71.    display: -moz-box;
  72. -  list-style-image: url(moz-icon://stock/go-down-symbolic?size=menu);
  73. -  filter: url(chrome://messenger/skin/symbolic-icons-colors.svg#default);
  74. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-down.svg);
  75.  }
  76.  
  77.  /*** discover view ***/
  78. @@ -729,7 +721,7 @@
  79.    background: transparent;
  80.    font-weight: bold;
  81.    cursor: pointer;
  82. -  list-style-image: url(moz-icon://stock/go-down-symbolic?size=menu);
  83. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-down.svg);
  84.    margin-top: 10px;
  85.  }
  86.  
  87. @@ -738,7 +730,6 @@
  88.  }
  89.  
  90.  .addon .relnotes-toggle > .button-box > .button-icon {
  91. -  filter: url(chrome://messenger/skin/symbolic-icons-colors.svg#default);
  92.    display: -moz-box;
  93.  }
  94.  
  95. @@ -747,7 +738,7 @@
  96.  }
  97.  
  98.  .addon[show-relnotes] .relnotes-toggle {
  99. -  list-style-image: url(moz-icon://stock/go-up-symbolic?size=menu);
  100. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/go-up.svg);
  101.  }
  102.  
  103.  /*** search view ***/
  104. @@ -1058,12 +1049,9 @@ setting[type="radio"] > radiogroup {
  105.         -moz-margin-start: 5em;
  106.  }
  107.  
  108. -/*
  109. -  #new-userstyle == "Write New Style" (Stylish)
  110. -*/
  111. -.addon-control:not(#new-userstyle) {
  112. +.addon-control {
  113.    -moz-appearance: none;
  114. -  background: transparent ;
  115. +  background: transparent;
  116.    border: 1px solid transparent;
  117.    border-radius: 3px;
  118.    filter: none;
  119. @@ -1074,34 +1062,55 @@ setting[type="radio"] > radiogroup {
  120.    transition-duration: 200ms;
  121.  }
  122.  
  123. -.addon-control:not(#new-userstyle):not([disabled="true"]):hover {
  124. +.addon-control:not([disabled="true"]):hover {
  125.    border-color: rgba(0,0,0,.25) !important;
  126.    box-shadow: 0 1px 0 rgba(255,255,255,0.69),
  127.                0 1px 0 rgba(255,255,255,0.69) inset;
  128.  }
  129.  
  130. -.addon-control:not(#new-userstyle):not([disabled="true"]):active:hover,
  131. -.addon-control:not(#new-userstyle)[checked="true"],
  132. -.addon-control:not(#new-userstyle)[checked="true"]:hover {
  133. +.addon-control:not([disabled="true"]):active:hover,
  134. +.addon-control[checked="true"],
  135. +.addon-control[checked="true"]:hover {
  136.    background-image: linear-gradient(to bottom, #c9c9c9, #e4e4e4);
  137.    border-color: rgba(0,0,0,.25);
  138.    box-shadow: 0 1px 0 rgba(255,255,255,0.69);
  139.  }
  140.  
  141. -.addon-control:not(#new-userstyle)[open="true"],
  142. -.addon-control:not(#new-userstyle)[open="true"]:hover,
  143. -.addon-control:not(#new-userstyle)[open="true"]:active,
  144. -.addon-control:not(#new-userstyle)[open="true"]:active:hover {
  145. +.addon-control[open="true"],
  146. +.addon-control[open="true"]:hover,
  147. +.addon-control[open="true"]:active,
  148. +.addon-control[open="true"]:active:hover {
  149.    background: #ffffff !important;
  150.    border-color: #ffffff !important;
  151.    box-shadow: 0 1px 0 rgba(255,255,255,0.69);
  152.    border-radius: 3px 3px 0 0;
  153.  }
  154.  
  155. -.addon-control:not(#new-userstyle)[disabled="true"] {
  156. +.addon-control[disabled="true"] {
  157.    display: none;
  158.  }
  159.  
  160. +/*
  161. +  #new-userstyle == "Write New Style" (Stylish)
  162. +*/
  163. +#new-userstyle.addon-control {
  164. +  -moz-appearance: button;
  165. +  padding: 0;
  166. +  transition-duration: 0;
  167. +}
  168. +menuitem.addon-control {
  169. +  -moz-appearance: menuitem;
  170. +  border: none;
  171. +  max-width: none;
  172. +  opacity: 1;
  173. +  padding: 1px 5px;
  174. +  transition-duration: 0;
  175. +}
  176. +menuitem.addon-control:hover {
  177. +  border: none !important;
  178. +  box-shadow: none !important;
  179. +}
  180. +
  181.  .addon-control.enable .button-icon,
  182.  .addon-control.disable .button-icon,
  183.  .addon-control.remove .button-icon,
  184. @@ -1117,7 +1126,7 @@ setting[type="radio"] > radiogroup {
  185.    display: none;
  186.  }
  187.  
  188. -   /*  Switches*/
  189. +/* Switches */
  190.  
  191.  .addon-control.enable {
  192.  /*  list-style-image: url("moz-icon://stock/gtk-yes?size=button");*/
  193. @@ -1139,48 +1148,52 @@ setting[type="radio"] > radiogroup {
  194.    box-shadow: none !important;
  195.  }
  196.  
  197. -.addon[active="false"] .addon-control.enable,
  198. -.addon[active="false"] .addon-control.disable{
  199. +button.addon[active="false"] .addon-control.enable,
  200. +button.addon[active="false"] .addon-control.disable{
  201.    opacity: 1;
  202.  }
  203.  
  204.  .addon-control.remove {
  205.  /*  list-style-image: url("moz-icon://stock/gtk-remove?size=button");*/
  206. -  list-style-image: url(moz-icon://stock/user-trash-symbolic?size=menu);
  207. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/user-trash.svg);
  208.  }
  209.  
  210.  .addon-control.preferences {
  211.  /*  list-style-image: url("moz-icon://stock/gtk-preferences?size=button");*/
  212. -  list-style-image: url(moz-icon://stock/emblem-system-symbolic?size=menu);
  213. -}
  214. -
  215. -.addon-control.remove .button-icon,
  216. -.addon-control.preferences .button-icon {
  217. -  filter: url(chrome://messenger/skin/symbolic-icons-colors.svg#default);
  218. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/emblem-system.svg);
  219.  }
  220.  
  221.  .addon-control.update {
  222. -       color: #fff;
  223. -       text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
  224. -       background-image: linear-gradient(to bottom, #4294F7, #004EAD);
  225. -       padding: 4px 15px;
  226. -       box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset;
  227. -       border: 1px solid #003372;
  228. +  color: #fff;
  229. +  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
  230. +  background-image: linear-gradient(to bottom, #4294F7, #004EAD);
  231. +  padding: 4px 15px;
  232. +  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset;
  233. +  border: 1px solid #003372;
  234.  }
  235.  
  236.  .addon-control.install {
  237. -       color: #fff;
  238. -       text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
  239. -       background-image: linear-gradient(to bottom, #89C400, #5B9C00);
  240. -       padding: 4px 15px;
  241. -       box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset;
  242. -       border: 1px solid #316D0E;
  243. +  color: #fff;
  244. +  text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
  245. +  background-image: linear-gradient(to bottom, #89C400, #5B9C00);
  246. +  padding: 4px 15px;
  247. +  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset;
  248. +  border: 1px solid #316D0E;
  249.  }
  250.  
  251.  .addon-control.install:active:hover {
  252. -       color: #203006;
  253. -       text-shadow: 0px 1px 0px rgba(255,255,255,0.3);
  254. -       box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
  255. +  color: #203006;
  256. +  text-shadow: 0px 1px 0px rgba(255,255,255,0.3);
  257. +  box-shadow: 0 0 2px 1px rgba(0,0,0,0.2) inset;
  258. +}
  259. +
  260. +.addon-control.state .menulist-dropmarker {
  261. +  -moz-appearance: none;
  262. +  display: -moz-box;
  263. +  list-style-image: url(chrome://messenger/skin/symbolic-icons/dropmarker.svg);
  264. +  padding: 3px;
  265. +  margin: 2px 0;
  266. +  max-height: 16px;
  267.  }
  268.  
  269.  .button-link {
  270. --
  271. 1.8.5.3
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top