You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 lines
3.0 KiB

14 years ago
  1. /* TODO */
  2. /**
  3. * This file provides styles for modal dialogues.
  4. */
  5. /* link wizard (opens from the link button in the edit toolbar)
  6. ********************************************************************/
  7. #link__wiz {
  8. position: absolute;
  9. display: block;
  10. z-index: 99;
  11. width: 300px;
  12. height: 250px;
  13. padding: 0;
  14. margin: 0;
  15. overflow: hidden;
  16. border: 1px solid __border__;
  17. background-color: __background_neu__;
  18. text-align: center;
  19. }
  20. #link__wiz_header {
  21. background-color: __background_alt__;
  22. height: 16px;
  23. margin-bottom: 5px;
  24. }
  25. #link__wiz_close {
  26. cursor: pointer;
  27. margin: 0;
  28. }
  29. #link__wiz_result {
  30. background-color: __background__;
  31. width: 293px;
  32. height: 193px;
  33. overflow: auto;
  34. border: 1px solid __border__;
  35. margin: 3px auto;
  36. text-align: left;
  37. }
  38. #link__wiz_result div.type_u {
  39. padding: 3px 3px 3px 22px;
  40. background: transparent url(../../images/up.png) 3px 3px no-repeat;
  41. }
  42. #link__wiz_result div.type_f {
  43. padding: 3px 3px 3px 22px;
  44. background: transparent url(../../images/page.png) 3px 3px no-repeat;
  45. }
  46. #link__wiz_result div.type_d {
  47. padding: 3px 3px 3px 22px;
  48. background: transparent url(../../images/ns.png) 3px 3px no-repeat;
  49. }
  50. #link__wiz_result div.even {
  51. background-color: __background_neu__;
  52. }
  53. #link__wiz_result div.selected {
  54. background-color: __background_alt__;
  55. }
  56. #link__wiz_result span {
  57. display: block;
  58. color: __text_neu__;
  59. }
  60. /*FIXME maybe move to a more general style sheet*/
  61. .ondrag {
  62. cursor: move;
  63. opacity: 0.8;
  64. }
  65. /* media option wizard (opens when inserting media in the media popup)
  66. ********************************************************************/
  67. /* --- popup --- */
  68. #media__popup {
  69. background-color:__background__;
  70. display:none;
  71. border: 1px solid __border__;
  72. position: absolute;
  73. width:270px;
  74. }
  75. #media__popup h1 {
  76. text-align:center;
  77. font-weight:normal;
  78. background-color: __background_alt__;
  79. height: 16px;
  80. margin-bottom: 5px;
  81. font-size:12px;
  82. border-bottom: 0;
  83. }
  84. #media__popup p {
  85. display:block;
  86. line-height:14pt;
  87. margin:0.5em;
  88. }
  89. #media_nolink {
  90. padding:4px 0;
  91. }
  92. #media__popup label {
  93. float:left;
  94. width:9em;
  95. }
  96. #media__popup .button {
  97. margin-left:auto;
  98. margin-right:auto;
  99. }
  100. #media__popup .btnlbl {
  101. text-align:center;
  102. }
  103. #media__popup .btnlbl input {
  104. margin:0 1em;
  105. }
  106. #media__closeimg {
  107. float:right;
  108. }
  109. /* --- display options --- */
  110. #media__linkopts label,
  111. #media__nolnk {
  112. width: 80px;
  113. float: left;
  114. margin-left: 10px;
  115. }
  116. #media__linkopts label{
  117. line-height: 20px;
  118. }
  119. #media__nolnk,
  120. #media__linkopts label.long{
  121. margin-bottom: 8px;
  122. line-height: 12px;
  123. }
  124. #media__linkopts label.long{
  125. width: 150px;
  126. float: none;
  127. }
  128. #media__linkopts br {
  129. clear: both;
  130. }
  131. #media__linkopts select {
  132. width: 60px;
  133. margin-left: 10px;
  134. }
  135. #media__linkopts input.edit {
  136. width:50px;
  137. margin-left:10px;
  138. }
  139. #media__linkopts #media__title {
  140. width:150px;
  141. }