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.

jquery-ui-fixes.scss 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. /* Component containers
  2. ----------------------------------*/
  3. .ui-widget-content {
  4. border: 1px solid nc-darken($color-main-background, 20%);
  5. background: $color-main-background none;
  6. color: $color-main-text;
  7. }
  8. .ui-widget-content a {
  9. color: $color-main-text;
  10. }
  11. .ui-widget-header {
  12. border: none;
  13. color: $color-main-text;
  14. }
  15. .ui-widget-header a {
  16. color: $color-main-text;
  17. }
  18. /* Interaction states
  19. ----------------------------------*/
  20. .ui-state-default,
  21. .ui-widget-content .ui-state-default,
  22. .ui-widget-header .ui-state-default {
  23. border: 1px solid nc-darken($color-main-background, 20%);
  24. background: $color-main-background none;
  25. font-weight: bold;
  26. color: #555;
  27. }
  28. .ui-state-default a,
  29. .ui-state-default a:link,
  30. .ui-state-default a:visited {
  31. color: #555;
  32. }
  33. .ui-state-hover,
  34. .ui-widget-content .ui-state-hover,
  35. .ui-widget-header .ui-state-hover,
  36. .ui-state-focus,
  37. .ui-widget-content .ui-state-focus,
  38. .ui-widget-header .ui-state-focus {
  39. border: 1px solid #ddd;
  40. background: $color-main-background none;
  41. font-weight: bold;
  42. color: $color-main-text;
  43. }
  44. .ui-state-hover a,
  45. .ui-state-hover a:hover,
  46. .ui-state-hover a:link,
  47. .ui-state-hover a:visited {
  48. color: $color-main-text;
  49. }
  50. .ui-state-active,
  51. .ui-widget-content .ui-state-active,
  52. .ui-widget-header .ui-state-active {
  53. border: 1px solid $color-primary;
  54. background: $color-main-background none;
  55. font-weight: bold;
  56. color: $color-main-text;
  57. }
  58. .ui-state-active a,
  59. .ui-state-active a:link,
  60. .ui-state-active a:visited {
  61. color: $color-main-text;
  62. }
  63. /* Interaction Cues
  64. ----------------------------------*/
  65. .ui-state-highlight,
  66. .ui-widget-content .ui-state-highlight,
  67. .ui-widget-header .ui-state-highlight {
  68. border: 1px solid $color-main-background;
  69. background: $color-main-background none;
  70. color: nc-lighten($color-main-text, 30%);
  71. }
  72. .ui-state-highlight a,
  73. .ui-widget-content .ui-state-highlight a,
  74. .ui-widget-header .ui-state-highlight a {
  75. color: nc-lighten($color-main-text, 30%);
  76. }
  77. .ui-state-error,
  78. .ui-widget-content .ui-state-error,
  79. .ui-widget-header .ui-state-error {
  80. border: $color-error;
  81. background: $color-error none;
  82. color: #ffffff;
  83. }
  84. .ui-state-error a,
  85. .ui-widget-content .ui-state-error a,
  86. .ui-widget-header .ui-state-error a {
  87. color: #ffffff;
  88. }
  89. .ui-state-error-text,
  90. .ui-widget-content .ui-state-error-text,
  91. .ui-widget-header .ui-state-error-text {
  92. color: #ffffff;
  93. }
  94. /* Icons
  95. ----------------------------------*/
  96. .ui-state-default .ui-icon {
  97. background-image: url('images/ui-icons_1d2d44_256x240.png');
  98. }
  99. .ui-state-hover .ui-icon,
  100. .ui-state-focus .ui-icon {
  101. background-image: url('images/ui-icons_1d2d44_256x240.png');
  102. }
  103. .ui-state-active .ui-icon {
  104. background-image: url('images/ui-icons_1d2d44_256x240.png');
  105. }
  106. .ui-state-highlight .ui-icon {
  107. background-image: url('images/ui-icons_ffffff_256x240.png');
  108. }
  109. .ui-state-error .ui-icon,
  110. .ui-state-error-text .ui-icon {
  111. background-image: url('images/ui-icons_ffd27a_256x240.png');
  112. }
  113. /* Misc visuals
  114. ----------------------------------*/
  115. /* Overlays */
  116. .ui-widget-overlay {
  117. background: #666666 url('images/ui-bg_diagonals-thick_20_666666_40x40.png') 50% 50% repeat;
  118. opacity: .5;
  119. }
  120. .ui-widget-shadow {
  121. margin: -5px 0 0 -5px;
  122. padding: 5px;
  123. background: #000000 url('images/ui-bg_flat_10_000000_40x100.png') 50% 50% repeat-x;
  124. opacity: .2;
  125. border-radius: 5px;
  126. }
  127. /* Tabs customizations */
  128. .ui-tabs {
  129. border: none;
  130. .ui-tabs-nav.ui-corner-all {
  131. border-bottom-left-radius: 0;
  132. border-bottom-right-radius: 0;
  133. }
  134. .ui-tabs-nav {
  135. background: none;
  136. margin-bottom: 15px;
  137. .ui-state-default {
  138. border: none;
  139. border-bottom: 1px solid transparent;
  140. font-weight: normal;
  141. margin: 0 !important;
  142. padding: 0 !important;
  143. }
  144. .ui-state-hover,
  145. .ui-state-active {
  146. border: none;
  147. border-bottom: 1px solid $color-main-text;
  148. color: $color-main-text;
  149. a, a:link, a:hover, a:visited {
  150. color: $color-main-text;
  151. }
  152. }
  153. .ui-state-active {
  154. font-weight: bold;
  155. }
  156. }
  157. }
  158. /* Select menus */
  159. .ui-autocomplete {
  160. &.ui-menu {
  161. padding: 0;
  162. .ui-menu-item a {
  163. &.ui-state-focus, &.ui-state-active {
  164. font-weight: inherit;
  165. }
  166. }
  167. }
  168. &.ui-widget-content {
  169. background: $color-main-background;
  170. border-top: none;
  171. }
  172. &.ui-corner-all {
  173. border-radius: 0;
  174. border-bottom-left-radius: 3px;
  175. border-bottom-right-radius: 3px;
  176. }
  177. .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
  178. border: 1px solid transparent;
  179. background: inherit;
  180. color: $color-primary-element;
  181. }
  182. }
  183. .ui-button.primary {
  184. background-color: $color-primary;
  185. color: $color-primary-text;
  186. border: 1px solid $color-primary-text;
  187. }