vipassana-design-standards 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/app/assets/stylesheets/custom-bootstrap-utilities.scss +50 -30
- package/app/assets/stylesheets/vds-header.scss +2 -14
- package/app/assets/stylesheets/vds-layout.scss +15 -6
- package/app/assets/stylesheets/vds-sidenav.scss +25 -8
- package/package.json +1 -1
- package/vipassana-design-standards-0.0.11.gem +0 -0
- package/vipassana-design-standards.gemspec +1 -1
package/README.md
CHANGED
|
@@ -2,3 +2,31 @@
|
|
|
2
2
|
## Design Standards
|
|
3
3
|
|
|
4
4
|
Provide a simple website to download the logos in different format and variations
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
helper Vipassana::LogoHelper
|
|
8
|
+
|
|
9
|
+
<body class="vds-body">
|
|
10
|
+
<div class="vds-header-and-content">
|
|
11
|
+
<header class="vds-header">
|
|
12
|
+
<!-- Logo vipassana_logo_svg -->
|
|
13
|
+
</header>
|
|
14
|
+
|
|
15
|
+
<div class="vds-page vds-container">
|
|
16
|
+
<div class="vds-sidenav">
|
|
17
|
+
<ul>
|
|
18
|
+
<li>
|
|
19
|
+
<a href="test">Test</a>
|
|
20
|
+
</li>
|
|
21
|
+
</ul>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="vds-page-content">
|
|
25
|
+
<!-- Page content -->
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<footer class="vds-footer">
|
|
31
|
+
</footer>
|
|
32
|
+
</body>
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
@use "sass:math";
|
|
3
|
-
|
|
4
2
|
:root {
|
|
5
3
|
// Generate missing CSS Variables
|
|
6
4
|
@each $color, $value in $blues {
|
|
@@ -46,36 +44,58 @@
|
|
|
46
44
|
.fs-normal {
|
|
47
45
|
font-size: 1rem !important;
|
|
48
46
|
}
|
|
47
|
+
|
|
49
48
|
// fs-09-rem, fs-085-em..
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
49
|
+
.fs-05-rem { font-size: .5rem !important; }
|
|
50
|
+
.fs-05-em { font-size: .5em !important; }
|
|
51
|
+
.fs-055-rem { font-size: .55rem !important; }
|
|
52
|
+
.fs-055-em { font-size: .55em !important; }
|
|
53
|
+
|
|
54
|
+
.fs-06-rem { font-size: .6rem !important; }
|
|
55
|
+
.fs-06-em { font-size: .6em !important; }
|
|
56
|
+
.fs-065-rem { font-size: .65rem !important; }
|
|
57
|
+
.fs-065-em { font-size: .65em !important; }
|
|
58
|
+
|
|
59
|
+
.fs-07-rem { font-size: .7rem !important; }
|
|
60
|
+
.fs-07-em { font-size: .7em !important; }
|
|
61
|
+
.fs-075-rem { font-size: .75rem !important; }
|
|
62
|
+
.fs-075-em { font-size: .75em !important; }
|
|
63
|
+
|
|
64
|
+
.fs-08-rem { font-size: .8rem !important; }
|
|
65
|
+
.fs-08-em { font-size: .8em !important; }
|
|
66
|
+
.fs-085-rem { font-size: .85rem !important; }
|
|
67
|
+
.fs-085-em { font-size: .85em !important; }
|
|
68
|
+
|
|
69
|
+
.fs-09-rem { font-size: .9rem !important; }
|
|
70
|
+
.fs-09-em { font-size: .9em !important; }
|
|
71
|
+
.fs-095-rem { font-size: .95rem !important; }
|
|
72
|
+
.fs-095-em { font-size: .95em !important; }
|
|
73
|
+
|
|
64
74
|
// fs-11-rem, fs-125-em...
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
75
|
+
.fs-11-rem { font-size: 1.1rem !important; }
|
|
76
|
+
.fs-11-em { font-size: 1.1em !important; }
|
|
77
|
+
.fs-115-rem { font-size: 1.15rem !important; }
|
|
78
|
+
.fs-115-em { font-size: 1.15em !important; }
|
|
79
|
+
|
|
80
|
+
.fs-12-rem { font-size: 1.2rem !important; }
|
|
81
|
+
.fs-12-em { font-size: 1.2em !important; }
|
|
82
|
+
.fs-125-rem { font-size: 1.25rem !important; }
|
|
83
|
+
.fs-125-em { font-size: 1.25em !important; }
|
|
84
|
+
|
|
85
|
+
.fs-13-rem { font-size: 1.3rem !important; }
|
|
86
|
+
.fs-13-em { font-size: 1.3em !important; }
|
|
87
|
+
.fs-135-rem { font-size: 1.35rem !important; }
|
|
88
|
+
.fs-135-em { font-size: 1.35em !important; }
|
|
89
|
+
|
|
90
|
+
.fs-14-rem { font-size: 1.4rem !important; }
|
|
91
|
+
.fs-14-em { font-size: 1.4em !important; }
|
|
92
|
+
.fs-145-rem { font-size: 1.45rem !important; }
|
|
93
|
+
.fs-145-em { font-size: 1.45em !important; }
|
|
94
|
+
|
|
95
|
+
.fs-15-rem { font-size: 1.5rem !important; }
|
|
96
|
+
.fs-15-em { font-size: 1.5em !important; }
|
|
97
|
+
.fs-155-rem { font-size: 1.55rem !important; }
|
|
98
|
+
.fs-155-em { font-size: 1.55em !important; }
|
|
79
99
|
|
|
80
100
|
.full-width-sm {
|
|
81
101
|
@include media-breakpoint-down(md) {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
color: $primary;
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
|
+
@extend .d-print-none;
|
|
8
9
|
|
|
9
10
|
border-bottom: 2px solid $secondary;
|
|
10
11
|
@include media-breakpoint-up(md) {
|
|
@@ -19,24 +20,11 @@
|
|
|
19
20
|
padding: var(--header-y-padding) var(--layout-padding);
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
.logo svg {
|
|
23
|
+
.vds-logo svg {
|
|
23
24
|
max-height: 40px;
|
|
24
25
|
max-width: 100%;
|
|
25
26
|
@include media-breakpoint-up(md) {
|
|
26
27
|
max-height: 70px;
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
-
.right-container {
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: flex-end;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.locale-picker {
|
|
37
|
-
text-align: right;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
}
|
|
42
30
|
}
|
|
@@ -9,6 +9,21 @@
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
|
|
13
|
+
.vds-page {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-grow: 1;
|
|
16
|
+
|
|
17
|
+
.vds-page-content {
|
|
18
|
+
flex-grow: 1;
|
|
19
|
+
@extend .bg-body;
|
|
20
|
+
|
|
21
|
+
& > h1:first-child, & > h2:first-child {
|
|
22
|
+
margin-top: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
12
27
|
}
|
|
13
28
|
|
|
14
29
|
// The container so eery part of the page have same content-width
|
|
@@ -19,12 +34,6 @@
|
|
|
19
34
|
margin-right: auto;
|
|
20
35
|
}
|
|
21
36
|
|
|
22
|
-
.vds-page-content {
|
|
23
|
-
& > h1:first-child, & > h2:first-child {
|
|
24
|
-
margin-top: 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
37
|
// wait for vue to be loaded to display it
|
|
29
38
|
.vue-container {
|
|
30
39
|
--page-content-opacity: 0;
|
|
@@ -3,19 +3,23 @@
|
|
|
3
3
|
margin-right: 1rem;
|
|
4
4
|
padding: var(--layout-padding);
|
|
5
5
|
font-size: 1.25rem;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
&.active {
|
|
11
|
-
color: $gold-600;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
6
|
+
@extend .d-none;
|
|
7
|
+
@extend .d-lg-block;
|
|
8
|
+
@extend .d-print-none;
|
|
9
|
+
@extend .flex-shrink-0;
|
|
14
10
|
|
|
15
11
|
ul {
|
|
16
12
|
@extend .sticky-top;
|
|
17
13
|
top: 1rem;
|
|
18
14
|
z-index: 100;
|
|
15
|
+
|
|
16
|
+
a {
|
|
17
|
+
font-family: $headings-font-family;
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
&.active {
|
|
20
|
+
color: $gold-600;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
19
23
|
}
|
|
20
24
|
}
|
|
21
25
|
|
|
@@ -23,4 +27,17 @@
|
|
|
23
27
|
.locale-icon {
|
|
24
28
|
display: none;
|
|
25
29
|
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.vds-sidenav, .vds-mobile-sidenav {
|
|
33
|
+
ul {
|
|
34
|
+
@extend .list-unstyled;
|
|
35
|
+
@extend .flex-column;
|
|
36
|
+
|
|
37
|
+
li {
|
|
38
|
+
a {
|
|
39
|
+
@extend .text-decoration-none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
26
43
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = 'vipassana-design-standards'
|
|
5
|
-
gem.version = '0.0.
|
|
5
|
+
gem.version = '0.0.11'
|
|
6
6
|
# gem.license = 'MIT'
|
|
7
7
|
gem.summary = 'Include Vipassana SVG logos in your pages'
|
|
8
8
|
gem.description = 'A ruby module to offer inline SVG images for each language'
|