Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

window.scss 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. @mixin runo-window($primaryStyleName : v-window) {
  2. /* add box-shadows to an overlay element */
  3. .#{$primaryStyleName} {
  4. box-shadow: 0 10px 24px 0 rgba(42, 45, 46, .4);
  5. border-radius: 10px;
  6. }
  7. .#{$primaryStyleName} {
  8. color: #464f52;
  9. font-family: "Trebuchet MS", geneva, helvetica, arial, tahoma, verdana, sans-serif;
  10. font-size: 13px;
  11. line-height: 18px;
  12. background: transparent url(img/bottom-left.png) no-repeat left bottom;
  13. }
  14. .#{$primaryStyleName}-wrap {
  15. background: transparent url(img/top-left.png) no-repeat;
  16. }
  17. .#{$primaryStyleName}-outerheader {
  18. height: 49px;
  19. margin-left: 9px;
  20. padding: 15px 61px 11px 12px;
  21. background: transparent url(img/top-right.png) no-repeat right top;
  22. }
  23. .#{$primaryStyleName}-header {
  24. font-size: 18px;
  25. line-height: 1.2;
  26. font-weight: normal;
  27. letter-spacing: -0.03em;
  28. color: #f14c1a;
  29. text-shadow: 0 1px 0 #fff;
  30. }
  31. .#{$primaryStyleName}-contents > div {
  32. background: #fff;
  33. border: 2px solid #babfc0;
  34. border-top: none;
  35. border-bottom: none;
  36. -webkit-box-sizing: border-box;
  37. -moz-box-sizing: border-box;
  38. box-sizing: border-box;
  39. }
  40. .#{$primaryStyleName} div.#{$primaryStyleName}-footer {
  41. height: 8px;
  42. margin-left: 9px;
  43. background: transparent url(img/bottom-right.png) no-repeat right bottom;
  44. overflow: visible;
  45. }
  46. .#{$primaryStyleName}-resizebox {
  47. position: absolute; /* Needed to position the element over ScrollPanel, which is relatively positioned */
  48. right: 5px;
  49. width: 10px;
  50. height: 10px;
  51. margin-top: -7px;
  52. background: transparent url(img/resize.png);
  53. }
  54. .#{$primaryStyleName}-resizebox-disabled {
  55. background: transparent;
  56. display: block;
  57. }
  58. .#{$primaryStyleName}-closebox,
  59. .#{$primaryStyleName}-maximizebox,
  60. .#{$primaryStyleName}-restorebox {
  61. position: absolute;
  62. top: 21px;
  63. height: 12px;
  64. }
  65. .#{$primaryStyleName}-closebox {
  66. width: 12px;
  67. height: 12px;
  68. right: 24px;
  69. background: transparent url(img/close.png);
  70. &:hover {
  71. background-position: 0 -12px;
  72. }
  73. }
  74. .#{$primaryStyleName}-maximizebox,
  75. .#{$primaryStyleName}-restorebox {
  76. right: 42px;
  77. }
  78. .#{$primaryStyleName}-restorebox {
  79. width: 15px;
  80. height: 14px;
  81. background: transparent url(img/restore.png);
  82. &:hover {
  83. background-position: 0 -14px;
  84. }
  85. }
  86. .#{$primaryStyleName}-maximizebox {
  87. width: 13px;
  88. height: 12px;
  89. background: transparent url(img/maximize.png);
  90. &:hover {
  91. background-position: 0 -12px;
  92. }
  93. }
  94. .#{$primaryStyleName}-modalitycurtain {
  95. background: #fff;
  96. }
  97. /* Dialog style */
  98. .#{$primaryStyleName}-dialog {
  99. background-image: url(img/dialog/bottom-left.png);
  100. .#{$primaryStyleName}-outerheader {
  101. height: 32px;
  102. padding: 13px 30px 5px 8px;
  103. background: transparent url(img/top-right.png) no-repeat right top;
  104. }
  105. .#{$primaryStyleName}-header {
  106. font-size: 12px;
  107. line-height: normal;
  108. font-weight: bold;
  109. letter-spacing: 0;
  110. text-shadow: 0 1px 0 #fff;
  111. }
  112. .#{$primaryStyleName}-contents > div {
  113. background: #f1f3f3;
  114. }
  115. div.#{$primaryStyleName}-footer {
  116. background-image: url(img/dialog/bottom-right.png);
  117. }
  118. .#{$primaryStyleName}-closebox {
  119. top: 14px;
  120. right: 16px;
  121. background-image: url(img/dialog/close.png);
  122. }
  123. .#{$primaryStyleName}-restorebox {
  124. width: 12px;
  125. height: 12px;
  126. top: 15px;
  127. right: 32px;
  128. background: transparent url(img/dialog/restore.png);
  129. &:hover {
  130. background-position: 0 -12px;
  131. }
  132. }
  133. .#{$primaryStyleName}-maximizebox {
  134. width: 11px;
  135. height: 10px;
  136. top: 15px;
  137. right: 32px;
  138. background: transparent url(img/dialog/maximize.png);
  139. &:hover {
  140. background-position: 0 -10px;
  141. }
  142. }
  143. }
  144. }