jquery-ui-fixes.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /* Component containers
  2. ----------------------------------*/
  3. .ui-widget {
  4. font-family: 'Lucida Grande', Arial, Verdana, sans-serif;
  5. font-size: 1em;
  6. button {
  7. font-family: 'Lucida Grande', Arial, Verdana, sans-serif;
  8. }
  9. }
  10. .ui-widget-content {
  11. border: 1px solid #dddddd;
  12. background: #eeeeee url('images/ui-bg_highlight-soft_100_eeeeee_1x100.png') 50% top repeat-x;
  13. color: #333333;
  14. a {
  15. color: #333333;
  16. }
  17. }
  18. .ui-widget-header {
  19. border: 1px solid #0082c9;
  20. background: #0082c9;
  21. color: #ffffff;
  22. a {
  23. color: #ffffff;
  24. }
  25. }
  26. /* Interaction states
  27. ----------------------------------*/
  28. .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  29. border: 1px solid #ddd;
  30. background: #f8f8f8 url('images/ui-bg_glass_100_f8f8f8_1x400.png') 50% 50% repeat-x;
  31. font-weight: bold;
  32. color: #555;
  33. }
  34. .ui-state-default a {
  35. color: #555;
  36. &:link, &:visited {
  37. color: #555;
  38. }
  39. }
  40. .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 {
  41. border: 1px solid #ddd;
  42. background: #ffffff url('images/ui-bg_flat_100_ffffff_40x100.png') 50% 50% repeat-x;
  43. font-weight: bold;
  44. color: #333;
  45. }
  46. .ui-state-hover a {
  47. color: #333;
  48. &:hover, &:link, &:visited {
  49. color: #333;
  50. }
  51. }
  52. .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
  53. border: 1px solid #0082c9;
  54. background: #f8f8f8 url('images/ui-bg_glass_100_f8f8f8_1x400.png') 50% 50% repeat-x;
  55. font-weight: bold;
  56. color: #0082c9;
  57. }
  58. .ui-state-active a {
  59. color: #0082c9;
  60. &:link, &:visited {
  61. color: #0082c9;
  62. }
  63. }
  64. /* Interaction Cues
  65. ----------------------------------*/
  66. .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  67. border: 1px solid #ddd;
  68. background: #f8f8f8 url('images/ui-bg_highlight-hard_100_f8f8f8_1x100.png') 50% top repeat-x;
  69. color: #555;
  70. }
  71. .ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a {
  72. color: #555;
  73. }
  74. .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
  75. border: 1px solid #cd0a0a;
  76. background: #b81900 url('images/ui-bg_diagonals-thick_18_b81900_40x40.png') 50% 50% repeat;
  77. color: #ffffff;
  78. }
  79. .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a, .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text {
  80. color: #ffffff;
  81. }
  82. /* Icons
  83. ----------------------------------*/
  84. .ui-state-default .ui-icon, .ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-state-active .ui-icon {
  85. background-image: url('images/ui-icons_1d2d44_256x240.png');
  86. }
  87. .ui-state-highlight .ui-icon {
  88. background-image: url('images/ui-icons_ffffff_256x240.png');
  89. }
  90. .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {
  91. background-image: url('images/ui-icons_ffd27a_256x240.png');
  92. }
  93. /* Misc visuals
  94. ----------------------------------*/
  95. /* Overlays */
  96. .ui-widget-overlay {
  97. background: #666666 url('images/ui-bg_diagonals-thick_20_666666_40x40.png') 50% 50% repeat;
  98. opacity: .5;
  99. }
  100. .ui-widget-shadow {
  101. margin: -5px 0 0 -5px;
  102. padding: 5px;
  103. background: #000000 url('images/ui-bg_flat_10_000000_40x100.png') 50% 50% repeat-x;
  104. opacity: .2;
  105. border-radius: 5px;
  106. }
  107. .ui-menu .ui-menu-item a {
  108. padding: 6px;
  109. }