Skip to content

Commit dda09a9

Browse files
committed
fix: replace CDN assets with local from webassets
1 parent 5c82123 commit dda09a9

File tree

388 files changed

+3488
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

388 files changed

+3488
-120
lines changed

ksweb/ksweb/config/app_cfg.py

+5
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,20 @@ def get_permissions(self, identity, userid):
100100
'javascript/vendors/jquery-3.3.1.min.js',
101101
'javascript/vendors/bootstrap.min.js',
102102
'javascript/vendors/toastr.min.js',
103+
'javascript/vendors/buttons.js',
103104
'javascript/app.js',
104105
webassets.Bundle(
105106
'javascript/jsx/**',
106107
filters='babeljsx',
107108
),
108109
filters='rjsmin',
109110
output='assets/js_all.js'),
111+
'fonts': webassets.Bundle('fonts/**/*.css',
112+
filters='cssrewrite',
113+
output='assets/fonts.css'),
110114
'css_all': webassets.Bundle('css/vendors/toastr.min.css',
111115
'css/vendors/material-icons.css',
116+
'css/vendors/font-awesome.min.css',
112117
webassets.Bundle('css/style.scss',
113118
depends=('css/*.scss'),
114119
filters='libsass',

ksweb/ksweb/public/css/vendors/font-awesome.min.css

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ksweb/ksweb/public/css/vendors/new-age/_mixins.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
@mixin heading-font {
6666
font-family: 'Catamaran', 'Helvetica', 'Arial', 'sans-serif';
67-
font-weight: 200;
67+
font-weight: 400 !important;
6868
letter-spacing: 1px;
6969
}
7070

Original file line numberDiff line numberDiff line change
@@ -1,78 +1,78 @@
11
// Styling for the navbar
22
#mainNav {
3-
border-color: fade-out($gray-darker, .95);
4-
background-color: white;
5-
@include transition-all;
3+
border-color: fade-out($gray-darker, 0.95);
4+
background-color: white;
5+
@include transition-all;
6+
@include heading-font;
7+
.navbar-brand {
8+
color: $theme-primary;
69
@include heading-font;
7-
.navbar-brand {
8-
color: $theme-primary;
9-
@include heading-font;
10-
&:hover,
11-
&:focus {
12-
color: darken($theme-primary, 10%);
13-
}
10+
&:hover,
11+
&:focus {
12+
color: darken($theme-primary, 10%);
1413
}
15-
.navbar-toggler {
16-
font-size: 12px;
17-
padding: 8px 10px;
14+
}
15+
.navbar-toggler {
16+
font-size: 12px;
17+
padding: 8px 10px;
18+
color: $gray-darker;
19+
}
20+
.navbar-nav {
21+
> li {
22+
> a {
23+
font-size: 14px;
24+
@include alt-font;
25+
font-weight: 400;
26+
&.active {
27+
background-color: transparent;
28+
&:hover {
29+
background-color: transparent;
30+
}
31+
}
32+
}
33+
> a,
34+
> a:focus {
1835
color: $gray-darker;
19-
}
20-
.navbar-nav {
21-
> li {
22-
> a {
23-
font-size: 11px;
24-
@include alt-font;
25-
&.active {
26-
color: $theme-primary !important;
27-
background-color: transparent;
28-
&:hover {
29-
background-color: transparent;
30-
}
31-
}
32-
}
33-
> a,
34-
> a:focus {
35-
color: $gray-darker;
36-
&:hover {
37-
color: $theme-primary;
38-
}
39-
}
36+
&:hover {
37+
color: $theme-primary;
4038
}
39+
}
4140
}
42-
@media (min-width: 992px) {
43-
border-color: transparent;
44-
background-color: transparent;
45-
.navbar-brand {
46-
color: fade(white, 70%);
47-
&:hover,
48-
&:focus {
49-
color: white;
50-
}
51-
}
52-
.navbar-nav > li > a,
53-
.navbar-nav > li > a:focus {
54-
color: fade-out(white, .3);
55-
&:hover {
56-
color: white;
57-
}
41+
}
42+
@media (min-width: 992px) {
43+
border-color: transparent;
44+
background-color: transparent;
45+
.navbar-brand {
46+
color: fade(white, 70%);
47+
&:hover,
48+
&:focus {
49+
color: white;
50+
}
51+
}
52+
.navbar-nav > li > a,
53+
.navbar-nav > li > a:focus {
54+
color: fade-out(white, 0.3);
55+
&:hover {
56+
color: white;
57+
}
58+
}
59+
&.navbar-shrink {
60+
border-color: fade-out($gray-darker, 0.9);
61+
background-color: white;
62+
.navbar-brand {
63+
color: $gray-darker;
64+
&:hover,
65+
&:focus {
66+
color: $theme-primary;
5867
}
59-
&.navbar-shrink {
60-
border-color: fade-out($gray-darker, .9);
61-
background-color: white;
62-
.navbar-brand {
63-
color: $gray-darker;
64-
&:hover,
65-
&:focus {
66-
color: $theme-primary;
67-
}
68-
}
69-
.navbar-nav > li > a,
70-
.navbar-nav > li > a:focus {
71-
color: $gray-darker;
72-
&:hover {
73-
color: $theme-primary;
74-
}
75-
}
68+
}
69+
.navbar-nav > li > a,
70+
.navbar-nav > li > a:focus {
71+
color: $gray-darker;
72+
&:hover {
73+
color: $theme-primary;
7674
}
75+
}
7776
}
77+
}
7878
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-100-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 100;
7+
src: url('./files/catamaran-tamil-100-normal.woff2') format('woff2'), url('./files/catamaran-all-100-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-100-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 100;
16+
src: url('./files/catamaran-latin-ext-100-normal.woff2') format('woff2'), url('./files/catamaran-all-100-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-100-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 100;
25+
src: url('./files/catamaran-latin-100-normal.woff2') format('woff2'), url('./files/catamaran-all-100-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-200-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 200;
7+
src: url('./files/catamaran-tamil-200-normal.woff2') format('woff2'), url('./files/catamaran-all-200-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-200-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 200;
16+
src: url('./files/catamaran-latin-ext-200-normal.woff2') format('woff2'), url('./files/catamaran-all-200-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-200-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 200;
25+
src: url('./files/catamaran-latin-200-normal.woff2') format('woff2'), url('./files/catamaran-all-200-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-300-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 300;
7+
src: url('./files/catamaran-tamil-300-normal.woff2') format('woff2'), url('./files/catamaran-all-300-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-300-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 300;
16+
src: url('./files/catamaran-latin-ext-300-normal.woff2') format('woff2'), url('./files/catamaran-all-300-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-300-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 300;
25+
src: url('./files/catamaran-latin-300-normal.woff2') format('woff2'), url('./files/catamaran-all-300-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-400-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 400;
7+
src: url('./files/catamaran-tamil-400-normal.woff2') format('woff2'), url('./files/catamaran-all-400-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-400-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 400;
16+
src: url('./files/catamaran-latin-ext-400-normal.woff2') format('woff2'), url('./files/catamaran-all-400-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-400-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 400;
25+
src: url('./files/catamaran-latin-400-normal.woff2') format('woff2'), url('./files/catamaran-all-400-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-500-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 500;
7+
src: url('./files/catamaran-tamil-500-normal.woff2') format('woff2'), url('./files/catamaran-all-500-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-500-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 500;
16+
src: url('./files/catamaran-latin-ext-500-normal.woff2') format('woff2'), url('./files/catamaran-all-500-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-500-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 500;
25+
src: url('./files/catamaran-latin-500-normal.woff2') format('woff2'), url('./files/catamaran-all-500-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-600-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 600;
7+
src: url('./files/catamaran-tamil-600-normal.woff2') format('woff2'), url('./files/catamaran-all-600-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-600-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 600;
16+
src: url('./files/catamaran-latin-ext-600-normal.woff2') format('woff2'), url('./files/catamaran-all-600-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-600-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 600;
25+
src: url('./files/catamaran-latin-600-normal.woff2') format('woff2'), url('./files/catamaran-all-600-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-700-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 700;
7+
src: url('./files/catamaran-tamil-700-normal.woff2') format('woff2'), url('./files/catamaran-all-700-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-700-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 700;
16+
src: url('./files/catamaran-latin-ext-700-normal.woff2') format('woff2'), url('./files/catamaran-all-700-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-700-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 700;
25+
src: url('./files/catamaran-latin-700-normal.woff2') format('woff2'), url('./files/catamaran-all-700-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* catamaran-tamil-800-normal*/
2+
@font-face {
3+
font-family: 'Catamaran';
4+
font-style: normal;
5+
font-display: swap;
6+
font-weight: 800;
7+
src: url('./files/catamaran-tamil-800-normal.woff2') format('woff2'), url('./files/catamaran-all-800-normal.woff') format('woff');
8+
unicode-range: U+0964-0965,U+0B82-0BFA,U+200C-200D,U+20B9,U+25CC;
9+
}
10+
/* catamaran-latin-ext-800-normal*/
11+
@font-face {
12+
font-family: 'Catamaran';
13+
font-style: normal;
14+
font-display: swap;
15+
font-weight: 800;
16+
src: url('./files/catamaran-latin-ext-800-normal.woff2') format('woff2'), url('./files/catamaran-all-800-normal.woff') format('woff');
17+
unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
18+
}
19+
/* catamaran-latin-800-normal*/
20+
@font-face {
21+
font-family: 'Catamaran';
22+
font-style: normal;
23+
font-display: swap;
24+
font-weight: 800;
25+
src: url('./files/catamaran-latin-800-normal.woff2') format('woff2'), url('./files/catamaran-all-800-normal.woff') format('woff');
26+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
27+
}

0 commit comments

Comments
 (0)