/toolkit/content/customizeToolbar.css

http://github.com/zpao/v8monkey · CSS · 75 lines · 28 code · 7 blank · 40 comment · 0 complexity · f027809c13173b302ce05c6686b9d3f1 MD5 · raw file

  1. /* ***** BEGIN LICENSE BLOCK *****
  2. Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3. The contents of this file are subject to the Mozilla Public License Version
  4. 1.1 (the "License"); you may not use this file except in compliance with
  5. the License. You may obtain a copy of the License at
  6. http://www.mozilla.org/MPL/
  7. Software distributed under the License is distributed on an "AS IS" basis,
  8. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  9. for the specific language governing rights and limitations under the
  10. License.
  11. The Original Code is Mozilla Communicator client code, released
  12. March 31, 1998.
  13. The Initial Developer of the Original Code is
  14. David Hyatt.
  15. Portions created by the Initial Developer are Copyright (C) 2002
  16. the Initial Developer. All Rights Reserved.
  17. Contributor(s):
  18. David Hyatt <hyatt@apple.com>
  19. Blake Ross <blaker@netscape.com>
  20. Jared Wein <jwein@mozilla.com>
  21. Alternatively, the contents of this file may be used under the terms of
  22. either the GNU General Public License Version 2 or later (the "GPL"), or
  23. the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  24. in which case the provisions of the GPL or the LGPL are applicable instead
  25. of those above. If you wish to allow use of your version of this file only
  26. under the terms of either the GPL or the LGPL, and not to allow others to
  27. use your version of this file under the terms of the MPL, indicate your
  28. decision by deleting the provisions above and replace them with the notice
  29. and other provisions required by the GPL or the LGPL. If you do not delete
  30. the provisions above, a recipient may use your version of this file under
  31. the terms of any one of the MPL, the GPL or the LGPL.
  32. ***** END LICENSE BLOCK ***** */
  33. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
  34. @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
  35. #palette-box {
  36. overflow: auto;
  37. display: block;
  38. min-height: 3em;
  39. }
  40. #palette-box > toolbarpaletteitem {
  41. width: 110px;
  42. height: 94px;
  43. overflow: hidden;
  44. display: inline-block;
  45. }
  46. .toolbarpaletteitem-box {
  47. -moz-box-pack: center;
  48. -moz-box-flex: 1;
  49. width: 110px;
  50. max-width: 110px;
  51. }
  52. toolbarpaletteitem > label {
  53. text-align: center;
  54. }
  55. #main-box > box {
  56. overflow: hidden;
  57. }
  58. /* Hide the toolbarbutton label because we replicate it on the wrapper */
  59. .toolbarbutton-text {
  60. display: none;
  61. }