compass-jquery-ui 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. data/README.markdown +12 -0
  2. data/lib/jquery-ui.rb +1 -0
  3. data/stylesheets/_theme-base.scss +15 -0
  4. data/stylesheets/_theme-cupertino.scss +15 -0
  5. data/stylesheets/_theme-humanity.scss +15 -0
  6. data/stylesheets/_theme-redmond.scss +15 -0
  7. data/stylesheets/base/_jquery.ui.accordion.scss +43 -0
  8. data/stylesheets/base/_jquery.ui.autocomplete.scss +43 -0
  9. data/stylesheets/base/_jquery.ui.button.scss +90 -0
  10. data/stylesheets/base/_jquery.ui.core.scss +82 -0
  11. data/stylesheets/base/_jquery.ui.datepicker.scss +156 -0
  12. data/stylesheets/base/_jquery.ui.dialog.scss +55 -0
  13. data/stylesheets/base/_jquery.ui.progressbar.scss +9 -0
  14. data/stylesheets/base/_jquery.ui.resizable.scss +70 -0
  15. data/stylesheets/base/_jquery.ui.selectable.scss +5 -0
  16. data/stylesheets/base/_jquery.ui.slider.scss +47 -0
  17. data/stylesheets/base/_jquery.ui.tabs.scss +45 -0
  18. data/stylesheets/base/_jquery.ui.theme.scss +737 -0
  19. data/stylesheets/cupertino/_jquery.ui.accordion.scss +43 -0
  20. data/stylesheets/cupertino/_jquery.ui.autocomplete.scss +43 -0
  21. data/stylesheets/cupertino/_jquery.ui.button.scss +90 -0
  22. data/stylesheets/cupertino/_jquery.ui.core.scss +82 -0
  23. data/stylesheets/cupertino/_jquery.ui.datepicker.scss +156 -0
  24. data/stylesheets/cupertino/_jquery.ui.dialog.scss +55 -0
  25. data/stylesheets/cupertino/_jquery.ui.progressbar.scss +9 -0
  26. data/stylesheets/cupertino/_jquery.ui.resizable.scss +70 -0
  27. data/stylesheets/cupertino/_jquery.ui.selectable.scss +5 -0
  28. data/stylesheets/cupertino/_jquery.ui.slider.scss +47 -0
  29. data/stylesheets/cupertino/_jquery.ui.tabs.scss +45 -0
  30. data/stylesheets/cupertino/_jquery.ui.theme.scss +740 -0
  31. data/stylesheets/humanity/_jquery.ui.accordion.scss +43 -0
  32. data/stylesheets/humanity/_jquery.ui.autocomplete.scss +43 -0
  33. data/stylesheets/humanity/_jquery.ui.button.scss +90 -0
  34. data/stylesheets/humanity/_jquery.ui.core.scss +82 -0
  35. data/stylesheets/humanity/_jquery.ui.datepicker.scss +156 -0
  36. data/stylesheets/humanity/_jquery.ui.dialog.scss +55 -0
  37. data/stylesheets/humanity/_jquery.ui.progressbar.scss +9 -0
  38. data/stylesheets/humanity/_jquery.ui.resizable.scss +70 -0
  39. data/stylesheets/humanity/_jquery.ui.selectable.scss +5 -0
  40. data/stylesheets/humanity/_jquery.ui.slider.scss +47 -0
  41. data/stylesheets/humanity/_jquery.ui.tabs.scss +45 -0
  42. data/stylesheets/humanity/_jquery.ui.theme.scss +740 -0
  43. data/stylesheets/redmond/_jquery.ui.accordion.scss +43 -0
  44. data/stylesheets/redmond/_jquery.ui.autocomplete.scss +43 -0
  45. data/stylesheets/redmond/_jquery.ui.button.scss +90 -0
  46. data/stylesheets/redmond/_jquery.ui.core.scss +82 -0
  47. data/stylesheets/redmond/_jquery.ui.datepicker.scss +156 -0
  48. data/stylesheets/redmond/_jquery.ui.dialog.scss +55 -0
  49. data/stylesheets/redmond/_jquery.ui.progressbar.scss +9 -0
  50. data/stylesheets/redmond/_jquery.ui.resizable.scss +70 -0
  51. data/stylesheets/redmond/_jquery.ui.selectable.scss +5 -0
  52. data/stylesheets/redmond/_jquery.ui.slider.scss +47 -0
  53. data/stylesheets/redmond/_jquery.ui.tabs.scss +45 -0
  54. data/stylesheets/redmond/_jquery.ui.theme.scss +743 -0
  55. data/templates/project/jquery-ui-1.8.2.min.js +1012 -0
  56. data/templates/project/jquery-ui-i18n.js +1176 -0
  57. data/templates/project/jquery-ui.scss +4 -0
  58. data/templates/project/jquery-ui/base/ui-anim_basic_16x16.gif +0 -0
  59. data/templates/project/jquery-ui/base/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  60. data/templates/project/jquery-ui/base/ui-bg_flat_75_ffffff_40x100.png +0 -0
  61. data/templates/project/jquery-ui/base/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  62. data/templates/project/jquery-ui/base/ui-bg_glass_65_ffffff_1x400.png +0 -0
  63. data/templates/project/jquery-ui/base/ui-bg_glass_75_dadada_1x400.png +0 -0
  64. data/templates/project/jquery-ui/base/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  65. data/templates/project/jquery-ui/base/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  66. data/templates/project/jquery-ui/base/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  67. data/templates/project/jquery-ui/base/ui-icons_222222_256x240.png +0 -0
  68. data/templates/project/jquery-ui/base/ui-icons_2e83ff_256x240.png +0 -0
  69. data/templates/project/jquery-ui/base/ui-icons_454545_256x240.png +0 -0
  70. data/templates/project/jquery-ui/base/ui-icons_888888_256x240.png +0 -0
  71. data/templates/project/jquery-ui/base/ui-icons_cd0a0a_256x240.png +0 -0
  72. data/templates/project/jquery-ui/cupertino/ui-anim_basic_16x16.gif +0 -0
  73. data/templates/project/jquery-ui/cupertino/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  74. data/templates/project/jquery-ui/cupertino/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  75. data/templates/project/jquery-ui/cupertino/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  76. data/templates/project/jquery-ui/cupertino/ui-bg_glass_50_3baae3_1x400.png +0 -0
  77. data/templates/project/jquery-ui/cupertino/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  78. data/templates/project/jquery-ui/cupertino/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  79. data/templates/project/jquery-ui/cupertino/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  80. data/templates/project/jquery-ui/cupertino/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  81. data/templates/project/jquery-ui/cupertino/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  82. data/templates/project/jquery-ui/cupertino/ui-icons_2694e8_256x240.png +0 -0
  83. data/templates/project/jquery-ui/cupertino/ui-icons_2e83ff_256x240.png +0 -0
  84. data/templates/project/jquery-ui/cupertino/ui-icons_3d80b3_256x240.png +0 -0
  85. data/templates/project/jquery-ui/cupertino/ui-icons_72a7cf_256x240.png +0 -0
  86. data/templates/project/jquery-ui/cupertino/ui-icons_ffffff_256x240.png +0 -0
  87. data/templates/project/jquery-ui/humanity/ui-anim_basic_16x16.gif +0 -0
  88. data/templates/project/jquery-ui/humanity/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  89. data/templates/project/jquery-ui/humanity/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  90. data/templates/project/jquery-ui/humanity/ui-bg_glass_25_cb842e_1x400.png +0 -0
  91. data/templates/project/jquery-ui/humanity/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  92. data/templates/project/jquery-ui/humanity/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  93. data/templates/project/jquery-ui/humanity/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  94. data/templates/project/jquery-ui/humanity/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  95. data/templates/project/jquery-ui/humanity/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  96. data/templates/project/jquery-ui/humanity/ui-icons_c47a23_256x240.png +0 -0
  97. data/templates/project/jquery-ui/humanity/ui-icons_cb672b_256x240.png +0 -0
  98. data/templates/project/jquery-ui/humanity/ui-icons_f08000_256x240.png +0 -0
  99. data/templates/project/jquery-ui/humanity/ui-icons_f35f07_256x240.png +0 -0
  100. data/templates/project/jquery-ui/humanity/ui-icons_ff7519_256x240.png +0 -0
  101. data/templates/project/jquery-ui/humanity/ui-icons_ffffff_256x240.png +0 -0
  102. data/templates/project/jquery-ui/redmond/ui-anim_basic_16x16.gif +0 -0
  103. data/templates/project/jquery-ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  104. data/templates/project/jquery-ui/redmond/ui-bg_flat_55_fbec88_40x100.png +0 -0
  105. data/templates/project/jquery-ui/redmond/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  106. data/templates/project/jquery-ui/redmond/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  107. data/templates/project/jquery-ui/redmond/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  108. data/templates/project/jquery-ui/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  109. data/templates/project/jquery-ui/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  110. data/templates/project/jquery-ui/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  111. data/templates/project/jquery-ui/redmond/ui-icons_217bc0_256x240.png +0 -0
  112. data/templates/project/jquery-ui/redmond/ui-icons_2e83ff_256x240.png +0 -0
  113. data/templates/project/jquery-ui/redmond/ui-icons_469bdd_256x240.png +0 -0
  114. data/templates/project/jquery-ui/redmond/ui-icons_6da8d5_256x240.png +0 -0
  115. data/templates/project/jquery-ui/redmond/ui-icons_cd0a0a_256x240.png +0 -0
  116. data/templates/project/jquery-ui/redmond/ui-icons_d8e7f3_256x240.png +0 -0
  117. data/templates/project/jquery-ui/redmond/ui-icons_f9bd01_256x240.png +0 -0
  118. data/templates/project/manifest.rb +68 -0
  119. metadata +200 -0
@@ -0,0 +1,12 @@
1
+ # Install
2
+
3
+ $ gem build compass-jquery-ui.gemspec
4
+ $ (sudo) gem install compass-jquery-ui-*.gem
5
+
6
+ ## For Rails3
7
+ 1. add the dependency in Gemfile
8
+ $ gem 'compass-jquery-ui'
9
+
10
+ 1. add the require in config/compass.rb
11
+ $ require "jquery-ui"
12
+
@@ -0,0 +1 @@
1
+ Compass::Frameworks.register("jquery-ui", :path => "#{File.dirname(__FILE__)}/..")
@@ -0,0 +1,15 @@
1
+
2
+ @import "base/jquery.ui.core";
3
+ @import "base/jquery.ui.resizable";
4
+ @import "base/jquery.ui.selectable";
5
+ @import "base/jquery.ui.accordion";
6
+ @import "base/jquery.ui.autocomplete";
7
+ @import "base/jquery.ui.button";
8
+ @import "base/jquery.ui.dialog";
9
+ @import "base/jquery.ui.slider";
10
+ @import "base/jquery.ui.tabs";
11
+ @import "base/jquery.ui.datepicker";
12
+ @import "base/jquery.ui.progressbar";
13
+ @import "base/jquery.ui.theme";
14
+
15
+ $active-color:#212121;
@@ -0,0 +1,15 @@
1
+
2
+ @import "cupertino/jquery.ui.core";
3
+ @import "cupertino/jquery.ui.resizable";
4
+ @import "cupertino/jquery.ui.selectable";
5
+ @import "cupertino/jquery.ui.accordion";
6
+ @import "cupertino/jquery.ui.autocomplete";
7
+ @import "cupertino/jquery.ui.button";
8
+ @import "cupertino/jquery.ui.dialog";
9
+ @import "cupertino/jquery.ui.slider";
10
+ @import "cupertino/jquery.ui.tabs";
11
+ @import "cupertino/jquery.ui.datepicker";
12
+ @import "cupertino/jquery.ui.progressbar";
13
+ @import "cupertino/jquery.ui.theme";
14
+
15
+ $active-color:#2779aa;
@@ -0,0 +1,15 @@
1
+
2
+ @import "humanity/jquery.ui.core";
3
+ @import "humanity/jquery.ui.resizable";
4
+ @import "humanity/jquery.ui.selectable";
5
+ @import "humanity/jquery.ui.accordion";
6
+ @import "humanity/jquery.ui.autocomplete";
7
+ @import "humanity/jquery.ui.button";
8
+ @import "humanity/jquery.ui.dialog";
9
+ @import "humanity/jquery.ui.slider";
10
+ @import "humanity/jquery.ui.tabs";
11
+ @import "humanity/jquery.ui.datepicker";
12
+ @import "humanity/jquery.ui.progressbar";
13
+ @import "humanity/jquery.ui.theme";
14
+
15
+ $active-color:#b85700;
@@ -0,0 +1,15 @@
1
+
2
+ @import "redmond/jquery.ui.core";
3
+ @import "redmond/jquery.ui.resizable";
4
+ @import "redmond/jquery.ui.selectable";
5
+ @import "redmond/jquery.ui.accordion";
6
+ @import "redmond/jquery.ui.autocomplete";
7
+ @import "redmond/jquery.ui.button";
8
+ @import "redmond/jquery.ui.dialog";
9
+ @import "redmond/jquery.ui.slider";
10
+ @import "redmond/jquery.ui.tabs";
11
+ @import "redmond/jquery.ui.datepicker";
12
+ @import "redmond/jquery.ui.progressbar";
13
+ @import "redmond/jquery.ui.theme";
14
+
15
+ $active-color:#e17009;
@@ -0,0 +1,43 @@
1
+ /* Accordion
2
+ ----------------------------------*/
3
+
4
+ .ui-accordion {
5
+ .ui-accordion-header {
6
+ cursor: pointer;
7
+ position: relative;
8
+ margin-top: 1px;
9
+ zoom: 1; }
10
+ .ui-accordion-li-fix {
11
+ display: inline; }
12
+ .ui-accordion-header-active {
13
+ border-bottom: 0 !important; }
14
+ .ui-accordion-header a {
15
+ display: block;
16
+ font-size: 1em;
17
+ padding: .5em .5em .5em .7em; }
18
+ a {
19
+ zoom: 1; } }
20
+
21
+ /* IE7-/Win - Fix extra vertical space in lists */
22
+
23
+ .ui-accordion-icons .ui-accordion-header a {
24
+ padding-left: 2.2em; }
25
+
26
+ .ui-accordion {
27
+ .ui-accordion-header .ui-icon {
28
+ position: absolute;
29
+ left: .5em;
30
+ top: 50%;
31
+ margin-top: -8px; }
32
+ .ui-accordion-content {
33
+ padding: 1em 2.2em;
34
+ border-top: 0;
35
+ margin-top: -2px;
36
+ position: relative;
37
+ top: 1px;
38
+ margin-bottom: 2px;
39
+ overflow: auto;
40
+ display: none;
41
+ zoom: 1; }
42
+ .ui-accordion-content-active {
43
+ display: block; } }
@@ -0,0 +1,43 @@
1
+ /* Autocomplete
2
+ ----------------------------------*/
3
+
4
+ .ui-autocomplete {
5
+ position: absolute;
6
+ cursor: default; }
7
+
8
+ .ui-autocomplete-loading {
9
+ background: white image_url('jquery-ui/base/ui-anim_basic_16x16.gif') right center no-repeat; }
10
+
11
+ /* workarounds */
12
+
13
+ * html .ui-autocomplete {
14
+ width: 1px; }
15
+
16
+ /* without this, the menu expands to 100% in IE6 */
17
+
18
+ /* Menu
19
+ ----------------------------------*/
20
+
21
+ .ui-menu {
22
+ list-style: none;
23
+ padding: 2px;
24
+ margin: 0;
25
+ display: block;
26
+ .ui-menu {
27
+ margin-top: -3px; }
28
+ .ui-menu-item {
29
+ margin: 0;
30
+ padding: 0;
31
+ zoom: 1;
32
+ float: left;
33
+ clear: left;
34
+ width: 100%;
35
+ a {
36
+ text-decoration: none;
37
+ display: block;
38
+ padding: .2em .4em;
39
+ line-height: 1.5;
40
+ zoom: 1;
41
+ &.ui-state-hover, &.ui-state-active {
42
+ font-weight: normal;
43
+ margin: -1px; } } } }
@@ -0,0 +1,90 @@
1
+ /* Button
2
+ ----------------------------------*/
3
+
4
+ .ui-button {
5
+ display: inline-block;
6
+ position: relative;
7
+ padding: 0;
8
+ margin-right: .1em;
9
+ text-decoration: none !important;
10
+ cursor: pointer;
11
+ text-align: center;
12
+ zoom: 1;
13
+ overflow: visible; }
14
+
15
+ /* the overflow property removes extra width in IE */
16
+
17
+ .ui-button-icon-only {
18
+ width: 2.2em; }
19
+
20
+ /* to make room for the icon, a width needs to be set here */
21
+
22
+ button.ui-button-icon-only {
23
+ width: 2.4em; }
24
+
25
+ /* button elements seem to need a little more width */
26
+
27
+ .ui-button-icons-only {
28
+ width: 3.4em; }
29
+
30
+ button.ui-button-icons-only {
31
+ width: 3.7em; }
32
+
33
+ /*button text element */
34
+
35
+ .ui-button .ui-button-text {
36
+ display: block;
37
+ line-height: 1.4; }
38
+
39
+ .ui-button-text-only .ui-button-text {
40
+ padding: .4em 1em; }
41
+
42
+ .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text {
43
+ padding: .4em;
44
+ text-indent: -9999999px; }
45
+
46
+ .ui-button-text-icon .ui-button-text {
47
+ padding: .4em 1em .4em 2.1em; }
48
+
49
+ .ui-button-text-icons .ui-button-text {
50
+ padding: .4em 1em .4em 2.1em;
51
+ padding-left: 2.1em;
52
+ padding-right: 2.1em; }
53
+
54
+ /* no icon support for input elements, provide padding by default */
55
+
56
+ input.ui-button {
57
+ padding: .4em 1em; }
58
+
59
+ /*button icon element(s) */
60
+
61
+ .ui-button-icon-only .ui-icon, .ui-button-text-icon .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon {
62
+ position: absolute;
63
+ top: 50%;
64
+ margin-top: -8px; }
65
+
66
+ .ui-button-icon-only .ui-icon {
67
+ left: 50%;
68
+ margin-left: -8px; }
69
+
70
+ .ui-button-text-icon .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary {
71
+ left: .5em; }
72
+
73
+ .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary {
74
+ right: .5em; }
75
+
76
+ /*button sets*/
77
+
78
+ .ui-buttonset {
79
+ margin-right: 7px;
80
+ .ui-button {
81
+ margin-left: 0;
82
+ margin-right: -0.3em; } }
83
+
84
+ /* workarounds */
85
+
86
+ button.ui-button::-moz-focus-inner {
87
+ border: 0;
88
+ padding: 0; }
89
+
90
+ /* reset extra padding in Firefox */
@@ -0,0 +1,82 @@
1
+ /*
2
+ * jQuery UI CSS Framework
3
+ * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
4
+ * Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
5
+ */
6
+
7
+ /* Layout helpers
8
+ ----------------------------------*/
9
+
10
+ .ui-helper-hidden {
11
+ display: none; }
12
+
13
+ .ui-helper-hidden-accessible {
14
+ position: absolute;
15
+ left: -99999999px; }
16
+
17
+ .ui-helper-reset {
18
+ margin: 0;
19
+ padding: 0;
20
+ border: 0;
21
+ outline: 0;
22
+ line-height: 1.3;
23
+ text-decoration: none;
24
+ font-size: 100%;
25
+ list-style: none; }
26
+
27
+ .ui-helper-clearfix {
28
+ &:after {
29
+ content: ".";
30
+ display: block;
31
+ height: 0;
32
+ clear: both;
33
+ visibility: hidden; }
34
+ display: inline-block; }
35
+
36
+ /* required comment for clearfix to work in Opera \*/
37
+
38
+ * html .ui-helper-clearfix {
39
+ height: 1%; }
40
+
41
+ .ui-helper-clearfix {
42
+ display: block; }
43
+
44
+ /* end clearfix */
45
+
46
+ .ui-helper-zfix {
47
+ width: 100%;
48
+ height: 100%;
49
+ top: 0;
50
+ left: 0;
51
+ position: absolute;
52
+ opacity: 0;
53
+ filter: Alpha(Opacity = 0); }
54
+
55
+ /* Interaction Cues
56
+ ----------------------------------*/
57
+
58
+ .ui-state-disabled {
59
+ cursor: default !important; }
60
+
61
+ /* Icons
62
+ ----------------------------------*/
63
+
64
+ /* states and images */
65
+
66
+ .ui-icon {
67
+ display: block;
68
+ text-indent: -99999px;
69
+ overflow: hidden;
70
+ background-repeat: no-repeat; }
71
+
72
+ /* Misc visuals
73
+ ----------------------------------*/
74
+
75
+ /* Overlays */
76
+
77
+ .ui-widget-overlay {
78
+ position: absolute;
79
+ top: 0;
80
+ left: 0;
81
+ width: 100%;
82
+ height: 100%; }
@@ -0,0 +1,156 @@
1
+ /* Datepicker
2
+ ----------------------------------*/
3
+
4
+ .ui-datepicker {
5
+ width: 17em;
6
+ padding: .2em .2em 0;
7
+ .ui-datepicker-header {
8
+ position: relative;
9
+ padding: .2em 0; }
10
+ .ui-datepicker-prev, .ui-datepicker-next {
11
+ position: absolute;
12
+ top: 2px;
13
+ width: 1.8em;
14
+ height: 1.8em; }
15
+ .ui-datepicker-prev-hover, .ui-datepicker-next-hover {
16
+ top: 1px; }
17
+ .ui-datepicker-prev {
18
+ left: 2px; }
19
+ .ui-datepicker-next {
20
+ right: 2px; }
21
+ .ui-datepicker-prev-hover {
22
+ left: 1px; }
23
+ .ui-datepicker-next-hover {
24
+ right: 1px; }
25
+ .ui-datepicker-prev span, .ui-datepicker-next span {
26
+ display: block;
27
+ position: absolute;
28
+ left: 50%;
29
+ margin-left: -8px;
30
+ top: 50%;
31
+ margin-top: -8px; }
32
+ .ui-datepicker-title {
33
+ margin: 0 2.3em;
34
+ line-height: 1.8em;
35
+ text-align: center;
36
+ select {
37
+ font-size: 1em;
38
+ margin: 1px 0; } }
39
+ select {
40
+ &.ui-datepicker-month-year {
41
+ width: 100%; }
42
+ &.ui-datepicker-month, &.ui-datepicker-year {
43
+ width: 49%; } }
44
+ table {
45
+ width: 100%;
46
+ font-size: .9em;
47
+ border-collapse: collapse;
48
+ margin: 0 0 .4em; }
49
+ th {
50
+ padding: .7em .3em;
51
+ text-align: center;
52
+ font-weight: bold;
53
+ border: 0; }
54
+ td {
55
+ border: 0;
56
+ padding: 1px;
57
+ span, a {
58
+ display: block;
59
+ padding: .2em;
60
+ text-align: right;
61
+ text-decoration: none; } }
62
+ .ui-datepicker-buttonpane {
63
+ background-image: none;
64
+ margin: .7em 0 0 0;
65
+ padding: 0 .2em;
66
+ border-left: 0;
67
+ border-right: 0;
68
+ border-bottom: 0;
69
+ button {
70
+ float: right;
71
+ margin: .5em .2em .4em;
72
+ cursor: pointer;
73
+ padding: .2em .6em .3em .6em;
74
+ width: auto;
75
+ overflow: visible;
76
+ &.ui-datepicker-current {
77
+ float: left; } } }
78
+ &.ui-datepicker-multi {
79
+ width: auto; } }
80
+
81
+ /* with multiple calendars */
82
+
83
+ .ui-datepicker-multi .ui-datepicker-group {
84
+ float: left;
85
+ table {
86
+ width: 95%;
87
+ margin: 0 auto .4em; } }
88
+
89
+ .ui-datepicker-multi-2 .ui-datepicker-group {
90
+ width: 50%; }
91
+
92
+ .ui-datepicker-multi-3 .ui-datepicker-group {
93
+ width: 33.3%; }
94
+
95
+ .ui-datepicker-multi-4 .ui-datepicker-group {
96
+ width: 25%; }
97
+
98
+ .ui-datepicker-multi {
99
+ .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-group-middle .ui-datepicker-header {
100
+ border-left-width: 0; }
101
+ .ui-datepicker-buttonpane {
102
+ clear: left; } }
103
+
104
+ .ui-datepicker-row-break {
105
+ clear: both;
106
+ width: 100%; }
107
+
108
+ /* RTL support */
109
+
110
+ .ui-datepicker-rtl {
111
+ direction: rtl;
112
+ .ui-datepicker-prev {
113
+ right: 2px;
114
+ left: auto; }
115
+ .ui-datepicker-next {
116
+ left: 2px;
117
+ right: auto; }
118
+ .ui-datepicker-prev:hover {
119
+ right: 1px;
120
+ left: auto; }
121
+ .ui-datepicker-next:hover {
122
+ left: 1px;
123
+ right: auto; }
124
+ .ui-datepicker-buttonpane {
125
+ clear: right;
126
+ button {
127
+ float: left;
128
+ &.ui-datepicker-current {
129
+ float: right; } } }
130
+ .ui-datepicker-group {
131
+ float: right; }
132
+ .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-group-middle .ui-datepicker-header {
133
+ border-right-width: 0;
134
+ border-left-width: 1px; } }
135
+
136
+ /* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
137
+
138
+ .ui-datepicker-cover {
139
+ display: none;
140
+ /*sorry for IE5*/
141
+ display/**/: block;
142
+ /*sorry for IE5*/
143
+ position: absolute;
144
+ /*must have*/
145
+ z-index: -1;
146
+ /*must have*/
147
+ filter: mask();
148
+ /*must have*/
149
+ top: -4px;
150
+ /*must have*/
151
+ left: -4px;
152
+ /*must have*/
153
+ width: 200px;
154
+ /*must have*/
155
+ height: 200px;
156
+ /*must have*/ }