pyk 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -0,0 +1,6 @@
1
+ @import "pyk/global";
2
+ @import "pyk/helpers";
3
+ @import "pyk/navbar";
4
+ @import "pyk/sprites";
5
+ @import "pyk/user_card";
6
+ @import "pyk/bootstrap";
@@ -0,0 +1,53 @@
1
+
2
+ /* BOOTSTRAP CUSTOMIZATIONS */
3
+
4
+ ul.nav.nav-tabs.nav-stacked{
5
+ a{border-left: #f4f4f4 solid 6px; padding: 6px; }
6
+ a:hover{border-left: #08C solid 6px; background-color: #f4f4f4; }
7
+ li.active{a{border-left: #08C solid 6px; background-color: #f4f4f4; color: #08C;}}}
8
+
9
+ ul.nav.nav-pills{
10
+ li.active{
11
+ a {background-color: #08C; color: white; text-shadow: #08C 2px 2px;}}
12
+ }
13
+
14
+ .table-borderless td,
15
+ .table-borderless th{ border: 0 !important }
16
+
17
+ .page.current{color: white;}
18
+ .label-info{background-color: #3A87AD;}
19
+ .alert-footer{background-color: #E3E2DE; border: none;}
20
+ .alert.alert-success{background-color: #FCFDDD; border: 1px solid #BDBDBD; color: #2E2E2E;}
21
+ .well{background-color: #EFEFEF;border: none; }
22
+ ul.breadcrumb{border: none; background: none; margin: 0px; padding: 0xp; a{color: gray;} color: lightgray; li{padding: 0px 6px 0px 0px;}}
23
+ ul.nav.nav-tabs{background-color: lightgray; }
24
+ .help-block{font-size: 11px; color: #A4967D;}
25
+ .simple_form_search_bar{background-color: white; border: 1px lightgray solid;}
26
+
27
+
28
+ .help-inline{color: red; font-weight: bold; letter-spacing: -1px;}
29
+ .form-actions{background: none;border: none;}
30
+ .form-horizontal .form-actions{padding-left: 160px;}
31
+ .form-left{width: 140px; text-align: right; font-size: 11px;}
32
+ .form-right{padding: 0px 0px 5px 20px;}
33
+
34
+ /*http://tablesorter.com/docs/*/
35
+
36
+ th.header {
37
+ background: url('sort-bg.gif') no-repeat center left white;
38
+ cursor: pointer;
39
+ font-weight: bold;
40
+ padding-left: 20px;
41
+ margin-left: -1px;
42
+ }
43
+
44
+ th.headerSortDown { background: url('desc.gif') no-repeat center left white; }
45
+ th.headerSortUp { background: url('asc.gif') no-repeat center left white; }
46
+
47
+ ul.ui-autocomplete {position: absolute;list-style: none;margin: 0;padding: 0;border: solid 1px #999;cursor: default;
48
+ li {background-color: #FFF;border-top: solid 1px #DDD;margin: 0;padding: 0;
49
+ a {color: #000;display: block;padding: 3px;}
50
+ a.ui-state-hover, a.ui-state-active {background-color: #FFFCB2;}}}
51
+
52
+ .ui-helper-hidden-accessible{ display: none;}
53
+
@@ -0,0 +1,35 @@
1
+ body{font-family: ProximaNova, 'Helvetica Neue', helvetica, arial, sans-serif; margin: 0px; padding: 0px; width: 100%;}
2
+
3
+ body.post_login{background-color: white; font-family: ProximaNova, 'Helvetica Neue', helvetica, arial, sans-serif;
4
+ a.blue{color: #08C; text-decoration: none; text-shadow: white 1px 1px;}
5
+ }
6
+
7
+ .footer{width: 100%;bottom: 0px; display: block; position: absolute; left: 0px; margin: 0px; padding: 10px 0px; background-color: #DEDCD6; text-align: center; font-size: 12px; color: black;}
8
+
9
+ label{font-size:12px;}
10
+
11
+ input, textarea{color: black;}
12
+
13
+ strike{color: red;}
14
+
15
+ /* MAILTO */
16
+
17
+ a[href^="mailto"] {color: #228822;}
18
+ a[href^="mailto"]:hover {background-color: #228822; color: white;}
19
+
20
+ /* DELETE LINKS */
21
+
22
+ a[data-method="delete"]{color: gray; font-size: 15px;}
23
+
24
+ /* LINKS */
25
+
26
+ a{color: #000; text-decoration: none; }
27
+ a:hover{color: #08C; text-decoration: none;}
28
+ a:active{color: black;}
29
+
30
+ .h{
31
+ padding-top: 20px;
32
+ margin-bottom: 0px;
33
+ h2, h3{font-weight: 800; padding: 0px 0px 10px 0px; color: #2986C4; font-size: 33px; letter-spacing: -2px; text-shadow: #F7F7F7 2px 2px; }
34
+ a{color: #08C;}
35
+ }
@@ -0,0 +1,48 @@
1
+ /* FONT SIZE */
2
+
3
+ .f9{font-size: 9px;}
4
+ .f10{font-size: 10px;}
5
+ .f11{font-size: 11px;}
6
+ .f12{font-size: 12px;}
7
+ .f13{font-size: 13px;}
8
+ .f14{font-size: 14px;}
9
+ .f15{font-size: 15px;}
10
+ .f18{font-size: 18px;}
11
+ .f24{font-size: 24px;}
12
+ .f33{font-size: 33px;}
13
+ .f60{font-size: 60px;}
14
+
15
+ /* THICKNESS */
16
+
17
+ .thin{font-weight: 200;}
18
+ .semi-thin{font-weight: 400;}
19
+ .normal{font-weight: normal;}
20
+
21
+ /* COLOR */
22
+
23
+ .red{color: #A01718;}
24
+ .white{color: white;}
25
+ .glowblue{color: #08C;}
26
+ .baige{color: #8F794F;}
27
+ .black{color: black;}
28
+ .purple{color: #32A5F2;}
29
+ .textgray{color: #4D4D4D;}
30
+ .gray{color: gray;}
31
+ .green{color: green;}
32
+ .orange{color: #CA2F00;}
33
+ .lightgray{color: lightgray;}
34
+ .blueyou{color: #08C;}
35
+
36
+ /* POSITIONING */
37
+
38
+ .center{text-align: center;}
39
+ .right{text-align: right;}
40
+ .left{text-align: left;}
41
+ .top{vertical-align: top;}
42
+ .mid{vertical-align: middle;}
43
+ .bottom{vertical-align: bottom;}
44
+
45
+ /* CIRCLE IMAGES */
46
+ .circle {-webkit-border-radius: 50em;-moz-border-radius: 50em;border-radius: 50em;}
47
+ /*http://webdesignerwall.com/tutorials/css3-image-styles*/
48
+
@@ -0,0 +1,54 @@
1
+ /*--http://thegeekyme.com/creating-a-google-like-redblack-navigation-bar-without-any-imagejavascript--*/
2
+ #navwrapper{
3
+ background-color: #2D2D2D;
4
+ width: 100%;
5
+ height: 33px;
6
+ font-family: Arial, Helvetica, sans-serif;
7
+ font-size:12px;
8
+
9
+ ul{
10
+ padding: 0;margin: 0;list-style: none;
11
+ a{display:block;padding: 7px 0px; margin: 0px 15px; color:#ccc;text-shadow: none; text-decoration: none;}
12
+ a.dmenu:hover{color:#3366CC !important; background-color: #fff !important;}
13
+ a:hover { background-color: #606060!important; color: #FFFFFF !important; }
14
+ /*--the selected, current item in the navigation menu--*/
15
+ a.current{color:#fff;font-weight:bold;background:#2D2D2D;text-decoration:none;border-top:4px solid #2986C4;padding-top:2px; /*--removing 2px border from 7px padding--*/}
16
+
17
+ a.current:hover{padding-bottom:2px; /*--removing 2px border from 7px padding--*/}
18
+
19
+ li:hover a, a:focus, a:active {padding:7px 0px; margin: 0px 15px; color:#fff; background:#444; text-decoration:none; }
20
+
21
+ li ul, ul li {width: 10em;}
22
+
23
+ /*--drop down menu styling is different from main nav, strict rule--*/
24
+ ul li a {color: #3366CC !important;border-right: 0; }
25
+ li {position: relative; position: static; width: auto;}
26
+ ul li a:hover {color:#3366CC !important;background-color: #eef3fb !important;border-right: 0;}
27
+ li:hover ul {display: block;}
28
+ li:hover ul a{color: #000000;background-color: transparent;}
29
+
30
+
31
+ li {float: left;
32
+
33
+ ul{position: absolute;display: none;margin-left:-1px;padding-bottom:10px;background-color: #FFFFFF;border: 1px solid #bbb;border-top:none;-moz-box-shadow: 0 0 5px #ddd;-webkit-box-shadow: 0 0 5px #ddd;box-shadow: 0 0 5px #ddd;z-index:5000;/*--make it top of all the elements on page, so that it can be visible--*/
34
+ }
35
+
36
+ }
37
+
38
+ }
39
+ }
40
+
41
+ /*--used in drop down menu items--*/
42
+ .menuseprator{border-bottom:1px solid #ddd; margin:10px 0 10px 0;}
43
+
44
+ /*--for showing down arrow in drop down menu item--*/
45
+ .arrowdown{color: #eee; font-size:0.5em;}
46
+
47
+ /*--for the left navigation menu--*/
48
+ .floatleft{float:left;}
49
+
50
+ /*--for the right options navigation menu--*/
51
+ .floatright{float:right;}
52
+
53
+ /*--clear all floating, left and right--*/
54
+ .clear{clear:both;}
@@ -0,0 +1,217 @@
1
+ /* Contact Sprites */
2
+
3
+ .contact_sprites {
4
+ background: asset-url('/sprites/contacts.png', image) no-repeat top left;
5
+ }
6
+
7
+ .sprite-email{ background-position: 0 0; width: 17px; height: 17px; display: inline-block; }
8
+ .sprite-facebook{ background-position: 0 -37px; width: 17px; height: 17px; display: inline-block;}
9
+ .sprite-linkedin{ background-position: 0 -74px; width: 17px; height: 17px; display: inline-block; }
10
+ .sprite-mobile{ background-position: 0 -111px; width: 17px; height: 17px; display: inline-block;}
11
+ .sprite-phone1{ background-position: 0 -148px; width: 17px; height: 17px; display: inline-block;}
12
+ .sprite-phone2{ background-position: 0 -185px; width: 16px; height: 13px; display: inline-block;}
13
+ .sprite-skype{ background-position: 0 -218px; width: 17px; height: 17px; display: inline-block;}
14
+ .sprite-twitter{ background-position: 0 -255px; width: 17px; height: 17px; display: inline-block;}
15
+ .sprite-website{ background-position: 0 -292px; width: 17px; height: 17px; display: inline-block;}
16
+ .sprite-youtube{ background-position: 0 -329px; width: 17px; height: 17px; display: inline-block;}
17
+
18
+
19
+ .signup{background: asset-url('/sprites/signup.png', image) no-repeat top left;}
20
+ .fb{ background-position: 0 0; width: 64px; height: 64px; }
21
+ .gl{ background-position: 0 -74px; width: 64px; height: 64px; }
22
+ .ln{ background-position: 0 -148px; width: 64px; height: 64px; }
23
+ .tw{ background-position: 0 -222px; width: 64px; height: 64px; }
24
+ .yo{ background-position: 0 -296px; width: 64px; height: 64px; }
25
+
26
+ .sprite-caf{ background-position: 0 0; width: 100px; height: 38px; }
27
+ .sprite-caf:hover{ background-position: 0 -48px; width: 100px; height: 38px; }
28
+ .sprite-credall{ background-position: 0 -96px; width: 100px; height: 38px; }
29
+ .sprite-credall_c{ background-position: 0 -144px; width: 100px; height: 38px; }
30
+ .sprite-giveindia{ background-position: 0 -192px; width: 100px; height: 38px; }
31
+ .sprite-giveindia:hover{ background-position: 0 -240px; width: 100px; height: 38px; }
32
+ .sprite-globalg{ background-position: 0 -288px; width: 100px; height: 38px; }
33
+ .sprite-globalg:hover{ background-position: 0 -336px; width: 100px; height: 38px; }
34
+ .sprite-nsef:hover{ background-position: 0 -384px; width: 100px; height: 38px; }
35
+ .sprite-nsef{ background-position: 0 -432px; width: 100px; height: 38px; }
36
+ .sprite-trustlaw:hover{ background-position: 0 -480px; width: 100px; height: 38px; }
37
+ .sprite-trustlaw{ background-position: 0 -528px; width: 100px; height: 38px; }
38
+ .sprite-unltd:hover{ background-position: 0 -576px; width: 80px; height: 70px; }
39
+ .sprite-unltd{ background-position: 0 -656px; width: 80px; height: 70px; }
40
+ .sprite-uw{ background-position: 0 -736px; width: 100px; height: 38px; }
41
+ .sprite-uw:hover{ background-position: 0 -784px; width: 100px; height: 38px; }
42
+
43
+ .file16{background: asset-url('/sprites/file-icons-16-px.png', image) no-repeat top left;}
44
+
45
+ .sprite-_blank{ background-position: 0 0; width: 16px; height: 16px; }
46
+ .sprite-_page{ background-position: 0 -26px; width: 16px; height: 16px; }
47
+ .sprite-aac{ background-position: 0 -52px; width: 16px; height: 16px; }
48
+ .sprite-ai{ background-position: 0 -78px; width: 16px; height: 16px; }
49
+ .sprite-aiff{ background-position: 0 -104px; width: 16px; height: 16px; }
50
+ .sprite-avi{ background-position: 0 -130px; width: 16px; height: 16px; }
51
+ .sprite-bmp{ background-position: 0 -156px; width: 16px; height: 16px; }
52
+ .sprite-c{ background-position: 0 -182px; width: 16px; height: 16px; }
53
+ .sprite-cpp{ background-position: 0 -208px; width: 16px; height: 16px; }
54
+ .sprite-css{ background-position: 0 -234px; width: 16px; height: 16px; }
55
+ .sprite-dat{ background-position: 0 -260px; width: 16px; height: 16px; }
56
+ .sprite-dmg{ background-position: 0 -286px; width: 16px; height: 16px; }
57
+ .sprite-doc{ background-position: 0 -312px; width: 16px; height: 16px; }
58
+ .sprite-dotx{ background-position: 0 -338px; width: 16px; height: 16px; }
59
+ .sprite-dwg{ background-position: 0 -364px; width: 16px; height: 16px; }
60
+ .sprite-dxf{ background-position: 0 -390px; width: 16px; height: 16px; }
61
+ .sprite-eps{ background-position: 0 -416px; width: 16px; height: 16px; }
62
+ .sprite-exe{ background-position: 0 -442px; width: 16px; height: 16px; }
63
+ .sprite-flv{ background-position: 0 -468px; width: 16px; height: 16px; }
64
+ .sprite-gif{ background-position: 0 -494px; width: 16px; height: 16px; }
65
+ .sprite-h{ background-position: 0 -520px; width: 16px; height: 16px; }
66
+ .sprite-hpp{ background-position: 0 -546px; width: 16px; height: 16px; }
67
+ .sprite-html{ background-position: 0 -572px; width: 16px; height: 16px; }
68
+ .sprite-ics{ background-position: 0 -598px; width: 16px; height: 16px; }
69
+ .sprite-iso{ background-position: 0 -624px; width: 16px; height: 16px; }
70
+ .sprite-java{ background-position: 0 -650px; width: 16px; height: 16px; }
71
+ .sprite-jpg{ background-position: 0 -676px; width: 16px; height: 16px; }
72
+ .sprite-key{ background-position: 0 -702px; width: 16px; height: 16px; }
73
+ .sprite-mid{ background-position: 0 -728px; width: 16px; height: 16px; }
74
+ .sprite-mp3{ background-position: 0 -754px; width: 16px; height: 16px; }
75
+ .sprite-mp4{ background-position: 0 -780px; width: 16px; height: 16px; }
76
+ .sprite-mpg{ background-position: 0 -806px; width: 16px; height: 16px; }
77
+ .sprite-odf{ background-position: 0 -832px; width: 16px; height: 16px; }
78
+ .sprite-ods{ background-position: 0 -858px; width: 16px; height: 16px; }
79
+ .sprite-odt{ background-position: 0 -884px; width: 16px; height: 16px; }
80
+ .sprite-otp{ background-position: 0 -910px; width: 16px; height: 16px; }
81
+ .sprite-ots{ background-position: 0 -936px; width: 16px; height: 16px; }
82
+ .sprite-ott{ background-position: 0 -962px; width: 16px; height: 16px; }
83
+ .sprite-pdf{ background-position: 0 -988px; width: 16px; height: 16px; }
84
+ .sprite-php{ background-position: 0 -1014px; width: 16px; height: 16px; }
85
+ .sprite-png{ background-position: 0 -1040px; width: 16px; height: 16px; }
86
+ .sprite-ppt{ background-position: 0 -1066px; width: 16px; height: 16px; }
87
+ .sprite-psd{ background-position: 0 -1092px; width: 16px; height: 16px; }
88
+ .sprite-py{ background-position: 0 -1118px; width: 16px; height: 16px; }
89
+ .sprite-qt{ background-position: 0 -1144px; width: 16px; height: 16px; }
90
+ .sprite-rar{ background-position: 0 -1170px; width: 16px; height: 16px; }
91
+ .sprite-rb{ background-position: 0 -1196px; width: 16px; height: 16px; }
92
+ .sprite-rtf{ background-position: 0 -1222px; width: 16px; height: 16px; }
93
+ .sprite-sql{ background-position: 0 -1248px; width: 16px; height: 16px; }
94
+ .sprite-tga{ background-position: 0 -1274px; width: 16px; height: 16px; }
95
+ .sprite-tgz{ background-position: 0 -1300px; width: 16px; height: 16px; }
96
+ .sprite-tiff{ background-position: 0 -1326px; width: 16px; height: 16px; }
97
+ .sprite-txt{ background-position: 0 -1352px; width: 16px; height: 16px; }
98
+ .sprite-wav{ background-position: 0 -1378px; width: 16px; height: 16px; }
99
+ .sprite-xls{ background-position: 0 -1404px; width: 16px; height: 16px; }
100
+ .sprite-xlsx{ background-position: 0 -1430px; width: 16px; height: 16px; }
101
+ .sprite-xml{ background-position: 0 -1456px; width: 16px; height: 16px; }
102
+ .sprite-yml{ background-position: 0 -1482px; width: 16px; height: 16px; }
103
+ .sprite-zip{ background-position: 0 -1508px; width: 16px; height: 16px; }
104
+
105
+
106
+
107
+ /* Contact Sprites */
108
+ .s{background: asset-url('/sprites/so.png', image) no-repeat top left;}
109
+
110
+ .sprite-aboutme{ background-position: 0 0; width: 16px; height: 16px; }
111
+ .sprite-academiaedu{ background-position: -21px 0; width: 16px; height: 16px; }
112
+ .sprite-amplify{ background-position: -42px 0; width: 16px; height: 16px; }
113
+ .sprite-angellist{ background-position: -63px 0; width: 16px; height: 16px; }
114
+ .sprite-aolchat{ background-position: -84px 0; width: 16px; height: 16px; }
115
+ .sprite-bandcamp{ background-position: -105px 0; width: 16px; height: 16px; }
116
+ .sprite-bebo{ background-position: -126px 0; width: 16px; height: 16px; }
117
+ .sprite-behance{ background-position: -147px 0; width: 16px; height: 16px; }
118
+ .sprite-bitbucket{ background-position: -168px 0; width: 16px; height: 16px; }
119
+ .sprite-blipfm{ background-position: -189px 0; width: 16px; height: 16px; }
120
+ .sprite-blippy{ background-position: -210px 0; width: 16px; height: 16px; }
121
+ .sprite-blogger{ background-position: -231px 0; width: 16px; height: 16px; }
122
+ .sprite-brightkite{ background-position: -252px 0; width: 16px; height: 16px; }
123
+ .sprite-crunchbase{ background-position: -273px 0; width: 16px; height: 16px; }
124
+ .sprite-dandyid{ background-position: -294px 0; width: 16px; height: 16px; }
125
+ .sprite-delicious{ background-position: -315px 0; width: 16px; height: 16px; }
126
+ .sprite-deviantart{ background-position: -336px 0; width: 16px; height: 16px; }
127
+ .sprite-digg{ background-position: -357px 0; width: 16px; height: 16px; }
128
+ .sprite-diigo{ background-position: -378px 0; width: 16px; height: 16px; }
129
+ .sprite-disqus{ background-position: -399px 0; width: 16px; height: 16px; }
130
+ .sprite-dopplr{ background-position: -420px 0; width: 16px; height: 16px; }
131
+ .sprite-doyoubuzz{ background-position: -441px 0; width: 16px; height: 16px; }
132
+ .sprite-dribble{ background-position: -462px 0; width: 16px; height: 16px; }
133
+ .sprite-econsultancy{ background-position: -483px 0; width: 16px; height: 16px; }
134
+ .sprite-facebook{ background-position: -504px 0; width: 16px; height: 16px; }
135
+ .sprite-facebookchat{ background-position: -525px 0; width: 16px; height: 16px; }
136
+ .sprite-flavorsme{ background-position: -546px 0; width: 16px; height: 16px; }
137
+ .sprite-flickr{ background-position: -567px 0; width: 16px; height: 16px; }
138
+ .sprite-formspring{ background-position: -588px 0; width: 16px; height: 16px; }
139
+ .sprite-foursquare{ background-position: -609px 0; width: 16px; height: 16px; }
140
+ .sprite-friendfeed{ background-position: -630px 0; width: 16px; height: 16px; }
141
+ .sprite-friendster{ background-position: -651px 0; width: 16px; height: 16px; }
142
+ .sprite-fullcontact{ background-position: -672px 0; width: 16px; height: 16px; }
143
+ .sprite-gdgt{ background-position: -693px 0; width: 16px; height: 16px; }
144
+ .sprite-getglue{ background-position: -714px 0; width: 16px; height: 16px; }
145
+ .sprite-getsatisfaction{ background-position: -735px 0; width: 16px; height: 16px; }
146
+ .sprite-gist{ background-position: -756px 0; width: 16px; height: 16px; }
147
+ .sprite-github{ background-position: -777px 0; width: 16px; height: 16px; }
148
+ .sprite-goodreads{ background-position: -798px 0; width: 16px; height: 16px; }
149
+ .sprite-googleplus{ background-position: -819px 0; width: 16px; height: 16px; }
150
+ .sprite-googleprofile{ background-position: -840px 0; width: 16px; height: 16px; }
151
+ .sprite-googlereader{ background-position: -861px 0; width: 16px; height: 16px; }
152
+ .sprite-gowalla{ background-position: -882px 0; width: 16px; height: 16px; }
153
+ .sprite-gravatar{ background-position: -903px 0; width: 16px; height: 16px; }
154
+ .sprite-gtalkchat{ background-position: -924px 0; width: 16px; height: 16px; }
155
+ .sprite-hackernews{ background-position: -945px 0; width: 16px; height: 16px; }
156
+ .sprite-hi5{ background-position: -966px 0; width: 16px; height: 16px; }
157
+ .sprite-hiim{ background-position: -987px 0; width: 16px; height: 16px; }
158
+ .sprite-hunch{ background-position: -1008px 0; width: 16px; height: 16px; }
159
+ .sprite-hypemachine{ background-position: -1029px 0; width: 16px; height: 16px; }
160
+ .sprite-hyves{ background-position: -1050px 0; width: 16px; height: 16px; }
161
+ .sprite-icqchat{ background-position: -1071px 0; width: 16px; height: 16px; }
162
+ .sprite-identica{ background-position: -1092px 0; width: 16px; height: 16px; }
163
+ .sprite-imdb{ background-position: -1113px 0; width: 16px; height: 16px; }
164
+ .sprite-intensedebate{ background-position: -1134px 0; width: 16px; height: 16px; }
165
+ .sprite-ircchat{ background-position: -1155px 0; width: 16px; height: 16px; }
166
+ .sprite-klout{ background-position: -1176px 0; width: 16px; height: 16px; }
167
+ .sprite-lanyrd{ background-position: -1197px 0; width: 16px; height: 16px; }
168
+ .sprite-lastfm{ background-position: -1218px 0; width: 16px; height: 16px; }
169
+ .sprite-linkedin{ background-position: -1239px 0; width: 16px; height: 16px; }
170
+ .sprite-livejournal{ background-position: -1260px 0; width: 16px; height: 16px; }
171
+ .sprite-meadiciona{ background-position: -1281px 0; width: 16px; height: 16px; }
172
+ .sprite-meetup{ background-position: -1302px 0; width: 16px; height: 16px; }
173
+ .sprite-mixcloud{ background-position: -1323px 0; width: 16px; height: 16px; }
174
+ .sprite-mixi{ background-position: -1344px 0; width: 16px; height: 16px; }
175
+ .sprite-msnchat{ background-position: -1365px 0; width: 16px; height: 16px; }
176
+ .sprite-multiply{ background-position: -1386px 0; width: 16px; height: 16px; }
177
+ .sprite-myspace{ background-position: -1407px 0; width: 16px; height: 16px; }
178
+ .sprite-ohloh{ background-position: -1428px 0; width: 16px; height: 16px; }
179
+ .sprite-orkut{ background-position: -1449px 0; width: 16px; height: 16px; }
180
+ .sprite-other{ background-position: -1470px 0; width: 16px; height: 16px; }
181
+ .sprite-pandora{ background-position: -1491px 0; width: 16px; height: 16px; }
182
+ .sprite-picasa{ background-position: -1512px 0; width: 16px; height: 16px; }
183
+ .sprite-pinboard{ background-position: -1533px 0; width: 16px; height: 16px; }
184
+ .sprite-pinterest{ background-position: -1554px 0; width: 16px; height: 16px; }
185
+ .sprite-plancast{ background-position: -1575px 0; width: 16px; height: 16px; }
186
+ .sprite-plaxo{ background-position: -1596px 0; width: 16px; height: 16px; }
187
+ .sprite-plurk{ background-position: -1617px 0; width: 16px; height: 16px; }
188
+ .sprite-posterous{ background-position: -1638px 0; width: 16px; height: 16px; }
189
+ .sprite-qik{ background-position: -1659px 0; width: 16px; height: 16px; }
190
+ .sprite-quora{ background-position: -1680px 0; width: 16px; height: 16px; }
191
+ .sprite-reddit{ background-position: -1701px 0; width: 16px; height: 16px; }
192
+ .sprite-renren{ background-position: -1722px 0; width: 16px; height: 16px; }
193
+ .sprite-reverbnation{ background-position: -1743px 0; width: 16px; height: 16px; }
194
+ .sprite-scribd{ background-position: -1764px 0; width: 16px; height: 16px; }
195
+ .sprite-shelfari{ background-position: -1785px 0; width: 16px; height: 16px; }
196
+ .sprite-skype{ background-position: -1806px 0; width: 16px; height: 16px; }
197
+ .sprite-slideshare{ background-position: -1827px 0; width: 16px; height: 16px; }
198
+ .sprite-smugmug{ background-position: -1848px 0; width: 16px; height: 16px; }
199
+ .sprite-soundcloud{ background-position: -1869px 0; width: 16px; height: 16px; }
200
+ .sprite-stackexchange{ background-position: -1890px 0; width: 16px; height: 16px; }
201
+ .sprite-stackoverflow{ background-position: -1911px 0; width: 16px; height: 16px; }
202
+ .sprite-steam{ background-position: -1932px 0; width: 16px; height: 16px; }
203
+ .sprite-stumbleupon{ background-position: -1953px 0; width: 16px; height: 16px; }
204
+ .sprite-tagged{ background-position: -1974px 0; width: 16px; height: 16px; }
205
+ .sprite-tripit{ background-position: 0 -21px; width: 16px; height: 16px; }
206
+ .sprite-tumblr{ background-position: -21px -21px; width: 16px; height: 16px; }
207
+ .sprite-tungleme{ background-position: -42px -21px; width: 16px; height: 16px; }
208
+ .sprite-twitter{ background-position: -63px -21px; width: 16px; height: 16px; }
209
+ .sprite-typepad{ background-position: -84px -21px; width: 16px; height: 16px; }
210
+ .sprite-vimeo{ background-position: -105px -21px; width: 16px; height: 16px; }
211
+ .sprite-vk{ background-position: -126px -21px; width: 16px; height: 16px; }
212
+ .sprite-wordpress{ background-position: -147px -21px; width: 16px; height: 16px; }
213
+ .sprite-xing{ background-position: -168px -21px; width: 16px; height: 16px; }
214
+ .sprite-yahoo{ background-position: -189px -21px; width: 16px; height: 16px; }
215
+ .sprite-yahoochat{ background-position: -210px -21px; width: 16px; height: 16px; }
216
+ .sprite-yelp{ background-position: -231px -21px; width: 16px; height: 16px; }
217
+ .sprite-youtube{ background-position: -252px -21px; width: 16px; height: 16px; }
@@ -0,0 +1,12 @@
1
+ /* Card */
2
+ .id-card{-webkit-border-horizontal-spacing: 0px;-webkit-border-vertical-spacing: 0px;
3
+
4
+ .shadow{background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: url(id_card-shadow.png);background-origin: padding-box;display: block;height: 129px;margin: 0px;padding: 0px 11px 16px 0px;width: 261px;}
5
+
6
+ .card{background-attachment: scroll;background-clip: border-box;background-color: rgba(0, 0, 0, 0);background-image: url(id_card.png);background-origin: padding-box;display: block;height: 129px;margin: 0px;padding: 0px;width: 261px;
7
+
8
+ .avatar{display: block; height: 47px; margin: 5px 0px 0px 0px; padding: 0px; width: 45px;}
9
+
10
+ .text{display: block;height: 71px;margin: 3px 0px 0px 15px;padding: 0px;width: 191px;font-size: 11px;line-height: 14px;}
11
+
12
+ p.name{border: rgb(51, 51, 51) none 0px;border-collapse: collapse;color: rgb(51, 51, 51);display: block;font-size: 12px;height: 12px;line-height: 12px;margin: 0px 0px 3px 0px;padding: 0px;width: 191px;}}}
@@ -0,0 +1,37 @@
1
+ class Pyk
2
+
3
+ module Rails
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
7
+
8
+ end
9
+
10
+
11
+ require 'roo'
12
+ require 'pyk/address'
13
+ require 'pyk/api'
14
+ require 'pyk/date'
15
+ require 'pyk/date_time'
16
+ require 'pyk/dj'
17
+ require 'pyk/float'
18
+ require 'pyk/gravatar'
19
+ require 'pyk/number'
20
+ require 'pyk/regex'
21
+ require 'pyk/spreadsheet'
22
+ require 'pyk/string'
23
+ require 'pyk/url'
24
+ require 'pyk/user'
25
+ require 'pyk/highcharts'
26
+
27
+ require 'pyk/address_helpers'
28
+ require 'pyk/app_helpers'
29
+ require 'pyk/date_helpers'
30
+ require 'pyk/devise_helpers'
31
+ require 'pyk/number_helpers'
32
+
33
+ ActionView::Base.send :include, Pyk::AddressHelpers
34
+ ActionView::Base.send :include, Pyk::AppHelpers
35
+ ActionView::Base.send :include, Pyk::DateHelpers
36
+ ActionView::Base.send :include, Pyk::NumberHelpers
37
+ ActionView::Base.send :include, Pyk::DeviseHelpers
@@ -15,4 +15,14 @@ class Pyk::Date
15
15
  Date.new(year, month, -1).to_time + 86340
16
16
  end
17
17
 
18
+ #Pyk::Date.next_month(month)
19
+ def self.next_month(month)
20
+ (month == 12) ? 1 : month + 1
21
+ end
22
+
23
+ #Pyk::Date.year_next_month(month, year)
24
+ def self.year_next_month(month, year)
25
+ (month == 12) ? year + 1 : year
26
+ end
27
+
18
28
  end
@@ -1,5 +1,10 @@
1
1
  class Pyk::DateTime
2
2
 
3
+ #Pyk::DateTime.end_of_day(date_object)
4
+ def self.end_of_day(date_object)
5
+ Date.new(date_object.year, date_object.month, date_object.day).to_time + 86340
6
+ end
7
+
3
8
  #Pyk::Date.get_start_date_from_tag(tag, default_year=nil, default_month=nil)
4
9
  def self.get_start_date_from_tag(tag, default_year=nil, default_month=nil)
5
10
  if tag == "this_month"
@@ -0,0 +1,92 @@
1
+ class Pyk::Highcharts
2
+
3
+ # Pyk::Highcharts.pie(data, series_name, render_to_name, background_color)
4
+ def self.pie(data, series_name, render_to_name, background_color, show_in_legend=false, data_labels=false)
5
+ LazyHighCharts::HighChart.new('pie') do |f|
6
+ f.chart({:defaultSeriesType=>"pie" , :margin=> [0, 0, 0, 0], backgroundColor: background_color, renderTo: render_to_name})
7
+ f.series({:type=> 'pie', :name=> series_name, :data=> data, borderWidth: 0})
8
+ f.options[:title][:text] = nil
9
+ f.legend(:layout=> 'vertical',:style=> {:left=> '0', :bottom=> '0',:right=> '0',:top=> '0'})
10
+ f.plot_options(series: {pointPadding: 0,groupPadding: 0}, :pie=>{:allowPointSelect=>true, :cursor=>"pointer" , showInLegend: show_in_legend, :dataLabels=>{:enabled=>data_labels}})
11
+ end
12
+ end
13
+
14
+ # Pyk::Highcharts.bar(data, categories, render_to_name, background_color)
15
+ def self.bar(data, categories, render_to_name, background_color, show_in_legend=false, data_labels=false)
16
+ LazyHighCharts::HighChart.new('column') do |f|
17
+ f.chart({ backgroundColor: background_color, renderTo: render_to_name, defaultSeriesType: "bar"} )
18
+ data.each do |d|
19
+ f.series(:name=>d[0],:data=> d[1], borderWidth: 0)
20
+ end
21
+ f.xAxis({categories: categories, gridLineWidth: 0, :labels=>{:align => 'right'}, type: :string})
22
+ f.yAxis({gridLineWidth: 0, title: nil, :min => 0})
23
+ f.title({ :text=> nil})
24
+ f.plot_options({:bar=>{:stacking=>"normal", dataLabels: {enabled: data_labels}, showInLegend: show_in_legend}})
25
+ end
26
+ end
27
+
28
+ # Pyk::Highcharts.column(data, categories, render_to_name, background_color)
29
+ def self.column(data, categories, render_to_name, background_color, show_in_legend=false, data_labels=false)
30
+ LazyHighCharts::HighChart.new('column') do |f|
31
+ f.chart({ backgroundColor: background_color, renderTo: render_to_name, :defaultSeriesType=>"column"} )
32
+ data.each do |d|
33
+ f.series(:name=>d[0],:data=> d[1], borderWidth: 0)
34
+ end
35
+ f.xAxis({categories: categories, gridLineWidth: 0, :labels=>{:align => 'center'}, type: :string})
36
+ f.yAxis({gridLineWidth: 0, title: nil, :min => 0})
37
+ f.title({ :text=> nil})
38
+ f.plot_options({:column=>{:stacking=>"normal", dataLabels: {enabled: data_labels}, showInLegend: show_in_legend}})
39
+ end
40
+ end
41
+
42
+ # Pyk::Highcharts.donut(data, series_name, render_to_name, background_color)
43
+ def self.donut(data, series_name, render_to_name, background_color, chart_title, show_in_legend=false, data_labels=false)
44
+ LazyHighCharts::HighChart.new('pie') do |f|
45
+ f.chart({:defaultSeriesType=>"pie" , :margin=> [0, 0, 0, 0], backgroundColor: background_color, renderTo: render_to_name})
46
+ f.title({verticalAlign: 'middle',floating: true,text: chart_title})
47
+ f.series({:type=> 'pie', :name=> series_name, :data=> data, borderWidth: 0, innerSize: '67%', size: '100%'})
48
+ f.legend(:layout=> 'vertical',:style=> {:left=> '0', :bottom=> '0',:right=> '0',:top=> '0'})
49
+ f.plot_options(series: {pointPadding: 0,groupPadding: 0}, :pie=>{:allowPointSelect=>true, :cursor=>"pointer" , showInLegend: show_in_legend, :dataLabels=>{:enabled=>data_labels}})
50
+ end
51
+ end
52
+
53
+ # Pyk::Highcharts.areaspline_by_date(data, render_to_name, background_color, start_date, end_date)
54
+ def self.areaspline_by_date(data, render_to_name, background_color, start_date, end_date, show_in_legend=false, data_labels=false)
55
+ categories = []
56
+ (start_date..end_date).each do |d|
57
+ categories << d
58
+ end
59
+ return LazyHighCharts::HighChart.new('graph') do |f|
60
+ f.chart({ backgroundColor: background_color, renderTo: render_to_name, :defaultSeriesType=>"areaspline"} )
61
+ data.each do |d2|
62
+ f.series(:name=>d2[0],:data=> d2[1], borderWidth: 0)
63
+ end
64
+ f.xAxis({categories: categories, gridLineWidth: 0, :labels=>{:rotation=>-45 , :align => 'right'}, type: :datetime})
65
+ f.legend({layout: "horizontal", :borderWidth => 0})
66
+ f.yAxis({gridLineWidth: 0, title: nil, :min => 0})
67
+ f.title({ :text=> nil})
68
+ f.plot_options({:area=>{pointInterval: 1.day, marker: {enabled: false, symbol: 'circle',radius: 2,states: {hover: {enabled: true}}}, dataLabels: {enabled: data_labels}, showInLegend: show_in_legend}})
69
+ end
70
+ end
71
+
72
+ # Pyk::Highcharts.stacked_bar_with_pie(data, categories, pie_data, render_to_name, background_color)
73
+ def self.stacked_bar_with_pie(data, categories, pie_data, render_to_name, background_color, show_in_legend=false, data_labels=false)
74
+ LazyHighCharts::HighChart.new('column') do |f|
75
+ f.chart({ backgroundColor: background_color, renderTo: render_to_name, :defaultSeriesType=>"column"} )
76
+ if pie_data.first.present?
77
+ pie_data.each do |pie|
78
+ f.series(:type=> 'pie',:name=> nil, :data=> [{:name=> pie[0], :y=> pie[1], :color=> pie[2]}], :center=> [pie[3], 5], :size=> 20, :showInLegend=> false, enableMouseTracking: false)
79
+ end
80
+ end
81
+ data.each do |d|
82
+ f.series(:type=> 'column',:name=> d[0],:data=> d[1], borderWidth: 0, stack: d[2], color: d[3])
83
+ end
84
+ f.xAxis({categories: categories, gridLineWidth: 0, :labels=>{:rotation=>0 , :align => 'right'}, type: :date})
85
+ f.legend({layout: "horizontal", :borderWidth => 0, enabled: show_in_legend})
86
+ f.yAxis({gridLineWidth: 0, title: nil, :min => 0})
87
+ f.title({ :text=> nil})
88
+ f.plot_options({:column=>{:stacking => "normal"}, dataLabels: {enabled: data_labels}, showInLegend: show_in_legend})
89
+ end
90
+ end
91
+
92
+ end
@@ -3,6 +3,7 @@ class Pyk::Regex
3
3
  #Pyk::Regex::EMAIL
4
4
  EMAIL = /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i
5
5
 
6
+ # May be future can be --- https://github.com/phatworx/devise_security_extension
6
7
  #Pyk::Regex::PASSWORD
7
8
  PASSWORD = /^(?=.*\d)(?=.*([a-z]|[A-Z]))([\x20-\x7E]){8,}$/
8
9
 
metadata CHANGED
@@ -1,77 +1,131 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pyk
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 2
9
+ version: 0.0.2
5
10
  platform: ruby
6
- authors:
11
+ authors:
7
12
  - Pykih Software LLP
8
13
  autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
- date: 2013-07-28 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2013-07-28 00:00:00 +05:30
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
14
21
  name: nestful
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 1.0.3
20
- type: :development
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 0
30
+ - 3
26
31
  version: 1.0.3
27
- - !ruby/object:Gem::Dependency
28
- name: nokogiri
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '='
32
- - !ruby/object:Gem::Version
33
- version: 1.5.3
34
32
  type: :development
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: nokogiri
35
36
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '='
39
- - !ruby/object:Gem::Version
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 5
44
+ - 3
40
45
  version: 1.5.3
41
- - !ruby/object:Gem::Dependency
42
- name: carmen
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '='
46
- - !ruby/object:Gem::Version
47
- version: 0.2.13
48
46
  type: :development
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: carmen
49
50
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '='
53
- - !ruby/object:Gem::Version
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "="
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 2
58
+ - 13
54
59
  version: 0.2.13
55
- - !ruby/object:Gem::Dependency
60
+ type: :development
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
56
63
  name: roo
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '='
60
- - !ruby/object:Gem::Version
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "="
68
+ - !ruby/object:Gem::Version
69
+ segments:
70
+ - 1
71
+ - 10
72
+ - 1
61
73
  version: 1.10.1
62
74
  type: :development
75
+ version_requirements: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ name: lazy_high_charts
63
78
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '='
67
- - !ruby/object:Gem::Version
68
- version: 1.10.1
69
- description:
79
+ requirement: &id005 !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "="
82
+ - !ruby/object:Gem::Version
83
+ segments:
84
+ - 1
85
+ - 4
86
+ - 3
87
+ version: 1.4.3
88
+ type: :development
89
+ version_requirements: *id005
90
+ - !ruby/object:Gem::Dependency
91
+ name: railties
92
+ prerelease: false
93
+ requirement: &id006 !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ~>
96
+ - !ruby/object:Gem::Version
97
+ segments:
98
+ - 3
99
+ - 1
100
+ version: "3.1"
101
+ type: :development
102
+ version_requirements: *id006
103
+ description: Standard library of commonly reused functions across all Pykih Projects.
70
104
  email: rp@pykih.com
71
105
  executables: []
106
+
72
107
  extensions: []
108
+
73
109
  extra_rdoc_files: []
74
- files:
110
+
111
+ files:
112
+ - app/assets/images/asc.gif
113
+ - app/assets/images/desc.gif
114
+ - app/assets/images/id_card-shadow.png
115
+ - app/assets/images/id_card.png
116
+ - app/assets/images/sort-bg.gif
117
+ - app/assets/images/sprites/contacts.png
118
+ - app/assets/images/sprites/file-icons-16-px.png
119
+ - app/assets/images/sprites/signup.png
120
+ - app/assets/images/sprites/so.png
121
+ - app/assets/stylesheets/pyk/bootstrap.css.scss
122
+ - app/assets/stylesheets/pyk/global.css.scss
123
+ - app/assets/stylesheets/pyk/helpers.css.scss
124
+ - app/assets/stylesheets/pyk/navbar.css.scss
125
+ - app/assets/stylesheets/pyk/sprites.css.scss
126
+ - app/assets/stylesheets/pyk/user_card.css.scss
127
+ - app/assets/stylesheets/pyk.css.scss
128
+ - lib/pyk.rb
75
129
  - lib/pyk/address.rb
76
130
  - lib/pyk/api.rb
77
131
  - lib/pyk/date.rb
@@ -90,27 +144,38 @@ files:
90
144
  - lib/pyk/date_helpers.rb
91
145
  - lib/pyk/devise_helpers.rb
92
146
  - lib/pyk/number_helpers.rb
147
+ - lib/pyk/highcharts.rb
148
+ has_rdoc: true
93
149
  homepage: https://github.com/pykih/pyk
94
150
  licenses: []
95
- metadata: {}
151
+
96
152
  post_install_message:
97
153
  rdoc_options: []
98
- require_paths:
154
+
155
+ require_paths:
99
156
  - lib
100
- required_ruby_version: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ! '>='
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- required_rubygems_version: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ segments:
162
+ - 0
163
+ version: "0"
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ segments:
169
+ - 1
170
+ - 3
171
+ - 6
109
172
  version: 1.3.6
110
173
  requirements: []
174
+
111
175
  rubyforge_project:
112
- rubygems_version: 2.0.3
176
+ rubygems_version: 1.3.6
113
177
  signing_key:
114
- specification_version: 4
178
+ specification_version: 3
115
179
  summary: Standard library of commonly reused functions across all Pykih Projects.
116
180
  test_files: []
181
+
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 4ebb0bcf371c31f6930fb71ebea88b26675e7d6e
4
- data.tar.gz: 3b2c11eb574660471ad80c48f46a298bc0a5801c
5
- SHA512:
6
- metadata.gz: 1eeeb8db88ad248923b62fd6088a3063cd694a55a4cd693fffd5bb6fe8f54dd94f0f71feb88aa912fe8f604be644820d3def57948dca95119ddd5245e0ece31d
7
- data.tar.gz: b66df064c7970bc269100a4798a74d0748162143df631f8e639a494c101809a71642e4fb8f88cb5f0ba65f8ac525f953e021ec5b13131c15e734689d42e8362f