padma-assets 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,29 @@
1
+ /*
2
+ * Gritter for jQuery
3
+ * http://www.boedesign.com/
4
+ *
5
+ * Copyright (c) 2011 Jordan Boesch
6
+ * Dual licensed under the MIT and GPL licenses.
7
+ *
8
+ * Date: March 29, 2011
9
+ * Version: 1.7.1
10
+ */
11
+ (function($){$.gritter={};$.gritter.options={position:'',fade_in_speed:'medium',fade_out_speed:1000,time:6000}
12
+ $.gritter.add=function(params){try{return Gritter.add(params||{});}catch(e){var err='Gritter Error: '+e;(typeof(console)!='undefined'&&console.error)?console.error(err,params):alert(err);}}
13
+ $.gritter.remove=function(id,params){Gritter.removeSpecific(id,params||{});}
14
+ $.gritter.removeAll=function(params){Gritter.stop(params||{});}
15
+ var Gritter={position:'',fade_in_speed:'',fade_out_speed:'',time:'',_custom_timer:0,_item_count:0,_is_setup:0,_tpl_close:'<div class="gritter-close"></div>',_tpl_item:'<div id="gritter-item-[[number]]" class="gritter-item-wrapper [[item_class]]" style="display:none"><div class="gritter-top [[item_class]]"></div><div class="gritter-item [[item_class]] ">[[image]]<div class="[[class_name]]"><span class="gritter-title">[[username]]</span><p>[[text]]</p></div><div style="clear:both"></div></div><div class="gritter-bottom [[item_class]]"></div></div>',_tpl_wrap:'<div id="gritter-notice-wrapper"></div>',add:function(params){if(!params.title||!params.text){throw'You need to fill out the first 2 params: "title" and "text"';}
16
+ if(!this._is_setup){this._runSetup();}
17
+ var user=params.title,text=params.text,image=params.image||'',sticky=params.sticky||false,item_class=params.class_name||'',position=$.gritter.options.position,time_alive=params.time||'';this._verifyWrapper();this._item_count++;var number=this._item_count,tmp=this._tpl_item;$(['before_open','after_open','before_close','after_close']).each(function(i,val){Gritter['_'+val+'_'+number]=($.isFunction(params[val]))?params[val]:function(){}});this._custom_timer=0;if(time_alive){this._custom_timer=time_alive;}
18
+ var image_str=(image!='')?'<img src="'+image+'" class="gritter-image" />':'',class_name=(image!='')?'gritter-with-image':'gritter-without-image';tmp=this._str_replace(['[[username]]','[[text]]','[[image]]','[[number]]','[[class_name]]','[[item_class]]'],[user,text,image_str,this._item_count,class_name,item_class],tmp);this['_before_open_'+number]();$('#gritter-notice-wrapper').addClass(position).append(tmp);var item=$('#gritter-item-'+this._item_count);item.fadeIn(this.fade_in_speed,function(){Gritter['_after_open_'+number]($(this));});if(!sticky){this._setFadeTimer(item,number);}
19
+ $(item).bind('mouseenter mouseleave',function(event){if(event.type=='mouseenter'){if(!sticky){Gritter._restoreItemIfFading($(this),number);}}
20
+ else{if(!sticky){Gritter._setFadeTimer($(this),number);}}
21
+ Gritter._hoverState($(this),event.type);});return number;},_countRemoveWrapper:function(unique_id,e,manual_close){e.remove();this['_after_close_'+unique_id](e,manual_close);if($('.gritter-item-wrapper').length==0){$('#gritter-notice-wrapper').remove();}},_fade:function(e,unique_id,params,unbind_events){var params=params||{},fade=(typeof(params.fade)!='undefined')?params.fade:true;fade_out_speed=params.speed||this.fade_out_speed,manual_close=unbind_events;this['_before_close_'+unique_id](e,manual_close);if(unbind_events){e.unbind('mouseenter mouseleave');}
22
+ if(fade){e.animate({opacity:0},fade_out_speed,function(){e.animate({height:0},300,function(){Gritter._countRemoveWrapper(unique_id,e,manual_close);})})}
23
+ else{this._countRemoveWrapper(unique_id,e);}},_hoverState:function(e,type){if(type=='mouseenter'){e.addClass('hover');var find_img=e.find('img');(find_img.length)?find_img.before(this._tpl_close):e.find('span').before(this._tpl_close);e.find('.gritter-close').click(function(){var unique_id=e.attr('id').split('-')[2];Gritter.removeSpecific(unique_id,{},e,true);});}
24
+ else{e.removeClass('hover');e.find('.gritter-close').remove();}},removeSpecific:function(unique_id,params,e,unbind_events){if(!e){var e=$('#gritter-item-'+unique_id);}
25
+ this._fade(e,unique_id,params||{},unbind_events);},_restoreItemIfFading:function(e,unique_id){clearTimeout(this['_int_id_'+unique_id]);e.stop().css({opacity:''});},_runSetup:function(){for(opt in $.gritter.options){this[opt]=$.gritter.options[opt];}
26
+ this._is_setup=1;},_setFadeTimer:function(e,unique_id){var timer_str=(this._custom_timer)?this._custom_timer:this.time;this['_int_id_'+unique_id]=setTimeout(function(){Gritter._fade(e,unique_id);},timer_str);},stop:function(params){var before_close=($.isFunction(params.before_close))?params.before_close:function(){};var after_close=($.isFunction(params.after_close))?params.after_close:function(){};var wrap=$('#gritter-notice-wrapper');before_close(wrap);wrap.fadeOut(function(){$(this).remove();after_close();});},_str_replace:function(search,replace,subject,count){var i=0,j=0,temp='',repl='',sl=0,fl=0,f=[].concat(search),r=[].concat(replace),s=subject,ra=r instanceof Array,sa=s instanceof Array;s=[].concat(s);if(count){this.window[count]=0;}
27
+ for(i=0,sl=s.length;i<sl;i++){if(s[i]===''){continue;}
28
+ for(j=0,fl=f.length;j<fl;j++){temp=s[i]+'';repl=ra?(r[j]!==undefined?r[j]:''):r[0];s[i]=(temp).split(f[j]).join(repl);if(count&&s[i]!==temp){this.window[count]+=(temp.length-s[i].length)/f[j].length;}}}
29
+ return sa?s:s[0];},_verifyWrapper:function(){if($('#gritter-notice-wrapper').length==0){$('body').append(this._tpl_wrap);}}}})(jQuery);
@@ -0,0 +1,6 @@
1
+ $(document).ready ->
2
+ $("#flash-notifications").hide()
3
+ $("#flash-notifications > .flash-notice").each ->
4
+ $.gritter.add {title: "-", text:($(this).html()), class_name: "success"}
5
+ $("#flash-notifications > .flash-alert").each ->
6
+ $.gritter.add {title: ":(", text:($(this).html()), class_name: "alert"}
@@ -0,0 +1,3 @@
1
+ //= require jquery.gritter.min
2
+ //= require notifications
3
+ //= require_tree .
@@ -0,0 +1,97 @@
1
+ #pageFooter {
2
+ position:relative;
3
+ width:93%;
4
+ height:18px;
5
+ /* background:url('footer_BG.gif'); TODO image not available */
6
+ border:solid 1px #CCC;
7
+ margin-left: auto;
8
+ margin-right: auto;
9
+ }
10
+
11
+ #pFComm {
12
+ position:absolute;
13
+ width:22%;
14
+ height:100%;
15
+ }
16
+
17
+ #pFComm a {
18
+ display:block;
19
+ width:16px;
20
+ height:16px;
21
+ float:left;
22
+ margin:1px 10px;
23
+ }
24
+
25
+ #pFMail {
26
+ background:url('icon_sprite_grid_16px.png') 0px 0px;
27
+ }
28
+
29
+ /* TODO: ICON Hover States*/
30
+
31
+ a#pFMail:hover {
32
+ background:url('icon_sprite_grid_16px.png') 0px 0px;
33
+ }
34
+
35
+ #pFMessages {
36
+ background:url('icon_sprite_grid_16px.png') -16px 0px;
37
+ }
38
+
39
+ #pFNotif {
40
+ background:url('icon_sprite_grid_16px.png') -160px -64px;
41
+ }
42
+
43
+ #pFToDo {
44
+ background:url('icon_sprite_grid_16px.png') -176px -64px;
45
+ }
46
+
47
+ #pFChat {
48
+ width:22%;
49
+ height:100%;
50
+ position:absolute;
51
+ right:0px;
52
+ border-left: 1px solid #CCC;
53
+ overflow: hidden;
54
+ }
55
+
56
+ #pFChat p {
57
+ font: 75% Arial, Helvetica, sans-serif;
58
+ margin: 3px 2px;
59
+ float:left;
60
+ /* color:#09F; */
61
+ color:#0071BC;
62
+ }
63
+
64
+ #pFUserImg {
65
+ width:16px;
66
+ height:16px;
67
+ margin: 1px 2px;
68
+ background:url('icon_sprite_grid_16px.png') -96px 0px;
69
+ float:left;
70
+ }
71
+
72
+ #pFComm .badge {
73
+ display:block;
74
+ position: relative;
75
+ font-family:monospace;
76
+ font-size:11px;
77
+ font-weight:bold;
78
+ color:#FFF;
79
+ }
80
+
81
+ #pFComm .badge.d1 {
82
+ left:8px;
83
+ top:-8px;
84
+ width:11px;
85
+ height:15px;
86
+ padding:1px 0px 0px 5px;
87
+ background:url('icon_notiBadge_D1.png') -160px 0px;
88
+ }
89
+
90
+ #pFComm .badge.d2 {
91
+ left:5px;
92
+ top:-8px;
93
+ width:17px;
94
+ height:15px;
95
+ padding:1px 0px 0px 4px;
96
+ background:url('icon_notiBadge_D2.png') -0px 0px;
97
+ }
@@ -0,0 +1,297 @@
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ /* Search Button */
5
+ input[class="submit_search"] {
6
+ width: 25px;
7
+ height: 25px;
8
+ vertical-align: top;
9
+ border: 1px solid #CCC;
10
+ -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; /* CSS3 con -moz- & -webkit prefix for application on firefox + chrome */
11
+ background: #f1f2f2; /* fallback */
12
+ background: url('icon_search_active_24px.png') -1px -1px no-repeat; /* fallback */
13
+ background: url('icon_search_active_24px.png') -1px -1px no-repeat, -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#f1f2f2)); /* Saf4+, Chrome */
14
+ background: url('icon_search_active_24px.png') -1px -1px no-repeat, -webkit-linear-gradient(top, #FFF, #f1f2f2); /* Chrome 10+, Saf5.1+ */
15
+ background: url('icon_search_active_24px.png') -1px -1px no-repeat, -moz-linear-gradient(top, #FFF, #f1f2f2); /* FF3.6+ */
16
+ background: url('icon_search_active_24px.png') -1px -1px no-repeat, -ms-linear-gradient(top, #FFF, #f1f2f2); /* IE10 */
17
+ background: url('icon_search_active_24px.png') -1px -1px no-repeat, -o-linear-gradient(top, #FFF, #f1f2f2); /* Opera 11.10+ */
18
+ background: url('icon_search_active_24px.png') -1px -1px no-repeat, linear-gradient(top, #FFF, #f1f2f2); /* W3C */
19
+ }
20
+
21
+ /* Module Area Styles */
22
+
23
+ #H_moduleArea {
24
+ width:auto;
25
+ height:30px;
26
+ }
27
+
28
+ #H_moduleBox {
29
+ width:770px;
30
+ height:30px;
31
+ float:left;
32
+ overflow:hidden;
33
+
34
+ }
35
+
36
+ #H_moduleBox li {
37
+ margin: auto 0;
38
+ padding:5px 23px;
39
+ display: block;
40
+ float: left;
41
+ font-size:10px;
42
+ }
43
+
44
+ #H_moduleBox a {
45
+ font-family:Arial, Helvetica, sans-serif;
46
+ font-size:10px;
47
+ font-weight: normal;
48
+ text-decoration:none;
49
+ color:#000;
50
+
51
+ }
52
+
53
+ #H_moduleBox a.selected {
54
+ color:#0071BC;
55
+ }
56
+
57
+ #H_loginBox {
58
+ width:190px;
59
+ float:left;
60
+ overflow:hidden;
61
+ }
62
+
63
+ #H_login {
64
+ margin:0px;
65
+ padding:0px;
66
+ font-family:Arial, Helvetica, sans-serif;
67
+ font-size:12px;
68
+ font-weight: normal;
69
+ text-decoration:none;
70
+ color:#000;
71
+ list-style-type: none;
72
+ }
73
+
74
+ #H_login li {
75
+ margin-top:5px;
76
+ }
77
+
78
+ #H_login li a {
79
+ display: block;
80
+ height:12px;
81
+ float:left;
82
+ color:#4D4D4D;
83
+ }
84
+
85
+ #H_login li a#username {
86
+ max-width:120px;
87
+ padding:4px 0px 4px 40px ;
88
+ background:url('header_sessionbox_userpicture.png') no-repeat;
89
+ }
90
+
91
+ #H_login li a#logout {
92
+ font-family: 'Pictos Custom';
93
+ text-decoration: none;
94
+ padding: 4px 0px 4px 0px;
95
+ margin-left: 10px;
96
+ max-width: 30px;
97
+ font-size: 1.5em;
98
+ }
99
+
100
+ /* Main Area Styles */
101
+
102
+ #H_mainArea {
103
+ overflow: visible;
104
+ height:38px;
105
+ border:1px solid #CFCFCF;
106
+ background-color:#E5E5E5;
107
+ background: #f1f2f2; /* fallback */
108
+ background: -moz-linear-gradient(top, #FFF, #f1f2f2); /* FF3.6 en adelante*/
109
+ background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #FFF),color-stop(1, #f1f2f2)); /* Saf4+, Chrome en adelante*/
110
+ -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; /* CSS3 con -moz- & -webkit prefix for application on firefox + chrome */
111
+ }
112
+
113
+ /* Logo Box Styles */
114
+
115
+ #H_logoBox {
116
+ width:79px;
117
+ height:100%;
118
+ float:left;
119
+ }
120
+
121
+ #H_logo {
122
+ display:block;
123
+ margin:auto;
124
+ margin-top:4px;
125
+ width:30px;
126
+ height:30px;
127
+ background:url('logo_30px.png');
128
+ }
129
+
130
+ /* Menu Box Styles */
131
+
132
+ #H_menuBox {
133
+ width:640px;
134
+ height:100%;
135
+ float:left;
136
+ }
137
+
138
+ #H_menu {
139
+ list-style: none outside none;
140
+ margin: 0px;
141
+ padding: 0px 0px 0px 0px;
142
+ }
143
+
144
+ #H_menu li {
145
+ float: left;
146
+ border-right:1px solid #FFF;
147
+ }
148
+
149
+ #H_menu li:first-child {
150
+ border-left:1px solid #CFCFCF;
151
+ }
152
+
153
+ #H_menu li a {
154
+ display:block;
155
+ width:104px;
156
+ height:26px;
157
+ padding-top:12px;
158
+ text-align: center;
159
+ background:none;
160
+ text-decoration:none;
161
+ color: #4D4D4D;
162
+ font-family:Arial, Helvetica, sans-serif;
163
+ font-size:14px;
164
+ font-weight: bold;
165
+ border-right:1px solid #CFCFCF;
166
+ }
167
+
168
+ #H_menu li:first-child a {
169
+ border-left:1px solid #FFF;
170
+ }
171
+
172
+ /* Search Area Styles */
173
+
174
+
175
+
176
+
177
+ /* Search Box Styles */
178
+
179
+ #H_searchBox {
180
+ float:left;
181
+ }
182
+
183
+ #H_search {
184
+ position:relative;
185
+ top:6px;
186
+ left:10px;
187
+ padding:0px;
188
+ width:229px;
189
+ }
190
+
191
+ /* Scope Select Styles */
192
+
193
+ #H_scopeSelect {
194
+ float:left;
195
+ width:32px;
196
+ height:24px;
197
+ border: 1px solid #CCC;
198
+ -webkit-border-radius: 5px 0px 0px 5px; -moz-border-radius: 5px 0px 0px 5px; border-radius: 5px 0px 0px 5px; /* CSS3 con -moz- & -webkit prefix for application on firefox + chrome */
199
+ list-style:none outside none;
200
+ background-color:#F5F5F5; /* TODO: CSS3 Backround Color Gradient */
201
+ }
202
+
203
+ #H_scopeSelect span {
204
+ display:inline-block;
205
+ }
206
+
207
+ #H_scopeSelect .scopeIcon {
208
+ display:inline-block;
209
+ width:16px;
210
+ height:16px;
211
+ margin:4px 0px 4px 4px;
212
+ background-color:red;
213
+ }
214
+
215
+ #H_scopeSelect .arrowIcon {
216
+ display:inline-block;
217
+ width:8px;
218
+ height:8px;
219
+ margin:0px 0px 7px 2px;
220
+ background:url('icon_sprite_grid_8px.png') -80px -8px no-repeat;
221
+ }
222
+
223
+ /* Scope List Styles */
224
+
225
+ #H_scopeList {
226
+ display:none;
227
+ position:absolute;
228
+ top:28px;
229
+ width:32px;
230
+ border: 1px solid #CCC;
231
+ background-color:#fff;
232
+ list-style:none outside none;
233
+ }
234
+
235
+ #H_scopeList li {
236
+ margin:0px;
237
+ padding:0px;
238
+ }
239
+
240
+ #H_scopeList li:hover {
241
+ background-color:#F2F2F2;
242
+ }
243
+
244
+ #H_scopeList li:hover .iconLocal {
245
+ background:url('icon_sprite_grid_16px.png') -128px -96px no-repeat;
246
+ }
247
+
248
+ #H_scopeList li:active .iconLocal {
249
+ background:url('icon_sprite_grid_16px.png') -128px -112px no-repeat;
250
+ }
251
+
252
+ #H_scopeList li:hover .iconGlobal {
253
+ background:url('icon_sprite_grid_16px.png') -144px -96px no-repeat;
254
+ }
255
+
256
+ #H_scopeList li:active .iconGlobal {
257
+ background:url('icon_sprite_grid_16px.png') -144px -112px no-repeat;
258
+ }
259
+
260
+ #H_scopeList span {
261
+ display:inline-block;
262
+ }
263
+
264
+ #H_scopeList .scopeIcon {
265
+ display:inline-block;
266
+ vertical-align:top;
267
+ width:16px;
268
+ height:16px;
269
+ margin:4px 0px 4px 4px;
270
+ background-color:red;
271
+ }
272
+
273
+ /* Search Field Classes */
274
+
275
+ #H_searchForm input[id="searchField"] {
276
+ height:16px;
277
+ width:139px;
278
+ float:left;
279
+ border: 1px solid #CCC;
280
+ border-left:0px;
281
+ padding: 4px 5px;
282
+ margin-right:5px;
283
+ }
284
+
285
+ /* Dinamic Classes */
286
+
287
+ #H_scopeList.show {
288
+ display:block;
289
+ }
290
+
291
+ #H_search .iconLocal {
292
+ background:url('icon_sprite_grid_16px.png') -128px -80px no-repeat;
293
+ }
294
+
295
+ #H_search .iconGlobal {
296
+ background:url('icon_sprite_grid_16px.png') -144px -80px no-repeat;
297
+ }
@@ -0,0 +1,126 @@
1
+ /* the norm */
2
+ #gritter-notice-wrapper {
3
+ position:fixed;
4
+ top:20px;
5
+ right:20px;
6
+ width:301px;
7
+ z-index:9999;
8
+ }
9
+ #gritter-notice-wrapper.top-left {
10
+ left: 20px;
11
+ right: auto;
12
+ }
13
+ #gritter-notice-wrapper.bottom-right {
14
+ top: auto;
15
+ left: auto;
16
+ bottom: 20px;
17
+ right: 20px;
18
+ }
19
+ #gritter-notice-wrapper.bottom-left {
20
+ top: auto;
21
+ right: auto;
22
+ bottom: 20px;
23
+ left: 20px;
24
+ }
25
+ .gritter-item-wrapper {
26
+ position:relative;
27
+ margin:0 0 10px 0;
28
+ background:url('ie-spacer.gif'); /* ie7/8 fix */
29
+ }
30
+ .gritter-top {
31
+ background:url(gritter.png) no-repeat left -30px;
32
+ height:10px;
33
+ }
34
+ .success .gritter-top {
35
+ background:url(gritter-green.png) no-repeat left -30px;
36
+ height:10px;
37
+ }
38
+ .alert .gritter-top {
39
+ background:url(gritter-red.png) no-repeat left -30px;
40
+ height:10px;
41
+ }
42
+ .hover .gritter-top {
43
+ background-position:right -30px;
44
+ }
45
+ .gritter-bottom {
46
+ background:url(gritter.png) no-repeat left bottom;
47
+ height:8px;
48
+ margin:0;
49
+ }
50
+ .success .gritter-bottom {
51
+ background:url(gritter-green.png) no-repeat left bottom;
52
+ height:8px;
53
+ margin:0;
54
+ }
55
+ .alert .gritter-bottom {
56
+ background:url(gritter-red.png) no-repeat left bottom;
57
+ height:8px;
58
+ margin:0;
59
+ }
60
+ .hover .gritter-bottom {
61
+ background-position: bottom right;
62
+ }
63
+
64
+ .gritter-item {
65
+ display:block;
66
+ background:url(gritter.png) no-repeat left -40px;
67
+ color:#eee;
68
+ padding:2px 11px 8px 11px;
69
+ font-size: 11px;
70
+ font-family:verdana;
71
+ }
72
+
73
+ .success .gritter-item {
74
+ display:block;
75
+ color:#eee;
76
+ background:url(gritter-green.png) no-repeat left -40px;
77
+ padding:2px 11px 8px 11px;
78
+ font-size: 11px;
79
+ font-family:verdana;
80
+ }
81
+
82
+ .alert .gritter-item {
83
+ display:block;
84
+ color:#eee;
85
+ background:url(gritter-red.png) no-repeat left -40px;
86
+ padding:2px 11px 8px 11px;
87
+ font-size: 11px;
88
+ font-family:verdana;
89
+ }
90
+
91
+ .hover .gritter-item {
92
+ background-position:right -40px;
93
+ }
94
+ .gritter-item p {
95
+ padding:0;
96
+ margin:0;
97
+ }
98
+ .gritter-close {
99
+ position:absolute;
100
+ top:5px;
101
+ left:3px;
102
+ background:url(gritter-red.png) no-repeat left top;
103
+ cursor:pointer;
104
+ width:30px;
105
+ height:30px;
106
+ }
107
+ .gritter-title {
108
+ font-size:14px;
109
+ font-weight:bold;
110
+ padding:0 0 7px 0;
111
+ display:block;
112
+ text-shadow:1px 1px #000; /* Not supported by IE :( */
113
+ }
114
+ .gritter-image {
115
+ width:48px;
116
+ height:48px;
117
+ float:left;
118
+ }
119
+ .gritter-with-image,
120
+ .gritter-without-image {
121
+ padding:0 0 5px 0;
122
+ }
123
+ .gritter-with-image {
124
+ width:220px;
125
+ float:right;
126
+ }
@@ -0,0 +1,33 @@
1
+ body {
2
+ font-family: Verdana, Geneva, sans-serif;
3
+ color:#4D4D4D;
4
+ }
5
+
6
+ /* Page Container Styles */
7
+
8
+ .pageContainer {
9
+ width:960px;
10
+ margin:0px auto;
11
+ overflow:auto;
12
+ }
13
+
14
+ /* Header Styles */
15
+
16
+ .header {
17
+ width:auto;
18
+ height:70px;
19
+ }
20
+
21
+ /* Main Body Styles */
22
+
23
+ .main {
24
+ /*test*/
25
+ overflow:auto;
26
+ }
27
+
28
+ /* Footer Styles */
29
+
30
+ .footer {
31
+ width:960px;
32
+ height:20px;
33
+ }
@@ -0,0 +1,42 @@
1
+ /* Left Bar Styles */
2
+
3
+ #schools_leftbar {
4
+ width:140px;
5
+ float:left;
6
+ margin: 20px 10px;
7
+ }
8
+
9
+ #schools_leftbar>.container {
10
+ width:auto;
11
+ overflow:hidden;
12
+ margin-bottom:20px;
13
+ }
14
+
15
+ /* Main Article Styles */
16
+
17
+ #schools_article {
18
+ width:540px;
19
+ float:left;
20
+ margin: 20px 10px;
21
+ }
22
+
23
+ #schools_article>.container {
24
+ width:auto;
25
+ overflow:hidden;
26
+ margin-bottom:20px;
27
+ }
28
+
29
+ /* Right Bar Styles */
30
+
31
+ #schools_rightbar {
32
+ width:220px;
33
+ float:left;
34
+ margin: 20px 10px;
35
+
36
+ }
37
+
38
+ #schools_rightbar>.container {
39
+ width:auto;
40
+ overflow:hidden;
41
+ margin-bottom:20px;
42
+ }
@@ -0,0 +1,42 @@
1
+ /* Left Bar Styles */
2
+
3
+ #users_leftBar {
4
+ width:140px;
5
+ float:left;
6
+ margin: 20px 10px;
7
+ }
8
+
9
+ #users_leftBar>.container {
10
+ width:auto;
11
+ overflow:hidden;
12
+ margin-bottom:20px;
13
+ }
14
+
15
+ /* Main Article Styles */
16
+
17
+ #users_article {
18
+ width:540px;
19
+ float:left;
20
+ margin: 20px 10px;
21
+ }
22
+
23
+ #users_article>.container {
24
+ width:auto;
25
+ overflow:hidden;
26
+ margin-bottom:20px;
27
+ }
28
+
29
+ /* Right Bar Styles */
30
+
31
+ #users_rightBar {
32
+ width:220px;
33
+ float:left;
34
+ margin: 20px 10px;
35
+
36
+ }
37
+
38
+ #users_rightBar>.container {
39
+ width:auto;
40
+ overflow:hidden;
41
+ margin-bottom:20px;
42
+ }
@@ -0,0 +1,126 @@
1
+ #menuBox {
2
+ width:auto;
3
+ border:solid 1px #CCC;
4
+ }
5
+
6
+ /* Menu Items Style */
7
+
8
+ #LB_menu {
9
+ margin:0px;
10
+ padding:0px;
11
+ width:100%;
12
+ list-style:none;
13
+ }
14
+
15
+ #LB_menu li{
16
+ border-bottom:1px solid #CFCFCF;
17
+ background:url('menubox_body_background_01.png') repeat-x; /* TODO: CSS3 Background */
18
+ background-color:#E5E5E5;
19
+ } /* a:1 b:0 c:1 = 101 */
20
+
21
+ #LB_menu li:last-child {
22
+ border:none;
23
+ }
24
+
25
+ #LB_menu a {
26
+ display:block;
27
+ height:30px;
28
+ margin-left:0px;
29
+ padding: 0px 0px 0px 0px;
30
+ font-family:Arial, Helvetica, sans-serif;
31
+ font-size:12px;
32
+ font-weight: bold;
33
+ color:#4D4D4D;
34
+
35
+ } /* Target Priority a:1 b:0 c:1 = 101 */
36
+
37
+ #LB_menu a span:first-child {
38
+ /* float:left; */
39
+ display:inline-block;
40
+ width:16px;
41
+ height:16px;
42
+ margin-left:5px;
43
+ margin-top:7px;
44
+ background:url('icon_sprite_grid_16px.png') -128px -16px no-repeat;
45
+ }
46
+
47
+ #LB_menu a span:last-child {
48
+ /* float:left; */
49
+ display:inline-block;
50
+ line-height:12px;
51
+ margin:0px;
52
+ vertical-align: top;
53
+ margin-left:5px;
54
+ margin-top:9px;
55
+ }
56
+
57
+ #LB_menu a:hover span:first-child {
58
+ color:#09F;
59
+ background:url('icon_sprite_grid_16px.png') -128px -32px no-repeat;
60
+ }
61
+
62
+ #LB_menu a:active span:first-child {
63
+ background:url('icon_sprite_grid_16px.png') -128px -48px no-repeat;
64
+ }
65
+
66
+ #LB_menu a:hover span:last-child {
67
+ color:#09F;
68
+ }
69
+
70
+ #LB_menu a:active span:last-child {
71
+ color:#0071BC;
72
+ }
73
+
74
+
75
+
76
+ /* Sub Menu Items Styles */
77
+ #LB_menu ul {
78
+ display:none;
79
+ }
80
+
81
+ #LB_menu ul li {
82
+ border-bottom:1px solid #CFCFCF;
83
+ border:none;
84
+ background:url('menubox_body_background_02.png') repeat-x;
85
+ background-color:#C0C0C0;
86
+ } /* a:1 b:0 c:2 = 102 */
87
+
88
+ #LB_menu ul a{
89
+ font-weight: normal;
90
+ display:block;
91
+ height:10px;
92
+ margin-left:5px;
93
+ padding: 10px 0px 10px 22px;
94
+ background:none;
95
+ }
96
+
97
+ #LB_menu ul a:hover{
98
+ color:#09F;
99
+ background:none;
100
+ }
101
+
102
+ /* Dinamic Classes */
103
+
104
+ #LB_menu .selected a span:first-child {
105
+ background:url('icon_sprite_grid_16px.png') -144px -32px no-repeat;
106
+ } /* Target Priority a:1 b:1 c:1 = 111 */
107
+
108
+ #LB_menu a.selected:hover span:first-child {
109
+ color:#0071BC;
110
+ background:url('icon_sprite_grid_16px.png') -144px -32px no-repeat;
111
+ }
112
+
113
+ #LB_menu .selected a span:last-child {
114
+ color:#09F;
115
+ } /* Target Priority a:1 b:1 c:1 = 111 */
116
+
117
+ #LB_menu .selected ul {
118
+ display: block;
119
+ }
120
+
121
+ #LB_menu .selected ul a{
122
+ background:none;
123
+ }
124
+
125
+
126
+
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require_tree .
3
+ */
@@ -0,0 +1,22 @@
1
+ [data-icon]:before {
2
+ font-weight: normal;
3
+ font-family: 'Pictos Custom';
4
+ content: attr(data-icon);
5
+ -webkit-font-smoothing: antialiased;
6
+ }
7
+
8
+ .pictos {
9
+ font-weight: normal;
10
+ font-family: 'Pictos Custom';
11
+ -webkit-font-smoothing: antialiased;
12
+ }
13
+
14
+ /*
15
+ * Usage in HTML
16
+ *
17
+ * <span data-icon='d'></span> -> icon
18
+ * <a href=".." data-icon='d'>delete</a> -> icon + 'delete'
19
+ *
20
+ * In ERB use pictos_icon() helper defined in ApplicationHelper
21
+ *
22
+ */
@@ -0,0 +1,107 @@
1
+ /*
2
+
3
+ HTML5 CSS Reset
4
+ Based on Eric Meyer's CSS Reset
5
+ and html5doctor.com HTML5 Reset
6
+
7
+ Copyright (c) 2010 736 Computing Services Limited
8
+ Released under the MIT license. http://736cs.com/mit-license.php?2010
9
+
10
+ */
11
+
12
+ html, body, div, span, applet, object, iframe,
13
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
14
+ a, abbr, acronym, address, big, cite, code,
15
+ del, dfn, em, font, img, ins, kbd, q, s, samp,
16
+ small, strike, strong, sub, sup, tt, var,
17
+ b, i, center, dl, dt, dd, ol, ul, li,
18
+ fieldset, form, label, legend,
19
+ table, caption, tbody, tfoot, thead, tr, th, td,
20
+ article, aside, audio, canvas, details, figcaption,
21
+ figure, footer, header, hgroup, mark, menu, meter, nav,
22
+ output, progress, section, summary, time, video {
23
+ margin: 0;
24
+ padding: 0;
25
+ border: 0;
26
+ outline: 0;
27
+ text-decoration: none;
28
+ font-size: 100%;
29
+ vertical-align: baseline;
30
+ background: transparent;
31
+ }
32
+
33
+ body {
34
+ line-height: 1;
35
+ }
36
+
37
+ article, aside, dialog, figure, footer, header,
38
+ hgroup, nav, section, blockquote {
39
+ display: block;
40
+ }
41
+
42
+ nav ul {
43
+ list-style: none;
44
+ }
45
+
46
+ ol {
47
+ list-style: decimal;
48
+ }
49
+
50
+ ul {
51
+ list-style: disc;
52
+ }
53
+
54
+ ul ul {
55
+ list-style: circle;
56
+ }
57
+
58
+ blockquote, q {
59
+ quotes: none;
60
+ }
61
+
62
+ blockquote:before, blockquote:after,
63
+ q:before, q:after {
64
+ content: '';
65
+ content: none;
66
+ }
67
+
68
+ ins {
69
+ text-decoration: underline;
70
+ }
71
+
72
+ del {
73
+ text-decoration: line-through;
74
+ }
75
+
76
+ mark {
77
+ background: none;
78
+ }
79
+
80
+ abbr[title], dfn[title] {
81
+ border-bottom:1px dotted #000;
82
+ cursor:help;
83
+ }
84
+
85
+ /* tables still need 'cellspacing="0"' in the markup */
86
+ table {
87
+ border-collapse: collapse;
88
+ border-spacing: 0;
89
+ }
90
+
91
+ hr {
92
+ display: block;
93
+ height: 1px;
94
+ border: 0;
95
+ border-top: 1px solid #ccc;
96
+ margin: 1em 0;
97
+ padding: 0;
98
+ }
99
+
100
+ input[type="submit"], input[type="button"], button {
101
+ padding: 0 !important;
102
+ margin: 0 !important;
103
+ }
104
+
105
+ input, select, a img {
106
+ vertical-align: middle;
107
+ }
@@ -0,0 +1,5 @@
1
+ module Padma
2
+ module Assets
3
+ VERSION = "0.0.3"
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ require "padma-assets/version"
2
+
3
+ module Padma
4
+ module Assets
5
+ class Engine < Rails::Engine
6
+ end
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: padma-assets
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dwayne Macgowan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-08-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: railties
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.1'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ description: Assets to be re-used in PADMA applications
31
+ email:
32
+ - dwaynemac@gmail.com
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - app/assets/images/ie-spacer.gif
38
+ - app/assets/images/gritter-long-green.png
39
+ - app/assets/images/gritter-green.png
40
+ - app/assets/images/gritter-red.png
41
+ - app/assets/images/gritter-long.png
42
+ - app/assets/images/gritter-long-red.png
43
+ - app/assets/images/gritter.png
44
+ - app/assets/stylesheets/menubox_w140px.css
45
+ - app/assets/stylesheets/reset.css
46
+ - app/assets/stylesheets/pictos.css.scss
47
+ - app/assets/stylesheets/footer.css
48
+ - app/assets/stylesheets/jquery.gritter.css
49
+ - app/assets/stylesheets/header.css
50
+ - app/assets/stylesheets/layout_users.css
51
+ - app/assets/stylesheets/padma-assets.css
52
+ - app/assets/stylesheets/layout_schools.css
53
+ - app/assets/stylesheets/layout_application.css
54
+ - app/assets/javascripts/padma-assets.js
55
+ - app/assets/javascripts/notifications.js.coffee
56
+ - app/assets/javascripts/jquery.gritter.min.js
57
+ - lib/padma-assets.rb
58
+ - lib/padma-assets/version.rb
59
+ homepage: ''
60
+ licenses: []
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubyforge_project:
79
+ rubygems_version: 1.8.24
80
+ signing_key:
81
+ specification_version: 3
82
+ summary: Assets to be re-used in PADMA applications
83
+ test_files: []
84
+ has_rdoc: