rsence-pre 3.0.0.9 → 3.0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/client/ext/Rakefile +18 -0
- data/client/js/controls/button/themes/default/button.html +1 -1
- data/client/js/controls/checkbox/checkbox.js +9 -4
- data/client/js/controls/checkbox/themes/default/checkbox.css +19 -29
- data/client/js/controls/checkbox/themes/default/checkbox.html +8 -6
- data/client/js/controls/dialogs/sheet/themes/default/sheet.css +25 -30
- data/client/js/controls/dialogs/sheet/themes/default/sheet.html +10 -10
- data/client/js/controls/numerictextcontrol/numerictextcontrol.coffee +7 -14
- data/client/js/controls/passwordcontrol/passwordcontrol.js +1 -5
- data/client/js/controls/radiobutton/themes/default/radiobutton.css +21 -31
- data/client/js/controls/radiobutton/themes/default/radiobutton.html +8 -6
- data/client/js/controls/searchfield/themes/default/searchfield.css +1 -1
- data/client/js/controls/sliders/slider/themes/default/slider.css +3 -3
- data/client/js/controls/sliders/vslider/themes/default/vslider.css +3 -3
- data/client/js/controls/stepper/themes/default/stepper.css +1 -1
- data/client/js/controls/stringview/stringview.js +9 -16
- data/client/js/controls/stringview/themes/default/stringview.css +10 -2
- data/client/js/controls/tab/themes/default/tab.css +3 -3
- data/client/js/controls/textarea/textarea.js +1 -3
- data/client/js/controls/textcontrol/textcontrol.coffee +173 -36
- data/client/js/controls/textcontrol/themes/default/textcontrol.css +64 -100
- data/client/js/controls/textcontrol/themes/default/textcontrol.html +14 -19
- data/client/js/controls/uploader/themes/default/uploader.css +1 -1
- data/client/js/controls/window/themes/default/window.css +8 -8
- data/client/js/core/elem/elem.coffee +6 -4
- data/client/js/core/event/event.js +6 -0
- data/client/js/datetime/datepicker/datepicker.coffee +7 -3
- data/client/js/foundation/eventmanager/eventmanager.coffee +9 -4
- data/client/js/foundation/thememanager/thememanager.coffee +8 -1
- data/client/js/foundation/view/view.js +19 -4
- data/client/js/menus/combobox/combobox.coffee +2 -2
- data/client/js/menus/menuitem/themes/default/menuitem.css +15 -27
- data/client/js/menus/menuitem/themes/default/menuitem.html +2 -4
- data/client/js/menus/minimenu/minimenu.js +11 -3
- data/client/js/menus/minimenu/themes/default/minimenu.css +23 -18
- data/client/js/menus/minimenu/themes/default/minimenu.html +6 -8
- data/client/js/menus/minimenuitem/minimenuitem.js +1 -1
- data/client/js/menus/minimenuitem/themes/default/minimenuitem.css +15 -27
- data/client/js/menus/minimenuitem/themes/default/minimenuitem.html +2 -4
- data/client/js/menus/popupmenu/themes/default/popupmenu.css +27 -19
- data/client/js/menus/popupmenu/themes/default/popupmenu.html +6 -8
- data/plugins/client_pkg/lib/client_pkg_build.rb +33 -4
- metadata +3 -7
- data/client/js/controls/passwordcontrol/themes/default/passwordcontrol.css +0 -0
- data/client/js/controls/passwordcontrol/themes/default/passwordcontrol.html +0 -18
- data/client/js/controls/stringview/themes/default/stringview.html +0 -1
- data/client/js/controls/textarea/themes/default/textarea.css +0 -36
- data/client/js/controls/textarea/themes/default/textarea.html +0 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d5b5f7d60608bbab206276e6e1f1fe3a078fdc1
|
4
|
+
data.tar.gz: d460c435b926b1d001c0079e60d03ee26bac4b9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2508420c6dbf347f43781cdb5ff772341df775f4867128a0b385d8c4a254e3f91d037fd306a92f58470e64d2c7f51e2cf12d606da91450ec52ebaaf6b5065435
|
7
|
+
data.tar.gz: 25ffa628cc7916db622b614ad8a883191ec97be900945c17d0695e17e79a112abf6c238d4e6e88eef9b36561ade57f74e55433d447292ad47224d01b862f8ce7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.0.
|
1
|
+
3.0.0.10.pre
|
data/client/ext/Rakefile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
|
2
|
+
path = File.split(__FILE__).first
|
3
|
+
task :momentjs do
|
4
|
+
moment_url = 'https://github.com/timrwood/moment.git'
|
5
|
+
moment_path = File.expand_path( 'moment', path )
|
6
|
+
if File.exist? moment_path
|
7
|
+
`cd "#{moment_path}"; git pull`
|
8
|
+
else
|
9
|
+
`git clone #{moment_url} "#{moment_path}"`
|
10
|
+
end
|
11
|
+
client_path = File.split( path ).first
|
12
|
+
src_js = File.expand_path( 'moment.js', moment_path )
|
13
|
+
tgt_js = File.expand_path( 'js/datetime/momentjs/momentjs.js', client_path )
|
14
|
+
`cp #{src_js} #{tgt_js}`
|
15
|
+
end
|
16
|
+
|
17
|
+
task :all => :momentjs
|
18
|
+
task :default => :all
|
@@ -11,7 +11,7 @@ ${#!coffee
|
|
11
11
|
['height',_labelHeight],
|
12
12
|
['lineHeight',_labelHeight],
|
13
13
|
['fontSize',_fontSize] ]
|
14
|
-
@setStyleOfPart('label',_key,_value)
|
14
|
+
@setStyleOfPart('label',_key,_value) unless @options.style? and @options.style[_key]?
|
15
15
|
_radius = Math.floor(@rect.height / 6)+'px'
|
16
16
|
@setStyleOfPart('bg','borderRadius',_radius)
|
17
17
|
}
|
@@ -28,15 +28,20 @@ HCheckbox = HButton.extend({
|
|
28
28
|
according to the trueness of the value.**/
|
29
29
|
refreshValue: function(){
|
30
30
|
if(this.markupElemIds.control){
|
31
|
+
!this.isProduction && console.log('Please update your theme of ',this.componentName,' to current checkbox/radiobutton mode: the cell should be the checked element, not the control part.');
|
31
32
|
if(this.value){
|
32
|
-
this.setCSSClass('control',
|
33
|
-
this.unsetCSSClass('control',
|
33
|
+
this.setCSSClass('control','checked');
|
34
|
+
this.unsetCSSClass('control','unchecked');
|
34
35
|
}
|
35
36
|
else{
|
36
|
-
this.
|
37
|
-
this.
|
37
|
+
this.setCSSClass('control','unchecked');
|
38
|
+
this.unsetCSSClass('control','checked');
|
38
39
|
}
|
39
40
|
}
|
41
|
+
else{
|
42
|
+
if(this.value){this.setCSSClass('checked');}
|
43
|
+
else{this.unsetCSSClass('checked');}
|
44
|
+
}
|
40
45
|
}
|
41
46
|
});
|
42
47
|
//-- Alias for some users:++
|
@@ -1,51 +1,45 @@
|
|
1
|
-
.
|
2
|
-
.checkbox_state,
|
3
|
-
.checkbox_label,
|
4
|
-
.checkbox_antiselect {
|
5
|
-
position: absolute; height: 24px;
|
6
|
-
}
|
7
|
-
.checkbox_control {
|
1
|
+
.default.checkbox {
|
8
2
|
left: 0px; top: 0px; right: 0px;
|
9
3
|
cursor: pointer;
|
10
4
|
}
|
11
|
-
.disabled
|
5
|
+
.default.checkbox.disabled {
|
12
6
|
cursor: default;
|
13
7
|
}
|
14
|
-
.
|
8
|
+
.default.checkbox.checkbox > .state,
|
9
|
+
.default.checkbox.checkbox > .label {
|
10
|
+
position: absolute; height: 24px;
|
11
|
+
}
|
12
|
+
.default.checkbox > .state {
|
15
13
|
left: 0px; top: 0px; width: 24px;
|
16
14
|
background-repeat: no-repeat;
|
17
15
|
background-position: -24px 0px;
|
18
|
-
background-image: #
|
19
|
-
}
|
20
|
-
|
21
|
-
.enabled > .unchecked > .checkbox_state {
|
22
|
-
background-position: -24px 0px;
|
16
|
+
background-image: #url(checkbox_parts1.png);
|
23
17
|
}
|
24
|
-
.enabled
|
18
|
+
.default.checkbox.enabled:hover > .state {
|
25
19
|
background-position: -24px -24px;
|
26
20
|
}
|
27
|
-
.enabled
|
21
|
+
.default.checkbox.enabled:active > .state {
|
28
22
|
background-position: -24px -48px;
|
29
23
|
}
|
30
24
|
|
31
|
-
.enabled
|
25
|
+
.default.checkbox.enabled.checked > .state {
|
32
26
|
background-position: 0px 0px;
|
33
27
|
}
|
34
|
-
.enabled
|
28
|
+
.default.checkbox.enabled.checked:hover > .state {
|
35
29
|
background-position: 0px -24px;
|
36
30
|
}
|
37
|
-
.enabled
|
31
|
+
.default.checkbox.enabled.checked:active > .state {
|
38
32
|
background-position: 0px -48px;
|
39
33
|
}
|
40
34
|
|
41
|
-
.disabled > .
|
35
|
+
.default.checkbox.disabled > .state {
|
42
36
|
background-position: -24px -72px;
|
43
37
|
}
|
44
|
-
.disabled
|
38
|
+
.default.checkbox.disabled.checked > .state {
|
45
39
|
background-position: 0px -72px;
|
46
40
|
}
|
47
41
|
|
48
|
-
.
|
42
|
+
.default.checkbox > .label {
|
49
43
|
left: 24px; right: 0px; top: 2px;
|
50
44
|
height: 20px; line-height: 20px;
|
51
45
|
text-align: left; vertical-align: middle;
|
@@ -53,17 +47,13 @@
|
|
53
47
|
font-size: 12px;
|
54
48
|
color: #333;
|
55
49
|
}
|
56
|
-
.disabled > .
|
50
|
+
.default.checkbox.disabled > .label {
|
57
51
|
color: #999;
|
58
52
|
}
|
59
|
-
.enabled
|
53
|
+
.default.checkbox.enabled:hover > .label {
|
60
54
|
color: #000;
|
61
55
|
}
|
62
|
-
.enabled
|
56
|
+
.default.checkbox.enabled:active > .label {
|
63
57
|
color: #000;
|
64
58
|
}
|
65
59
|
|
66
|
-
.checkbox_antiselect {
|
67
|
-
left: 0px; top: 0px; right: 0px;
|
68
|
-
}
|
69
|
-
|
@@ -1,6 +1,8 @@
|
|
1
|
-
<div class="
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
<div class="state" id="state]I["></div>
|
2
|
+
<div class="label" id="label]I[">#{this.label}</div>
|
3
|
+
${#!coffee
|
4
|
+
@labelPadding=24
|
5
|
+
@pushTask =>
|
6
|
+
@refreshValue()
|
7
|
+
@markupElemIds.control = @elemId
|
8
|
+
}
|
@@ -1,68 +1,63 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.sheet_subview {
|
1
|
+
.default.sheet > .content > .bg,
|
2
|
+
.default.sheet > .content > .body,
|
3
|
+
.default.sheet > .dimmer,
|
4
|
+
.default.sheet > .content,
|
5
|
+
.default.sheet > .content > .body > .w,
|
6
|
+
.default.sheet > .content > .body > .e,
|
7
|
+
.default.sheet > .content > .body > .sw,
|
8
|
+
.default.sheet > .content > .body > .se,
|
9
|
+
.default.sheet > .content > .body > .s,
|
10
|
+
.default.sheet > .content > .subview {
|
12
11
|
position: absolute;
|
13
12
|
display: block;
|
14
13
|
overflow: hidden;
|
15
14
|
cursor: inherit;
|
16
15
|
background-repeat: no-repeat;
|
17
16
|
}
|
18
|
-
.
|
17
|
+
.default.sheet > .dimmer {
|
19
18
|
top: 0; left: 0; right: 0; bottom: 0;
|
20
19
|
background-repeat: repeat;
|
21
|
-
background-image: #
|
20
|
+
background-image: #url(sheet_dim.png)
|
22
21
|
}
|
23
|
-
|
24
|
-
top: 0; left: 50%; overflow: visible; width: 0; height: 0;
|
25
|
-
}
|
26
|
-
*/
|
27
|
-
.sheet_content {
|
22
|
+
.default.sheet > .content {
|
28
23
|
top: 0; left: -2px; right: -2px; bottom: -2px; overflow: visible;
|
29
24
|
}
|
30
|
-
.
|
25
|
+
.default.sheet > .content > .bg {
|
31
26
|
left: 24px; top: 0; right: 24px; bottom: 24px;
|
32
27
|
background-repeat: repeat;
|
33
|
-
background-image: #
|
28
|
+
background-image: #url(sheet_bg.png)
|
34
29
|
}
|
35
|
-
.
|
30
|
+
.default.sheet > .content > .body {
|
36
31
|
left: 0; top: 0; right: 0; bottom: 0; overflow: visible;
|
37
32
|
}
|
38
|
-
.
|
39
|
-
background-image: #
|
33
|
+
.default.sheet > .content > .body > * {
|
34
|
+
background-image: #url(sheet_parts1.png)
|
40
35
|
}
|
41
|
-
.
|
36
|
+
.default.sheet > .content > .body > .w {
|
42
37
|
left: 0; top: 0; bottom: 24px; width: 24px;
|
43
38
|
background-repeat: repeat-y;
|
44
39
|
background-position: -48px 0;
|
45
40
|
}
|
46
|
-
.
|
41
|
+
.default.sheet > .content > .body > .e {
|
47
42
|
right: 0; top: 0; bottom: 24px; width: 24px;
|
48
43
|
background-repeat: repeat-y;
|
49
44
|
background-position: -72px 0;
|
50
45
|
}
|
51
|
-
.
|
46
|
+
.default.sheet > .content > .body > .sw {
|
52
47
|
left: 0; bottom: 0; height: 24px; width: 24px;
|
53
48
|
background-position: 0 0;
|
54
49
|
}
|
55
|
-
.
|
50
|
+
.default.sheet > .content > .body > .se {
|
56
51
|
right: 0; bottom: 0; height: 24px; width: 24px;
|
57
52
|
background-position: -24px 0;
|
58
53
|
}
|
59
|
-
.
|
54
|
+
.default.sheet > .content > .body > .s {
|
60
55
|
left: 24px; bottom: 0; right: 24px; height: 24px;
|
61
56
|
background-repeat: repeat-x;
|
62
57
|
background-position: 0 0;
|
63
|
-
background-image: #
|
58
|
+
background-image: #url(sheet_parts2.png)
|
64
59
|
}
|
65
|
-
.
|
60
|
+
.default.sheet > .content > .subview {
|
66
61
|
left: 2px; top: 0; right: 2px; bottom: 2px;
|
67
62
|
}
|
68
63
|
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<div class="
|
2
|
-
<div class="
|
3
|
-
<div class="
|
4
|
-
<div class="
|
5
|
-
<div class="
|
6
|
-
<div class="
|
7
|
-
<div class="
|
8
|
-
<div class="
|
9
|
-
<div class="
|
1
|
+
<div class="dimmer" id="dimmer]I["></div>
|
2
|
+
<div class="content" id="state]I[">
|
3
|
+
<div class="bg" id="bg]I["></div>
|
4
|
+
<div class="body">
|
5
|
+
<div class="w"></div>
|
6
|
+
<div class="e"></div>
|
7
|
+
<div class="s"></div>
|
8
|
+
<div class="sw"></div>
|
9
|
+
<div class="se"></div>
|
10
10
|
</div>
|
11
|
-
<div class="
|
11
|
+
<div class="subview" id="subview]I["></div>
|
12
12
|
</div>
|
@@ -11,7 +11,7 @@ HNumericTextControl = HTextControl.extend
|
|
11
11
|
mouseWheel: true
|
12
12
|
contextMenu: true
|
13
13
|
keyDown: true
|
14
|
-
textEnter:
|
14
|
+
textEnter: true
|
15
15
|
click: true
|
16
16
|
contextMenu: true
|
17
17
|
|
@@ -57,10 +57,15 @@ HNumericTextControl = HTextControl.extend
|
|
57
57
|
_value = parseInt( _value, 10 )
|
58
58
|
if isNaN( _value )
|
59
59
|
_value = @value
|
60
|
+
@setValid(false)
|
60
61
|
if _value > @maxValue
|
61
62
|
_value = @maxValue
|
63
|
+
@setValid(false)
|
62
64
|
else if _value < @minValue
|
65
|
+
@setValid(false)
|
63
66
|
_value = @minValue
|
67
|
+
else
|
68
|
+
@setValid(true)
|
64
69
|
_value
|
65
70
|
|
66
71
|
fieldToValue: (_unFilteredValue)->
|
@@ -95,9 +100,7 @@ HNumericTextControl = HTextControl.extend
|
|
95
100
|
###
|
96
101
|
# validateText: (_value)-> _value
|
97
102
|
|
98
|
-
_extraLabelRight: 0
|
99
103
|
drawSubviews: ->
|
100
|
-
@base()
|
101
104
|
@setStyleOfPart('value','textAlign','right')
|
102
105
|
if @options.withStepper
|
103
106
|
this._extraLabelRight += 14
|
@@ -116,16 +119,6 @@ HNumericTextControl = HTextControl.extend
|
|
116
119
|
enabled: @enabled
|
117
120
|
)
|
118
121
|
@stepper.bringToFront()
|
119
|
-
|
120
|
-
_unitRect = [null,null,4,@rect.height,4,0]
|
121
|
-
@unitSuffix = HLabel.new(_unitRect,@,
|
122
|
-
pack: true
|
123
|
-
label: @options.unit
|
124
|
-
style:
|
125
|
-
lineHeight: @rect.height+'px'
|
126
|
-
verticalAlign: 'middle'
|
127
|
-
)
|
128
|
-
@_extraLabelRight += @unitSuffix.rect.width
|
129
|
-
@setStyleOfPart('label','right',this._extraLabelRight+'px')
|
122
|
+
@drawUnit()
|
130
123
|
|
131
124
|
HNumberField = HNumericTextControl
|
@@ -1,69 +1,59 @@
|
|
1
|
-
.
|
2
|
-
.radiobutton_state,
|
3
|
-
.radiobutton_label,
|
4
|
-
.radiobutton_antiselect {
|
5
|
-
position: absolute; height: 24px;
|
6
|
-
}
|
7
|
-
.radiobutton_control {
|
1
|
+
.default.radiobutton {
|
8
2
|
left: 0px; top: 0px; right: 0px;
|
9
3
|
cursor: pointer;
|
10
4
|
}
|
11
|
-
.disabled
|
5
|
+
.default.radiobutton.disabled {
|
12
6
|
cursor: default;
|
13
7
|
}
|
14
|
-
.
|
8
|
+
.default.radiobutton.radiobutton > .state,
|
9
|
+
.default.radiobutton.radiobutton > .label {
|
10
|
+
position: absolute; height: 24px;
|
11
|
+
}
|
12
|
+
.default.radiobutton > .state {
|
15
13
|
left: 0px; top: 0px; width: 24px;
|
16
14
|
background-repeat: no-repeat;
|
17
15
|
background-position: -24px 0px;
|
18
|
-
background-image: #
|
19
|
-
}
|
20
|
-
|
21
|
-
.enabled > .unchecked > .radiobutton_state {
|
22
|
-
background-position: -24px 0px;
|
16
|
+
background-image: #url(radiobutton_parts1.png);
|
23
17
|
}
|
24
|
-
.enabled
|
18
|
+
.default.radiobutton.enabled:hover > .state {
|
25
19
|
background-position: -24px -24px;
|
26
20
|
}
|
27
|
-
.enabled
|
21
|
+
.default.radiobutton.enabled:active > .state {
|
28
22
|
background-position: -24px -48px;
|
29
23
|
}
|
30
24
|
|
31
|
-
.enabled
|
25
|
+
.default.radiobutton.enabled.checked > .state {
|
32
26
|
background-position: 0px 0px;
|
33
27
|
}
|
34
|
-
.enabled
|
28
|
+
.default.radiobutton.enabled.checked:hover > .state {
|
35
29
|
background-position: 0px -24px;
|
36
30
|
}
|
37
|
-
.enabled
|
31
|
+
.default.radiobutton.enabled.checked:active > .state {
|
38
32
|
background-position: 0px -48px;
|
39
33
|
}
|
40
34
|
|
41
|
-
.disabled > .
|
35
|
+
.default.radiobutton.disabled > .state {
|
42
36
|
background-position: -24px -72px;
|
43
37
|
}
|
44
|
-
.disabled
|
38
|
+
.default.radiobutton.disabled.checked > .state {
|
45
39
|
background-position: 0px -72px;
|
46
40
|
}
|
47
41
|
|
48
|
-
.
|
49
|
-
left: 24px; right: 0px; top:
|
50
|
-
height: 20px; line-height:
|
42
|
+
.default.radiobutton > .label {
|
43
|
+
left: 24px; right: 0px; top: 2px;
|
44
|
+
height: 20px; line-height: 20px;
|
51
45
|
text-align: left; vertical-align: middle;
|
52
46
|
font-family: Helvetica, Arial, sans-serif;
|
53
47
|
font-size: 12px;
|
54
48
|
color: #333;
|
55
49
|
}
|
56
|
-
.disabled > .
|
50
|
+
.default.radiobutton.disabled > .label {
|
57
51
|
color: #999;
|
58
52
|
}
|
59
|
-
.enabled
|
53
|
+
.default.radiobutton.enabled:hover > .label {
|
60
54
|
color: #000;
|
61
55
|
}
|
62
|
-
.enabled
|
56
|
+
.default.radiobutton.enabled:active > .label {
|
63
57
|
color: #000;
|
64
58
|
}
|
65
59
|
|
66
|
-
.radiobutton_antiselect {
|
67
|
-
left: 0px; top: 0px; right: 0px;
|
68
|
-
}
|
69
|
-
|
@@ -1,6 +1,8 @@
|
|
1
|
-
<div class="
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
<div class="state" id="state]I["></div>
|
2
|
+
<div class="label" id="label]I[">#{this.label}</div>
|
3
|
+
${#!coffee
|
4
|
+
@labelPadding=24
|
5
|
+
@pushTask =>
|
6
|
+
@refreshValue()
|
7
|
+
@markupElemIds.control = @elemId
|
8
|
+
}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
height: 7px; top: 7px;
|
6
6
|
font-size: 0;
|
7
7
|
cursor: col-resize;
|
8
|
-
background-image: #
|
8
|
+
background-image: #url(hslider_tracks.png);
|
9
9
|
}
|
10
10
|
|
11
11
|
.slider_track_left {
|
@@ -42,7 +42,7 @@
|
|
42
42
|
font-size: 0;
|
43
43
|
cursor: col-resize;
|
44
44
|
background-position: 0 0;
|
45
|
-
background-image: #
|
45
|
+
background-image: #url(slider_thumbs.png);
|
46
46
|
}
|
47
47
|
|
48
48
|
.slider_thumb:active {
|
@@ -58,7 +58,7 @@
|
|
58
58
|
position: absolute;
|
59
59
|
cursor: col-resize;
|
60
60
|
top: 0; height: 21px; width: 21px;
|
61
|
-
background-image: #
|
61
|
+
background-image: #url(slider_thumbs.png);
|
62
62
|
}
|
63
63
|
|
64
64
|
.slider_thumb_n {
|
@@ -5,7 +5,7 @@
|
|
5
5
|
width: 7px; left: 7px;
|
6
6
|
font-size: 0;
|
7
7
|
cursor: row-resize;
|
8
|
-
background-image: #
|
8
|
+
background-image: #url(vslider_tracks.png);
|
9
9
|
}
|
10
10
|
|
11
11
|
.vslider_track_top {
|
@@ -41,7 +41,7 @@
|
|
41
41
|
left: 0; width: 21px; height: 21px;
|
42
42
|
background-position: 0 0;
|
43
43
|
cursor: row-resize;
|
44
|
-
background-image: #
|
44
|
+
background-image: #url(slider_thumbs.png);
|
45
45
|
}
|
46
46
|
|
47
47
|
.vslider_thumb:active {
|
@@ -57,7 +57,7 @@
|
|
57
57
|
position: absolute;
|
58
58
|
top: 0; height: 21px; width: 21px;
|
59
59
|
cursor: row-resize;
|
60
|
-
background-image: #
|
60
|
+
background-image: #url(slider_thumbs.png);
|
61
61
|
}
|
62
62
|
|
63
63
|
.vslider_thumb_e,
|
@@ -22,19 +22,6 @@ var HStringView, HLabel;
|
|
22
22
|
|
23
23
|
optimizeWidthOnRefresh: true,
|
24
24
|
|
25
|
-
/** = Description
|
26
|
-
* The setStyle method of HStringView applies only to the value
|
27
|
-
* element (not the whole component).
|
28
|
-
*
|
29
|
-
**/
|
30
|
-
setStyle: function(_name, _value, _cacheOverride) {
|
31
|
-
if (!this['markupElemIds']||!this.markupElemIds['value']) {
|
32
|
-
return this;
|
33
|
-
}
|
34
|
-
this.setStyleOfPart( 'value', _name, _value, _cacheOverride);
|
35
|
-
return this;
|
36
|
-
},
|
37
|
-
|
38
25
|
/** = Description
|
39
26
|
* The refreshLabel of HStringView sets a tool tip.
|
40
27
|
* Applied by the setLabel method and the label attribute of options.
|
@@ -43,23 +30,29 @@ var HStringView, HLabel;
|
|
43
30
|
refreshLabel: function() {
|
44
31
|
if(this.markupElemIds && this.markupElemIds.value) {
|
45
32
|
if( this.value !== undefined ){
|
46
|
-
this.
|
33
|
+
this.setAttr( 'title', this.label );
|
47
34
|
}
|
48
35
|
else {
|
49
|
-
this.
|
36
|
+
this.setHTML( this.label );
|
50
37
|
}
|
51
38
|
}
|
52
39
|
},
|
53
40
|
|
54
41
|
labelPadding: 0,
|
55
42
|
optimizeWidth: function(){
|
56
|
-
var _labelWidth = this.stringWidth((this.value || this.label)
|
43
|
+
var _labelWidth = this.stringWidth((this.value || this.label));
|
57
44
|
_labelWidth += this.labelPadding;
|
58
45
|
if( this.rect.width !== _labelWidth ){
|
59
46
|
this.rect.setWidth(_labelWidth);
|
60
47
|
this.drawRect();
|
61
48
|
}
|
49
|
+
},
|
50
|
+
|
51
|
+
extDraw: function(){
|
52
|
+
this.markupElemIds.value = this.elemId;
|
53
|
+
if(this.options.noWrap){this.setCSSClass( 'nowrap' );}
|
62
54
|
}
|
55
|
+
|
63
56
|
};
|
64
57
|
|
65
58
|
HLabel = HView.extend( _HStringViewInterface );
|
@@ -1,8 +1,16 @@
|
|
1
|
-
.stringview {
|
1
|
+
.default.stringview {
|
2
2
|
color: #333;
|
3
3
|
padding: 1px;
|
4
4
|
font-size: 12px;
|
5
5
|
font-family: Helvetica, Arial, sans-serif;
|
6
6
|
overflow-y: visible;
|
7
|
+
text-align: left;
|
8
|
+
}
|
9
|
+
.default.stringview.nowrap {
|
10
|
+
white-space: nowrap;
|
11
|
+
overflow-x: hidden;
|
12
|
+
text-overflow: ellipsis;
|
13
|
+
}
|
14
|
+
.default.disabled.stringview {
|
15
|
+
color: #666;
|
7
16
|
}
|
8
|
-
|
@@ -17,7 +17,7 @@
|
|
17
17
|
.tab_label .tablabel,
|
18
18
|
.tab_label_fill_bg {
|
19
19
|
background-repeat: no-repeat;
|
20
|
-
background-image: #
|
20
|
+
background-image: #url(tab_parts1.png);
|
21
21
|
}
|
22
22
|
.tab_label_fill_bg {
|
23
23
|
position: absolute;
|
@@ -68,11 +68,11 @@
|
|
68
68
|
position: absolute;
|
69
69
|
top: 24px; left: 0; right: 0; bottom: 0;
|
70
70
|
border-radius: 0 0 3px 3px;
|
71
|
-
background-image: #
|
71
|
+
background-image: #url(tab_border_pattern.png);
|
72
72
|
}
|
73
73
|
.tab_fg {
|
74
74
|
position: absolute;
|
75
75
|
top: 0; left: 1px; right: 1px; bottom: 1px;
|
76
76
|
border-radius: 0 0 3px 3px;
|
77
|
-
background-image: #
|
77
|
+
background-image: #url(tab_bg_color.png);
|
78
78
|
}
|