fuelux-rails 2.1.3 → 2.2.0.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,52 @@
1
+ .checkbox-custom {
2
+ input[type=checkbox] {
3
+ display: none;
4
+ }
5
+
6
+ i {
7
+ background-image: url(../img/form.png);
8
+ background-position: 0 1px;
9
+ background-repeat: no-repeat;
10
+ margin-left: -20px;
11
+ margin-right: 4px;
12
+ padding-left: 16px;
13
+ width: 16px;
14
+ height: 16px;
15
+
16
+ &.checked {
17
+ /* checked */
18
+ background-position: -48px 1px;
19
+ }
20
+
21
+ &.disabled {
22
+ /* disabled */
23
+ background-position: -64px 1px;
24
+
25
+ &.checked {
26
+ /* disabled and checked */
27
+ background-position: -80px 1px;
28
+ }
29
+ }
30
+ }
31
+ }
32
+
33
+ .checkbox-custom:hover {
34
+ i {
35
+ background-position: -16px 1px;
36
+
37
+ &.checked {
38
+ /* checked */
39
+ background-position: -32px 1px;
40
+ }
41
+
42
+ &.disabled {
43
+ /* disabled */
44
+ background-position: -64px 1px;
45
+
46
+ &.checked {
47
+ /* disabled and checked */
48
+ background-position: -80px 1px;
49
+ }
50
+ }
51
+ }
52
+ }
File without changes
File without changes
File without changes
@@ -0,0 +1,52 @@
1
+ .radio-custom {
2
+ input[type=radio] {
3
+ display: none;
4
+ }
5
+
6
+ i {
7
+ background-image: url(image-path('form.png'));
8
+ background-position: 0 -15px;
9
+ background-repeat: no-repeat;
10
+ margin-left: -20px;
11
+ margin-right: 4px;
12
+ padding-left: 16px;
13
+ width: 16px;
14
+ height: 16px;
15
+
16
+ &.checked {
17
+ /* checked */
18
+ background-position: -48px -15px;
19
+ }
20
+
21
+ &.disabled {
22
+ /* disabled */
23
+ background-position: -64px -15px;
24
+
25
+ &.checked {
26
+ /* disabled and checked */
27
+ background-position: -80px -15px;
28
+ }
29
+ }
30
+ }
31
+ }
32
+
33
+ .radio-custom:hover {
34
+ i {
35
+ background-position: -16px -15px;
36
+
37
+ &.checked {
38
+ /* checked */
39
+ background-position: -32px -15px;
40
+ }
41
+
42
+ &.disabled {
43
+ /* disabled */
44
+ background-position: -64px -15px;
45
+
46
+ &.checked {
47
+ /* disabled and checked */
48
+ background-position: -80px -15px;
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,17 @@
1
+ .select {
2
+ .dropdown-label {
3
+ padding: 0 10px 0 0;
4
+ margin: 0;
5
+ display: inline-block;
6
+ text-align: left;
7
+ font-weight: normal;
8
+ color: #333;
9
+ }
10
+ }
11
+
12
+ #selectTextSize {
13
+ display: inline-block;
14
+ position: absolute;
15
+ visibility: hidden;
16
+ top: 0;
17
+ }
File without changes
@@ -0,0 +1,97 @@
1
+ .tree {
2
+
3
+ border: 1px solid #BBBBBB;
4
+ border-radius: 4px 4px 4px 4px;
5
+ overflow-y: auto;
6
+ overflow-x: hidden;
7
+ padding: 10px 15px 0 15px;
8
+ position: relative;
9
+
10
+ .tree-folder {
11
+
12
+ width: 100%;
13
+ min-height: 20px;
14
+ cursor: pointer;
15
+ margin-top: 1px;
16
+
17
+ .tree-folder-header {
18
+
19
+ position: relative;
20
+ height: 20px;
21
+ -webkit-border-radius: 6px;
22
+ -moz-border-radius: 6px;
23
+ border-radius: 6px;
24
+
25
+ &:hover {
26
+ background-color: @treeBackgroundHover;
27
+ }
28
+
29
+ i {
30
+ position: absolute;
31
+ float: left;
32
+ top: 1px;
33
+ left: 5px;
34
+ }
35
+
36
+ .tree-folder-name {
37
+ position: absolute;
38
+ left: 29px;
39
+ }
40
+
41
+ }
42
+
43
+ .tree-folder-content {
44
+ margin-left: 23px;
45
+ }
46
+
47
+ }
48
+
49
+ .tree-item {
50
+
51
+ position: relative;
52
+ width: 100%;
53
+ height: 20px;
54
+ cursor: pointer;
55
+ margin-top: 1px;
56
+ -webkit-border-radius: 6px;
57
+ -moz-border-radius: 6px;
58
+ border-radius: 6px;
59
+
60
+ &:hover {
61
+ background-color: @treeBackgroundHover;
62
+ }
63
+
64
+ .tree-item-name {
65
+ position: absolute;
66
+ left: 29px;
67
+ }
68
+
69
+ .tree-dot {
70
+ position: absolute;
71
+ top: 8px;
72
+ left: 10px;
73
+ display: block;
74
+ width: 4px;
75
+ height: 4px;
76
+ background-color: @grayDark;
77
+ -webkit-border-radius: 6px;
78
+ -moz-border-radius: 6px;
79
+ border-radius: 6px;
80
+ }
81
+
82
+ .icon-ok {
83
+ position: absolute;
84
+ top: 1px;
85
+ left: 5px;
86
+ }
87
+
88
+ }
89
+
90
+ .tree-selected {
91
+ background-color: @treeBackgroundSelect;
92
+
93
+ &:hover {
94
+ background-color: @treeBackgroundSelect;
95
+ }
96
+ }
97
+ }
@@ -0,0 +1,147 @@
1
+ .wizard {
2
+
3
+ .clearfix;
4
+
5
+ border: 1px solid @navbarBorder;
6
+ .border-radius(@baseBorderRadius);
7
+ .box-shadow(0 1px 4px rgba(0,0,0,.065));
8
+ background-color: @tableBackgroundAccent;
9
+
10
+ ul {
11
+ list-style: none outside none;
12
+ padding: 0;
13
+ margin: 0;
14
+
15
+ li {
16
+ float: left;
17
+ margin: 0;
18
+ padding: 0 20px 0 30px;
19
+ height: 46px;
20
+ line-height: 46px;
21
+ position: relative;
22
+ background: #ededed;
23
+ color: @grayLight;
24
+ font-size: 16px;
25
+ cursor: default;
26
+
27
+ .chevron {
28
+ border: 24px solid transparent;
29
+ border-left: 14px solid @navbarBorder;
30
+ border-right: 0;
31
+ display: block;
32
+ position: absolute;
33
+ right: -14px;
34
+ top: 0;
35
+ }
36
+
37
+ .chevron:before {
38
+ border: 24px solid transparent;
39
+ border-left: 14px solid #ededed;
40
+ border-right: 0;
41
+ content: "";
42
+ display: block;
43
+ position: absolute;
44
+ right: 1px;
45
+ top: -24px;
46
+ }
47
+
48
+ &.complete {
49
+ background: #f3f4f5;
50
+ color: @successText;
51
+
52
+ &:hover {
53
+ background: #e7eff8;
54
+ cursor: pointer;
55
+
56
+ .chevron:before {
57
+ border-left: 14px solid #e7eff8;
58
+ }
59
+ }
60
+
61
+ .chevron:before {
62
+ border-left: 14px solid #f3f4f5;
63
+ }
64
+ }
65
+ &.active {
66
+ background: #f1f6fc;
67
+ color: @infoText;
68
+
69
+ .chevron:before {
70
+ border-left: 14px solid #f1f6fc;
71
+ }
72
+ }
73
+ .badge {
74
+ margin-right: 8px;
75
+ }
76
+ }
77
+
78
+ /* set z-index on steps for chevron overlap */
79
+ li:nth-child(1) {
80
+ border-radius: 4px 0 0 4px;
81
+ padding-left: 20px;
82
+ z-index: 10;
83
+ }
84
+ li:nth-child(2) {
85
+ z-index: 9;
86
+ }
87
+ li:nth-child(3) {
88
+ z-index: 8;
89
+ }
90
+ li:nth-child(4) {
91
+ z-index: 7;
92
+ }
93
+ li:nth-child(5) {
94
+ z-index: 6;
95
+ }
96
+ li:nth-child(6) {
97
+ z-index: 5;
98
+ }
99
+ li:nth-child(7) {
100
+ z-index: 4;
101
+ }
102
+ li:nth-child(8) {
103
+ z-index: 3;
104
+ }
105
+ li:nth-child(9) {
106
+ z-index: 2;
107
+ }
108
+ li:nth-child(10) {
109
+ z-index: 1;
110
+ }
111
+ }
112
+
113
+ .actions {
114
+ line-height: 44px;
115
+ float: right;
116
+ padding-right: 15px;
117
+ vertical-align: middle;
118
+
119
+ a {
120
+ line-height: 45px;
121
+ font-size: 12px;
122
+ margin-right: 8px;
123
+ }
124
+
125
+ .btn-prev {
126
+ i {
127
+ margin-right: 5px;
128
+ }
129
+ }
130
+
131
+ .btn-next {
132
+ i {
133
+ margin-left: 5px;
134
+ }
135
+ }
136
+ }
137
+ }
138
+
139
+ .step-content {
140
+ .step-pane {
141
+ display: none;
142
+ }
143
+
144
+ .active {
145
+ display: block;
146
+ }
147
+ }
@@ -1,5 +1,12 @@
1
1
  // Fuel UX controls
2
+ @import "fuelux/checkbox.less";
2
3
  @import "fuelux/combobox.less";
3
4
  @import "fuelux/datagrid.less";
4
5
  @import "fuelux/pillbox.less";
6
+ @import "fuelux/radio.less";
5
7
  @import "fuelux/spinner.less";
8
+ @import "fuelux/select.less";
9
+ @treeBackgroundHover: #DFEEF5;
10
+ @treeBackgroundSelect: #B9DFF1;
11
+ @import "fuelux/tree.less";
12
+ @import "fuelux/wizard.less";
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuelux-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
5
- prerelease:
4
+ version: 2.2.0.beta.1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Stephen Baldwin
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-19 00:00:00.000000000 Z
12
+ date: 2012-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -105,21 +105,34 @@ files:
105
105
  - lib/fuelux-rails.rb
106
106
  - lib/generators/fuelux/install_generator.rb
107
107
  - lib/tasks/fuelux-rails_tasks.rake
108
+ - vendor/assets/images/form.png
109
+ - vendor/assets/javascripts/fuelux/checkbox.js
108
110
  - vendor/assets/javascripts/fuelux/combobox.js
109
111
  - vendor/assets/javascripts/fuelux/datagrid.js
110
112
  - vendor/assets/javascripts/fuelux/loader.js
111
113
  - vendor/assets/javascripts/fuelux/pillbox.js
114
+ - vendor/assets/javascripts/fuelux/radio.js
112
115
  - vendor/assets/javascripts/fuelux/search.js
116
+ - vendor/assets/javascripts/fuelux/select.js
113
117
  - vendor/assets/javascripts/fuelux/spinner.js
118
+ - vendor/assets/javascripts/fuelux/tree.js
119
+ - vendor/assets/javascripts/fuelux/util.js
120
+ - vendor/assets/javascripts/fuelux/wizard.js
114
121
  - vendor/assets/javascripts/fuelux.js
122
+ - vendor/toolkit/fuelux/checkbox.less
115
123
  - vendor/toolkit/fuelux/combobox.less
116
124
  - vendor/toolkit/fuelux/datagrid.less
117
125
  - vendor/toolkit/fuelux/pillbox.less
126
+ - vendor/toolkit/fuelux/radio.less
127
+ - vendor/toolkit/fuelux/select.less
118
128
  - vendor/toolkit/fuelux/spinner.less
129
+ - vendor/toolkit/fuelux/tree.less
130
+ - vendor/toolkit/fuelux/wizard.less
119
131
  - vendor/toolkit/fuelux.less
120
- - MIT-LICENSE
121
132
  - Rakefile
122
- - README.rdoc
133
+ - README.md
134
+ - COPYING
135
+ - THIRD-PARTY
123
136
  - test/dummy/app/assets/javascripts/application.js
124
137
  - test/dummy/app/assets/stylesheets/application.css
125
138
  - test/dummy/app/controllers/application_controller.rb
@@ -169,9 +182,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
169
182
  required_rubygems_version: !ruby/object:Gem::Requirement
170
183
  none: false
171
184
  requirements:
172
- - - ! '>='
185
+ - - ! '>'
173
186
  - !ruby/object:Gem::Version
174
- version: '0'
187
+ version: 1.3.1
175
188
  requirements: []
176
189
  rubyforge_project: fuelux-rails
177
190
  rubygems_version: 1.8.24
data/MIT-LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright 2012 YOURNAME
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc DELETED
@@ -1,3 +0,0 @@
1
- = FueluxRails
2
-
3
- This project rocks and uses MIT-LICENSE.