home *** CD-ROM | disk | FTP | other *** search
/ Freelog 112 / FreelogNo112-NovembreDecembre2012.iso / Multimedia / Songbird / Songbird_2.0.0-2311_windows-i686-msvc8.exe / chrome / songbird.jar / skin / bindings / dialog.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  2KB  |  99 lines

  1. /*
  2. //
  3. // BEGIN SONGBIRD GPL
  4. //
  5. // This file is part of the Songbird web player.
  6. //
  7. // Copyright(c) 2005-2008 POTI, Inc.
  8. // http://songbirdnest.com
  9. //
  10. // This file may be licensed under the terms of of the
  11. // GNU General Public License Version 2 (the "GPL").
  12. //
  13. // Software distributed under the License is distributed
  14. // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
  15. // express or implied. See the GPL for the specific language
  16. // governing rights and limitations.
  17. //
  18. // You should have received a copy of the GPL along with this
  19. // program. If not, go to http://www.gnu.org/licenses/gpl.html
  20. // or write to the Free Software Foundation, Inc.,
  21. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  22. //
  23. // END SONGBIRD GPL
  24. //
  25.  */
  26.  
  27.  
  28. /** 
  29. *******************************************************************************
  30.  
  31. CUSTOM SONGBIRD DIALOG STYLES
  32.  
  33. This file is included directly into <dialog type="songbird"> elements 
  34. when using feathers that disable native operating system window chrome 
  35. (e.g. titlebars).
  36.  
  37. See also app/content/bindings/dialog.xml and app/skin/global/dialog
  38.  
  39. *******************************************************************************
  40. */
  41.  
  42. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  43.  
  44. dialog:root
  45. {
  46.   /* the padding interferes with the sb-sys-outer-frame */
  47.   padding: 0;
  48. }
  49.  
  50. #sb-sys-title-title
  51. {
  52.   margin: 0 !important;
  53. }
  54.  
  55. #sb-sys-buttons-close
  56. {
  57.   -moz-margin-end: 0 !important;
  58. }
  59.  
  60. /* the box that is the sibling of the <titlebar> element which does the drag */
  61. #sb-sys-outer-frame-children > stack > vbox
  62. {
  63.   padding-top: 4px; /* 5px - 1px of the resizing border */
  64.   padding-left: 5px; /* 10px - 5px of the resizing border */
  65.   padding-right: 5px; /* 10px - 5px */
  66. }
  67.  
  68. #dialog-titlebar
  69. {
  70.   margin: 5px 0;
  71. }
  72.  
  73. .dialog-button-box
  74. {
  75.   -moz-box-pack: end;
  76. }
  77.  
  78. .dialog-button-box button
  79. {
  80.   margin: 5px !important;
  81.   -moz-margin-end: 0 !important;
  82. }
  83.  
  84. /* Contents Preservation:
  85.  * Don't allow the dialog buttons to escape the dialog box during resize.
  86.  * If you size a resizable dialog box too small, you'll get scrollbars this way. */
  87. dialog[type="songbird"]
  88. {
  89.   min-width: 8em;
  90.   min-height: 6.5em;
  91. }
  92.  
  93. dialog[type="songbird"][resizers="all"] .dialog-content-box
  94. {
  95.   overflow: auto;
  96. }
  97.  
  98. /* end Contents Preservation */
  99.