knitkit 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/GPL-3-LICENSE +674 -0
- data/README.md +6 -0
- data/Rakefile +30 -0
- data/app/assets/javascripts/knitkit/application.js +9 -0
- data/app/assets/stylesheets/knitkit/application.css +7 -0
- data/app/controllers/knitkit/articles_controller.rb +7 -0
- data/app/controllers/knitkit/base_controller.rb +45 -0
- data/app/controllers/knitkit/blogs_controller.rb +27 -0
- data/app/controllers/knitkit/comments_controller.rb +18 -0
- data/app/controllers/knitkit/erp_app/desktop/app_controller.rb +135 -0
- data/app/controllers/knitkit/erp_app/desktop/articles_controller.rb +144 -0
- data/app/controllers/knitkit/erp_app/desktop/comments_controller.rb +43 -0
- data/app/controllers/knitkit/erp_app/desktop/content_controller.rb +27 -0
- data/app/controllers/knitkit/erp_app/desktop/file_assets_controller.rb +145 -0
- data/app/controllers/knitkit/erp_app/desktop/image_assets_controller.rb +28 -0
- data/app/controllers/knitkit/erp_app/desktop/inquiries_controller.rb +68 -0
- data/app/controllers/knitkit/erp_app/desktop/position_controller.rb +20 -0
- data/app/controllers/knitkit/erp_app/desktop/theme_controller.rb +272 -0
- data/app/controllers/knitkit/erp_app/desktop/versions_controller.rb +135 -0
- data/app/controllers/knitkit/erp_app/desktop/website_controller.rb +177 -0
- data/app/controllers/knitkit/erp_app/desktop/website_nav_controller.rb +143 -0
- data/app/controllers/knitkit/erp_app/desktop/website_section_controller.rb +116 -0
- data/app/controllers/knitkit/unauthorized_controller.rb +8 -0
- data/app/controllers/knitkit/website_sections_controller.rb +17 -0
- data/app/helpers/application_helper.rb +132 -0
- data/app/models/article.rb +14 -0
- data/app/models/blog.rb +21 -0
- data/app/models/comment.rb +24 -0
- data/app/models/content.rb +158 -0
- data/app/models/extensions/user.rb +5 -0
- data/app/models/published_element.rb +9 -0
- data/app/models/published_website.rb +118 -0
- data/app/models/theme.rb +239 -0
- data/app/models/website.rb +457 -0
- data/app/models/website_host.rb +3 -0
- data/app/models/website_inquiry.rb +11 -0
- data/app/models/website_inquiry_mailer.rb +12 -0
- data/app/models/website_nav.rb +17 -0
- data/app/models/website_nav_item.rb +21 -0
- data/app/models/website_section.rb +152 -0
- data/app/models/website_section_content.rb +4 -0
- data/app/views/knitkit/articles/index.html.erb +3 -0
- data/app/views/knitkit/articles/show.html.erb +4 -0
- data/app/views/knitkit/blogs/_add_comment.html.erb +28 -0
- data/app/views/knitkit/blogs/_comment.html.erb +8 -0
- data/app/views/knitkit/blogs/index.html.erb +51 -0
- data/app/views/knitkit/blogs/index.rss.builder +23 -0
- data/app/views/knitkit/blogs/show.html.erb +22 -0
- data/app/views/knitkit/unauthorized/index.html.erb +4 -0
- data/app/views/knitkit/website_sections/index.html.erb +6 -0
- data/app/views/layouts/knitkit/base.html.erb +59 -0
- data/app/views/menus/knitkit/_default_menu.html.erb +23 -0
- data/app/views/menus/knitkit/_default_section_menu.html.erb +27 -0
- data/app/views/menus/knitkit/_default_sub_menu.html.erb +45 -0
- data/app/views/menus/knitkit/_default_sub_section_menu.html.erb +49 -0
- data/app/views/shared/knitkit/_bread_crumb.html.erb +7 -0
- data/app/views/shared/knitkit/_footer.html.erb +3 -0
- data/app/views/website_inquiry_mailer/inquiry.erb +3 -0
- data/app/widgets/contact_us/base.rb +86 -0
- data/app/widgets/contact_us/javascript/contact_us.js +13 -0
- data/app/widgets/contact_us/views/_contact_form.html.erb +36 -0
- data/app/widgets/contact_us/views/error.html.erb +10 -0
- data/app/widgets/contact_us/views/index.html.erb +1 -0
- data/app/widgets/contact_us/views/layouts/base.html.erb +7 -0
- data/app/widgets/contact_us/views/success.html.erb +4 -0
- data/app/widgets/google_map/base.rb +48 -0
- data/app/widgets/google_map/javascript/google_map.js +174 -0
- data/app/widgets/google_map/views/index.html.erb +41 -0
- data/app/widgets/login/base.rb +61 -0
- data/app/widgets/login/javascript/login.js +162 -0
- data/app/widgets/login/views/index.html.erb +37 -0
- data/app/widgets/login/views/layouts/base.html.erb +14 -0
- data/app/widgets/login/views/login_header.html.erb +9 -0
- data/app/widgets/login/views/reset_password.html.erb +26 -0
- data/app/widgets/manage_profile/base.rb +327 -0
- data/app/widgets/manage_profile/javascript/manage_profile.js +11 -0
- data/app/widgets/manage_profile/views/_contact_information_form.html.erb +180 -0
- data/app/widgets/manage_profile/views/_password_form.html.erb +20 -0
- data/app/widgets/manage_profile/views/_user_information_form.html.erb +30 -0
- data/app/widgets/manage_profile/views/contact_type_in_use.html.erb +4 -0
- data/app/widgets/manage_profile/views/default_type_error.html.erb +5 -0
- data/app/widgets/manage_profile/views/error.html.erb +3 -0
- data/app/widgets/manage_profile/views/index.html.erb +46 -0
- data/app/widgets/manage_profile/views/layouts/base.html.erb +1 -0
- data/app/widgets/manage_profile/views/password_blank.html.erb +4 -0
- data/app/widgets/manage_profile/views/password_invalid.html.erb +4 -0
- data/app/widgets/manage_profile/views/password_success.html.erb +3 -0
- data/app/widgets/manage_profile/views/success.html.erb +3 -0
- data/app/widgets/reset_password/base.rb +42 -0
- data/app/widgets/reset_password/javascript/reset_password.js +13 -0
- data/app/widgets/reset_password/views/index.html.erb +31 -0
- data/app/widgets/reset_password/views/layouts/base.html.erb +1 -0
- data/app/widgets/search/base.rb +80 -0
- data/app/widgets/search/javascript/search.js +31 -0
- data/app/widgets/search/views/_search.html.erb +39 -0
- data/app/widgets/search/views/index.html.erb +3 -0
- data/app/widgets/search/views/layouts/base.html.erb +24 -0
- data/app/widgets/search/views/show.html.erb +48 -0
- data/app/widgets/signup/base.rb +72 -0
- data/app/widgets/signup/javascript/signup.js +13 -0
- data/app/widgets/signup/views/_signup_form.html.erb +36 -0
- data/app/widgets/signup/views/error.html.erb +11 -0
- data/app/widgets/signup/views/index.html.erb +1 -0
- data/app/widgets/signup/views/layouts/base.html.erb +7 -0
- data/app/widgets/signup/views/success.html.erb +4 -0
- data/config/environment.rb +0 -0
- data/config/routes.rb +41 -0
- data/db/data_migrations/20110509223702_add_publisher_role.rb +11 -0
- data/db/data_migrations/20110816153456_add_knitkit_application.rb +31 -0
- data/db/data_migrations/upgrade/20111011203718_create_paths_for_sections.rb +13 -0
- data/db/data_migrations/upgrade/20111216192114_add_secured_models_to_menu_items.rb +18 -0
- data/db/data_migrations/upgrade/20111216202819_set_contents_iid_to_permalink_where_null.rb +12 -0
- data/db/migrate/20110211002317_setup_knitkit.rb +259 -0
- data/db/migrate/upgrade/20111014190442_update_contents.rb +25 -0
- data/db/migrate/upgrade/20111014201502_add_published_by_to_published_elements.rb +22 -0
- data/db/migrate/upgrade/20111017133851_add_iid_to_section.rb +21 -0
- data/db/migrate/upgrade/20111027145006_add_in_menu_to_section.rb +19 -0
- data/lib/knitkit.rb +12 -0
- data/lib/knitkit/engine.rb +26 -0
- data/lib/knitkit/extensions.rb +18 -0
- data/lib/knitkit/extensions/action_controller/theme_support/acts_as_themed_controller.rb +88 -0
- data/lib/knitkit/extensions/active_record/acts_as_commentable.rb +28 -0
- data/lib/knitkit/extensions/active_record/acts_as_publishable.rb +38 -0
- data/lib/knitkit/extensions/active_record/theme_support/has_many_themes.rb +34 -0
- data/lib/knitkit/extensions/compass/widgets/base.rb +53 -0
- data/lib/knitkit/extensions/core/array.rb +5 -0
- data/lib/knitkit/extensions/railties/action_view.rb +187 -0
- data/lib/knitkit/extensions/railties/theme_support/asset_tag_helper.rb +198 -0
- data/lib/knitkit/extensions/railties/theme_support/theme_file_resolver.rb +44 -0
- data/lib/knitkit/routing_filter/section_router.rb +55 -0
- data/lib/knitkit/syntax_validator.rb +32 -0
- data/lib/knitkit/version.rb +3 -0
- data/lib/tasks/knitkit_tasks.rake +4 -0
- data/public/images/knitkit/bullet.png +0 -0
- data/public/images/knitkit/content.png +0 -0
- data/public/images/knitkit/footer.png +0 -0
- data/public/images/knitkit/graphic.png +0 -0
- data/public/images/knitkit/greyFadeDown.png +0 -0
- data/public/images/knitkit/link.png +0 -0
- data/public/images/knitkit/logo.png +0 -0
- data/public/images/knitkit/menu.png +0 -0
- data/public/images/knitkit/menu_select.png +0 -0
- data/public/images/knitkit/search.png +0 -0
- data/public/javascripts/datepicker.js +440 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/articles_grid_panel.js +473 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/center_region.js +576 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/comments_grid_panel.js +217 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/east_region.js +26 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/file_assets_panel.js +109 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_data_view.js +30 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/image_assets_panel.js +160 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/inquiries_grid_panel.js +46 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/module.js +46 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/publish_window.js +92 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/published_grid_panel.js +220 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/section_articles_grid_panel.js +613 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/themes_tree_panel.js +573 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/versions_grid_panel.js +664 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/west_region.js +2161 -0
- data/public/javascripts/erp_app/desktop/applications/knitkit/widgets_panel.js +52 -0
- data/public/stylesheets/datepicker.css +121 -0
- data/public/stylesheets/erp_app/desktop/applications/knitkit/knitkit.css +114 -0
- data/public/stylesheets/extjs/resources/css/knitkit_extjs_4.css +219 -0
- data/public/stylesheets/knitkit/style.css +394 -0
- metadata +289 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
Compass.ErpApp.Desktop.Applications.Knitkit.WidgetsPanel = function() {
|
2
|
+
var widgetsStore = Ext.create('Ext.data.Store',{
|
3
|
+
autoDestroy: true,
|
4
|
+
fields:['name', 'iconUrl', 'onClick'],
|
5
|
+
data:Compass.ErpApp.Widgets.AvailableWidgets
|
6
|
+
});
|
7
|
+
|
8
|
+
this.widgetsDataView = Ext.create("Ext.view.View",{
|
9
|
+
//TODO_EXTJS4 this is added to fix error should be removed when extjs 4 releases fix.
|
10
|
+
loadMask: false,
|
11
|
+
style:'overflow:auto',
|
12
|
+
itemSelector: 'div.thumb-wrap',
|
13
|
+
store:widgetsStore,
|
14
|
+
tpl: [
|
15
|
+
'<tpl for=".">',
|
16
|
+
'<div class="thumb-wrap" id="{name}">',
|
17
|
+
'<div class="thumb"><img src="{iconUrl}" class="thumb-img"></div>',
|
18
|
+
'<span>{name}</span></div>',
|
19
|
+
'</tpl>',
|
20
|
+
'<div class="x-clear"></div>'
|
21
|
+
],
|
22
|
+
listeners:{
|
23
|
+
'itemcontextmenu':function(view, record, htmlitem, index, e, options){
|
24
|
+
e.stopEvent();
|
25
|
+
},
|
26
|
+
'itemclick':function(view, record, htmlitem, index, e, options){
|
27
|
+
e.stopEvent();
|
28
|
+
record.data.onClick();
|
29
|
+
}
|
30
|
+
}
|
31
|
+
});
|
32
|
+
|
33
|
+
var widgetsPanel = new Ext.Panel({
|
34
|
+
id:'widgets',
|
35
|
+
autoDestroy:true,
|
36
|
+
title:'Available Widgets',
|
37
|
+
region:'center',
|
38
|
+
margins: '5 5 5 0',
|
39
|
+
layout:'fit',
|
40
|
+
items: this.widgetsDataView
|
41
|
+
});
|
42
|
+
|
43
|
+
this.layout = new Ext.Panel({
|
44
|
+
layout: 'border',
|
45
|
+
autoDestroy:true,
|
46
|
+
title:'Widgets',
|
47
|
+
items: [widgetsPanel]
|
48
|
+
});
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
|
@@ -0,0 +1,121 @@
|
|
1
|
+
body {
|
2
|
+
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
3
|
+
font-size: .8em;
|
4
|
+
}
|
5
|
+
|
6
|
+
/* the div that holds the date picker calendar */
|
7
|
+
.dpDiv {
|
8
|
+
}
|
9
|
+
|
10
|
+
|
11
|
+
/* the table (within the div) that holds the date picker calendar */
|
12
|
+
.dpTable {
|
13
|
+
font-family: Tahoma, Arial, Helvetica, sans-serif;
|
14
|
+
font-size: 12px;
|
15
|
+
text-align: center;
|
16
|
+
color: #505050;
|
17
|
+
background-color: #ece9d8;
|
18
|
+
border: 1px solid #AAAAAA;
|
19
|
+
}
|
20
|
+
|
21
|
+
|
22
|
+
/* a table row that holds date numbers (either blank or 1-31) */
|
23
|
+
.dpTR {
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
/* the top table row that holds the month, year, and forward/backward buttons */
|
28
|
+
.dpTitleTR {
|
29
|
+
}
|
30
|
+
|
31
|
+
|
32
|
+
/* the second table row, that holds the names of days of the week (Mo, Tu, We, etc.) */
|
33
|
+
.dpDayTR {
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
/* the bottom table row, that has the "This Month" and "Close" buttons */
|
38
|
+
.dpTodayButtonTR {
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
/* a table cell that holds a date number (either blank or 1-31) */
|
43
|
+
.dpTD {
|
44
|
+
border: 1px solid #ece9d8;
|
45
|
+
}
|
46
|
+
|
47
|
+
|
48
|
+
/* a table cell that holds a highlighted day (usually either today's date or the current date field value) */
|
49
|
+
.dpDayHighlightTD {
|
50
|
+
background-color: #CCCCCC;
|
51
|
+
border: 1px solid #AAAAAA;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
/* the date number table cell that the mouse pointer is currently over (you can use contrasting colors to make it apparent which cell is being hovered over) */
|
56
|
+
.dpTDHover {
|
57
|
+
background-color: #aca998;
|
58
|
+
border: 1px solid #888888;
|
59
|
+
cursor: pointer;
|
60
|
+
color: red;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
/* the table cell that holds the name of the month and the year */
|
65
|
+
.dpTitleTD {
|
66
|
+
}
|
67
|
+
|
68
|
+
|
69
|
+
/* a table cell that holds one of the forward/backward buttons */
|
70
|
+
.dpButtonTD {
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
/* the table cell that holds the "This Month" or "Close" button at the bottom */
|
75
|
+
.dpTodayButtonTD {
|
76
|
+
}
|
77
|
+
|
78
|
+
|
79
|
+
/* a table cell that holds the names of days of the week (Mo, Tu, We, etc.) */
|
80
|
+
.dpDayTD {
|
81
|
+
background-color: #CCCCCC;
|
82
|
+
border: 1px solid #AAAAAA;
|
83
|
+
color: white;
|
84
|
+
}
|
85
|
+
|
86
|
+
|
87
|
+
/* additional style information for the text that indicates the month and year */
|
88
|
+
.dpTitleText {
|
89
|
+
font-size: 12px;
|
90
|
+
color: gray;
|
91
|
+
font-weight: bold;
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
/* additional style information for the cell that holds a highlighted day (usually either today's date or the current date field value) */
|
96
|
+
.dpDayHighlight {
|
97
|
+
color: 4060ff;
|
98
|
+
font-weight: bold;
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
/* the forward/backward buttons at the top */
|
103
|
+
.dpButton {
|
104
|
+
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
105
|
+
font-size: 10px;
|
106
|
+
color: gray;
|
107
|
+
background: #d8e8ff;
|
108
|
+
font-weight: bold;
|
109
|
+
padding: 0px;
|
110
|
+
}
|
111
|
+
|
112
|
+
|
113
|
+
/* the "This Month" and "Close" buttons at the bottom */
|
114
|
+
.dpTodayButton {
|
115
|
+
font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
|
116
|
+
font-size: 10px;
|
117
|
+
color: gray;
|
118
|
+
background: #d8e8ff;
|
119
|
+
font-weight: bold;
|
120
|
+
}
|
121
|
+
|
@@ -0,0 +1,114 @@
|
|
1
|
+
.image-assets .thumb img {
|
2
|
+
border: 1px solid white;
|
3
|
+
height: 60px;
|
4
|
+
width: 90px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.image-assets .thumb-wrap {
|
8
|
+
float: left;
|
9
|
+
margin: 4px 0 4px 4px;
|
10
|
+
padding: 5px;
|
11
|
+
cursor: pointer;
|
12
|
+
}
|
13
|
+
|
14
|
+
.image-assets .thumb {
|
15
|
+
background: none repeat scroll 0 0 #DDDDDD;
|
16
|
+
padding: 3px;
|
17
|
+
height: 65px;
|
18
|
+
width: 95px;
|
19
|
+
}
|
20
|
+
|
21
|
+
.images-assets .thumb-wrap span {
|
22
|
+
display: block;
|
23
|
+
overflow: hidden;
|
24
|
+
text-align: center;
|
25
|
+
width: 80px;
|
26
|
+
}
|
27
|
+
|
28
|
+
#widgets .thumb img {
|
29
|
+
border: 1px solid white;
|
30
|
+
height: 48px;
|
31
|
+
width: 48px;
|
32
|
+
}
|
33
|
+
|
34
|
+
#widgets .thumb-wrap {
|
35
|
+
float: left;
|
36
|
+
margin: 4px 0 4px 4px;
|
37
|
+
padding: 5px;
|
38
|
+
cursor: pointer;
|
39
|
+
width:60px;
|
40
|
+
height:75px;
|
41
|
+
}
|
42
|
+
|
43
|
+
#widgets .thumb {
|
44
|
+
padding: 3px;
|
45
|
+
}
|
46
|
+
|
47
|
+
#widgets .thumb-wrap span {
|
48
|
+
display: block;
|
49
|
+
overflow: hidden;
|
50
|
+
text-align: center;
|
51
|
+
}
|
52
|
+
|
53
|
+
.approve-col{
|
54
|
+
background-image:url( /images/icons/document_delete/document_delete_16x16.png ) !important;
|
55
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/document_delete/document_delete_16x16.png', sizingMethod='crop');
|
56
|
+
height: 16px;
|
57
|
+
width: 16px;
|
58
|
+
}
|
59
|
+
|
60
|
+
.approved-col{
|
61
|
+
background-image:url( /images/icons/document_ok/document_ok_16x16.png ) !important;
|
62
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/document_ok/document_ok_16x16.png', sizingMethod='crop');
|
63
|
+
height: 16px;
|
64
|
+
width: 16px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.publish-col{
|
68
|
+
background-image:url( /images/icons/document_up/document_up_16x16.png ) !important;
|
69
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/document_up/document_up_16x16.png', sizingMethod='crop');
|
70
|
+
height: 16px;
|
71
|
+
width: 16px;
|
72
|
+
}
|
73
|
+
|
74
|
+
.published-col{
|
75
|
+
background-image:url( /images/icons/document_pinned/document_pinned_16x16.png ) !important;
|
76
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/document_pinned/document_pinned_16x16.png', sizingMethod='crop');
|
77
|
+
height: 16px;
|
78
|
+
width: 16px;
|
79
|
+
}
|
80
|
+
|
81
|
+
.activate-col{
|
82
|
+
background-image:url( /images/icons/delete/delete_16x16.png ) !important;
|
83
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/delete/delete_16x16.png', sizingMethod='crop');
|
84
|
+
height: 16px;
|
85
|
+
width: 16px;
|
86
|
+
}
|
87
|
+
|
88
|
+
.active-col{
|
89
|
+
background-image:url( /images/icons/add/add_16x16.png ) !important;
|
90
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/add/add_16x16.png', sizingMethod='crop');
|
91
|
+
height: 16px;
|
92
|
+
width: 16px;
|
93
|
+
}
|
94
|
+
|
95
|
+
.viewing-col{
|
96
|
+
background-image:url( /images/icons/eye/eye_16x16.png ) !important;
|
97
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/eye/eye_16x16.png', sizingMethod='crop');
|
98
|
+
height: 16px;
|
99
|
+
width: 16px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.view-col{
|
103
|
+
background-image:url( /images/icons/document_view/document_view_16x16.png ) !important;
|
104
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/document_view/document_view_16x16.png', sizingMethod='crop');
|
105
|
+
height: 16px;
|
106
|
+
width: 16px;
|
107
|
+
}
|
108
|
+
|
109
|
+
.info-col{
|
110
|
+
background-image:url( /images/icons/information/information_16x16.png ) !important;
|
111
|
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/icons/information/information_16x16.png', sizingMethod='crop');
|
112
|
+
height: 16px;
|
113
|
+
width: 16px;
|
114
|
+
}
|
@@ -0,0 +1,219 @@
|
|
1
|
+
/* body tag - modify this in conjunction with style.css <body> */
|
2
|
+
.x-body
|
3
|
+
{
|
4
|
+
font-size:12px;
|
5
|
+
font: normal .80em 'trebuchet ms', arial, sans-serif;
|
6
|
+
background: #F0EFE2;
|
7
|
+
color: #777;
|
8
|
+
}
|
9
|
+
|
10
|
+
/* header text */
|
11
|
+
.x-panel-header-text-default-framed
|
12
|
+
{
|
13
|
+
color:#FFFFFF;
|
14
|
+
font-family:tahoma, arial, verdana, sans-serif;
|
15
|
+
font-size:11px;
|
16
|
+
font-weight:700;
|
17
|
+
}
|
18
|
+
|
19
|
+
/* header background */
|
20
|
+
.x-panel-header-default-framed-top
|
21
|
+
{
|
22
|
+
background-color:#29415D;
|
23
|
+
background-image:none!important;
|
24
|
+
border-bottom-left-radius:0;
|
25
|
+
border-bottom-right-radius:0;
|
26
|
+
border-style:solid;
|
27
|
+
border-top-left-radius:4px;
|
28
|
+
border-top-right-radius:4px;
|
29
|
+
border-width:1px;
|
30
|
+
box-shadow:none;
|
31
|
+
padding:4px 5px;
|
32
|
+
|
33
|
+
/* to fix safari */
|
34
|
+
left: -2px!important;
|
35
|
+
top: -2px!important;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* form background & border */
|
39
|
+
.x-panel-default-framed
|
40
|
+
{
|
41
|
+
-khtml-border-radius:4px;
|
42
|
+
-moz-border-radius:4px;
|
43
|
+
-ms-border-radius:4px;
|
44
|
+
-o-border-radius:4px;
|
45
|
+
-webkit-border-radius:4px;
|
46
|
+
background-color:#FFFFFF;
|
47
|
+
border-color:#29415D;
|
48
|
+
border-radius:4px;
|
49
|
+
border-style:solid;
|
50
|
+
border-width:1px;
|
51
|
+
padding:4px;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* form background & field label color */
|
55
|
+
.x-panel-body-default-framed
|
56
|
+
{
|
57
|
+
background:#FFFFFF;
|
58
|
+
border-color:#29415D;
|
59
|
+
border-style:solid;
|
60
|
+
border-width:0;
|
61
|
+
color:#000; /* field label color */
|
62
|
+
}
|
63
|
+
|
64
|
+
/* form field borders */
|
65
|
+
.x-form-field{
|
66
|
+
border:1px solid;
|
67
|
+
border-color:#b5b8c8;
|
68
|
+
}
|
69
|
+
.x-form-text,textarea.x-form-field
|
70
|
+
{
|
71
|
+
background:repeat-x 0 0;
|
72
|
+
background-color:#FFF;
|
73
|
+
background-image:none;
|
74
|
+
border:1px solid;
|
75
|
+
border-color:#b5b8c8;
|
76
|
+
padding:1px 3px;
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
/* this corrects a rendering issue */
|
81
|
+
.x-border-box .x-reset,.x-border-box .x-reset *
|
82
|
+
{
|
83
|
+
-moz-box-sizing:content-box;
|
84
|
+
-ms-box-sizing:content-box;
|
85
|
+
-webkit-box-sizing:content-box;
|
86
|
+
box-sizing:content-box;
|
87
|
+
}
|
88
|
+
|
89
|
+
/* IE */
|
90
|
+
.x-nbr .x-panel-default-framed-tl,.x-nbr .x-panel-default-framed-bl,.x-nbr .x-panel-default-framed-tr,.x-nbr .x-panel-default-framed-br,.x-nbr .x-panel-default-framed-tc,.x-nbr .x-panel-default-framed-bc,.x-nbr .x-panel-default-framed-ml,.x-nbr .x-panel-default-framed-mr
|
91
|
+
{
|
92
|
+
background-image:none;
|
93
|
+
zoom:1;
|
94
|
+
border-color:#29415D;
|
95
|
+
}
|
96
|
+
.x-nlg .x-panel-default-framed
|
97
|
+
{
|
98
|
+
-khtml-border-radius:0;
|
99
|
+
-moz-border-radius:0;
|
100
|
+
-ms-border-radius:0;
|
101
|
+
-o-border-radius:0;
|
102
|
+
-webkit-border-radius:0;
|
103
|
+
background-color:transparent;
|
104
|
+
background-position:1000404px 1000404px;
|
105
|
+
border-radius:0;
|
106
|
+
padding:0!important;
|
107
|
+
|
108
|
+
background-color:#FFFFFF;
|
109
|
+
border-color:#29415D;
|
110
|
+
border-radius:4px;
|
111
|
+
border-style:solid;
|
112
|
+
border-width:1px!important;
|
113
|
+
}
|
114
|
+
|
115
|
+
/* IE form header */
|
116
|
+
.x-nlg .x-panel-header-default-framed-docked-top,.x-nlg .x-panel-header-default-framed-docked-top-mc,.x-nlg .x-panel-header-default-framed-docked-top-mr,.x-nlg .x-panel-header-default-framed-docked-top-ml,.x-nlg .x-panel-header-default-framed-docked-top-tl,.x-nlg .x-panel-header-default-framed-docked-top-tr,.x-nlg .x-panel-header-default-framed-docked-top-tc
|
117
|
+
{
|
118
|
+
background-image:none!important;
|
119
|
+
background-color:#29415D!important;
|
120
|
+
background:#29415D!important;
|
121
|
+
box-shadow: none!important;
|
122
|
+
}
|
123
|
+
.x-ie8 .x-panel-header-default-framed-top
|
124
|
+
{
|
125
|
+
/* to fix IE 8 */
|
126
|
+
left: 0px!important;
|
127
|
+
}
|
128
|
+
.x-nbr .x-panel-header-default-framed-top
|
129
|
+
{
|
130
|
+
-khtml-border-radius:0;
|
131
|
+
-moz-border-radius:0;
|
132
|
+
-ms-border-radius:0;
|
133
|
+
-o-border-radius:0;
|
134
|
+
-webkit-border-radius:0;
|
135
|
+
background-color:#29415D!important;
|
136
|
+
background-position:1000404px 1000000px;
|
137
|
+
border-radius:0;
|
138
|
+
border-width:0!important;
|
139
|
+
padding:0!important;
|
140
|
+
background-image:none!important;
|
141
|
+
}
|
142
|
+
|
143
|
+
/* background color of form bottom */
|
144
|
+
.x-nlg .x-panel-default-framed-mc
|
145
|
+
{
|
146
|
+
background-color:#FFFFFF;
|
147
|
+
}
|
148
|
+
|
149
|
+
/* IE button background color */
|
150
|
+
.x-nlg .x-btn-default-small-mc
|
151
|
+
{
|
152
|
+
background-color:#29415D;
|
153
|
+
background-image:none;
|
154
|
+
border-right: 1px solid #AAAAAA;
|
155
|
+
border-bottom: 1px solid #AAAAAA;
|
156
|
+
}
|
157
|
+
|
158
|
+
/* IE button font */
|
159
|
+
.x-nbr .x-btn-default-small .x-btn-inner
|
160
|
+
{
|
161
|
+
background-repeat:no-repeat;
|
162
|
+
color:#FFFFFF;
|
163
|
+
font-family:tahoma, arial, verdana, sans-serif;
|
164
|
+
font-size:11px;
|
165
|
+
font-style:normal!important;;
|
166
|
+
font-weight:400;
|
167
|
+
padding:0 4px;
|
168
|
+
}
|
169
|
+
.x-nbr .x-btn-default-small-over .x-btn-inner
|
170
|
+
{
|
171
|
+
background-repeat:no-repeat;
|
172
|
+
color:#000000;
|
173
|
+
font-family:tahoma, arial, verdana, sans-serif;
|
174
|
+
font-size:11px;
|
175
|
+
font-style:normal!important;
|
176
|
+
font-weight:400;
|
177
|
+
padding:0 4px;
|
178
|
+
}
|
179
|
+
.x-ie9 .x-btn-default-small-over .x-btn-inner,.x-ie9 .x-btn-default-small .x-btn-inner
|
180
|
+
{
|
181
|
+
color:#000000;
|
182
|
+
font-style:normal!important;
|
183
|
+
}
|
184
|
+
|
185
|
+
button
|
186
|
+
{
|
187
|
+
overflow:hidden!important;
|
188
|
+
}
|
189
|
+
|
190
|
+
/* IE button containers */
|
191
|
+
.x-nbr .x-btn-default-small-tl,.x-nbr .x-btn-default-small-bl,.x-nbr .x-btn-default-small-tr,.x-nbr .x-btn-default-small-br,.x-nbr .x-btn-default-small-tc,.x-nbr .x-btn-default-small-bc,.x-nbr .x-btn-default-small-ml,.x-nbr .x-btn-default-small-mr
|
192
|
+
{
|
193
|
+
background-image:none;
|
194
|
+
zoom:0;
|
195
|
+
}
|
196
|
+
.x-nbr .x-btn-default-small-ml,.x-nbr .x-btn-default-small-mr
|
197
|
+
{
|
198
|
+
background-image:none;
|
199
|
+
background-position:0 0;
|
200
|
+
zoom:0;
|
201
|
+
}
|
202
|
+
.x-nbr .x-btn-default-small-over .x-frame-tl,.x-nbr .x-btn-default-small-over .x-frame-bl,.x-nbr .x-btn-default-small-over .x-frame-tr,.x-nbr .x-btn-default-small-over .x-frame-br,.x-nbr .x-btn-default-small-over .x-frame-tc,.x-nbr .x-btn-default-small-over .x-frame-bc
|
203
|
+
{
|
204
|
+
background-image:none;
|
205
|
+
}
|
206
|
+
.x-nbr .x-btn-default-small-over .x-frame-ml,.x-nbr .x-btn-default-small-over .x-frame-mr
|
207
|
+
{
|
208
|
+
background-image:none;
|
209
|
+
}
|
210
|
+
|
211
|
+
/* invalid field */
|
212
|
+
.x-form-invalid-field,textarea.x-form-invalid-field
|
213
|
+
{
|
214
|
+
background-color:#FFF;
|
215
|
+
background-image:url(../../resources/themes/images/default/grid/invalid_line.gif);
|
216
|
+
background-position:bottom;
|
217
|
+
background-repeat:repeat-x;
|
218
|
+
border-color:#c30;
|
219
|
+
}
|