dta_rapid 0.4.2 → 0.4.3
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.
- checksums.yaml +4 -4
- data/_includes/buttons/link-button.html +1 -3
- data/_includes/buttons/submit-button.html +1 -0
- data/_includes/buttons/upload-button.html +4 -4
- data/_layouts/default.html +8 -1
- data/assets/style.scss +37 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a4ebed16739f21091375245a18571c4aeba690a
|
4
|
+
data.tar.gz: cb9c3c043aaa6f8ea672fdb0b27eb317d1d6e7ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0393ee44ae73b11d082dd5071e1d942864c7bc7abf4f25da1268f774132ce42d9f22b26d040b506ed7f138ae212f4e4bb227c55c40e99951ef095db03ca1d058'
|
7
|
+
data.tar.gz: 6787169392faa43397f08dadcb50eed78378c2872a495685a8716f742a7719f8a7deff09c61d95ae266bad1f57ba668c4e9007fe9567544a14679d5b5c5b5de9
|
@@ -1,3 +1 @@
|
|
1
|
-
<
|
2
|
-
<a class="uikit-btn" role="button" href="{{ include.href | default: '##' }}" {% if include.onclick %}onclick="{{ include.onclick }}"{% endif %}>{{ include.text }}</a>
|
3
|
-
</p>
|
1
|
+
<a class="uikit-btn" role="button" href="{{ include.href | default: '##' }}" {% if include.onclick %}onclick="{{ include.onclick }}"{% endif %}>{{ include.text }}</a>
|
@@ -0,0 +1 @@
|
|
1
|
+
<button class="uikit-btn" role="button" {% if include.onclick %}onclick="{{ include.onclick }}"{% endif %}>{{ include.text }}</button>
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<p>
|
2
|
-
<div class="uikit-fileupload">
|
3
|
-
<input id="{{ include.id }}" type="file" role="button" multiple/>
|
4
|
-
<label class="uikit-btn uikit-btn--tertiary" for="{{ include.id }}"><span>{{ include.label }}</span></label>
|
5
|
-
</div>
|
2
|
+
<div class="uikit-fileupload">
|
3
|
+
<input id="{{ include.id }}" type="file" role="button" multiple/>
|
4
|
+
<label class="uikit-btn uikit-btn--tertiary" for="{{ include.id }}"><span>{{ include.label }}</span></label>
|
5
|
+
</div>
|
6
6
|
</p>
|
7
7
|
|
8
8
|
<script>
|
data/_layouts/default.html
CHANGED
@@ -4,12 +4,19 @@
|
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
-
<title>
|
7
|
+
<title>{{ page.title }}</title>
|
8
8
|
<link rel="stylesheet" href="/assets/style.css">
|
9
9
|
</head>
|
10
10
|
|
11
11
|
<body class="uikit-body">
|
12
12
|
<main class="uikit-grid">
|
13
|
+
{% if page.header.title %}
|
14
|
+
<header class="uikit-header uikit-header--light">
|
15
|
+
<div class="container">
|
16
|
+
{% if page.header.title %}{{ page.header.title }}{% endif %}
|
17
|
+
</div>
|
18
|
+
</header>
|
19
|
+
{% endif %}
|
13
20
|
<div class="container">
|
14
21
|
{{ content }}
|
15
22
|
</div>
|
data/assets/style.scss
CHANGED
@@ -3,6 +3,24 @@
|
|
3
3
|
|
4
4
|
@import "/assets/uikit.css";
|
5
5
|
|
6
|
+
.uikit-grid .container:before,
|
7
|
+
.uikit-grid .container:after,
|
8
|
+
.uikit-grid .container-fluid:before,
|
9
|
+
.uikit-grid .container-fluid:after {
|
10
|
+
content: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
.uikit-body {
|
14
|
+
p {
|
15
|
+
margin-bottom: 0.8em;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.uikit-header {
|
20
|
+
padding: 1.25em 0;
|
21
|
+
margin-bottom: 1em;
|
22
|
+
}
|
23
|
+
|
6
24
|
.uikit-fileupload input[type="file"] {
|
7
25
|
width: 0.1px;
|
8
26
|
height: 0.1px;
|
@@ -11,3 +29,22 @@
|
|
11
29
|
position: absolute;
|
12
30
|
z-index: -1;
|
13
31
|
}
|
32
|
+
|
33
|
+
a.uikit-btn {
|
34
|
+
color: white;
|
35
|
+
}
|
36
|
+
|
37
|
+
.uikit-btn {
|
38
|
+
text-align: center;
|
39
|
+
|
40
|
+
@media (max-width: 640px) {
|
41
|
+
display: block;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
button.uikit-btn {
|
46
|
+
@media (max-width: 640px) {
|
47
|
+
display: block;
|
48
|
+
width: 100%;
|
49
|
+
}
|
50
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dta_rapid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gareth Rogers
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- LICENSE.txt
|
67
67
|
- README.md
|
68
68
|
- _includes/buttons/link-button.html
|
69
|
+
- _includes/buttons/submit-button.html
|
69
70
|
- _includes/buttons/upload-button.html
|
70
71
|
- _includes/callouts/calendar-callout.html
|
71
72
|
- _includes/callouts/container-callout.html
|