appscms-tools-theme 2.5.3 → 2.5.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" style="" viewBox="0 0 512 512">
2
- <path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 368C269.3 368 280 357.3 280 344V280H344C357.3 280 368 269.3 368 256C368 242.7 357.3 232 344 232H280V168C280 154.7 269.3 144 256 144C242.7 144 232 154.7 232 168V232H168C154.7 232 144 242.7 144 256C144 269.3 154.7 280 168 280H232V344C232 357.3 242.7 368 256 368z"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" style="" viewBox="0 0 512 512">
2
+ <path d="M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 368C269.3 368 280 357.3 280 344V280H344C357.3 280 368 269.3 368 256C368 242.7 357.3 232 344 232H280V168C280 154.7 269.3 144 256 144C242.7 144 232 154.7 232 168V232H168C154.7 232 144 242.7 144 256C144 269.3 154.7 280 168 280H232V344C232 357.3 242.7 368 256 368z"/>
3
3
  </svg>
data/assets/js/ads.js CHANGED
@@ -1,8 +1,8 @@
1
- ;(function (s, u, z, p) {
2
- ;(s.src = u), s.setAttribute('data-zone', z), p.appendChild(s)
3
- })(
4
- document.createElement('script'),
5
- 'https://inklinkor.com/tag.min.js',
6
- 5225477,
7
- document.body || document.documentElement
8
- )
1
+ ;(function (s, u, z, p) {
2
+ ;(s.src = u), s.setAttribute('data-zone', z), p.appendChild(s)
3
+ })(
4
+ document.createElement('script'),
5
+ 'https://inklinkor.com/tag.min.js',
6
+ 5225477,
7
+ document.body || document.documentElement
8
+ )
@@ -1,10 +1,10 @@
1
- ---
2
- ---
3
- function insertAfter(referenceNode, newNode) {
4
- referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling)
5
- }
6
- let themeContentBox = document.getElementById('theme-content-box')
7
- const div = document.createElement('div')
8
- const profitablecpmgateId = '{{site.profitablecpmgateId}}'
9
- div.setAttribute('id', `container-${profitablecpmgateId}`)
10
- insertAfter(themeContentBox, div)
1
+ ---
2
+ ---
3
+ function insertAfter(referenceNode, newNode) {
4
+ referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling)
5
+ }
6
+ let themeContentBox = document.getElementById('theme-content-box')
7
+ const div = document.createElement('div')
8
+ const profitablecpmgateId = '{{site.profitablecpmgateId}}'
9
+ div.setAttribute('id', `container-${profitablecpmgateId}`)
10
+ insertAfter(themeContentBox, div)
@@ -1,33 +1,33 @@
1
- [
2
- {
3
- "name": "together_forever",
4
- "effectImagePath": "/assets/images/together_forever.png",
5
- "elements": [
6
- {
7
- "type": "image",
8
- "filter": "",
9
- "perspective": "",
10
- "height": 300,
11
- "width": 300,
12
- "translate": {
13
- "x": -5,
14
- "y": -10
15
- },
16
- "x": 100,
17
- "y": 100,
18
- "id": "file-1"
19
- },
20
- {
21
- "type": "text",
22
- "x": "200",
23
- "y": "200",
24
- "color": "red",
25
- "fontFamily": "Calligraphy",
26
- "fontPath": "/assets/fonts/Calligraphy.ttf",
27
- "id": "text-1",
28
- "fontSize": 50,
29
- "fontSizeOption1": 10
30
- }
31
- ]
32
- }
1
+ [
2
+ {
3
+ "name": "together_forever",
4
+ "effectImagePath": "/assets/images/together_forever.png",
5
+ "elements": [
6
+ {
7
+ "type": "image",
8
+ "filter": "",
9
+ "perspective": "",
10
+ "height": 300,
11
+ "width": 300,
12
+ "translate": {
13
+ "x": -5,
14
+ "y": -10
15
+ },
16
+ "x": 100,
17
+ "y": 100,
18
+ "id": "file-1"
19
+ },
20
+ {
21
+ "type": "text",
22
+ "x": "200",
23
+ "y": "200",
24
+ "color": "red",
25
+ "fontFamily": "Calligraphy",
26
+ "fontPath": "/assets/fonts/Calligraphy.ttf",
27
+ "id": "text-1",
28
+ "fontSize": 50,
29
+ "fontSizeOption1": 10
30
+ }
31
+ ]
32
+ }
33
33
  ]
data/assets/js/theme.js CHANGED
@@ -1,27 +1,44 @@
1
- $(document).ready(function () {
2
- var safuiAlert = $('#safeui-alert')
3
- if (safuiAlert) {
4
- safuiAlert
5
- .first()
6
- .delay(10000)
7
- .slideUp(1000, function () {
8
- $(this).remove()
9
- })
10
- }
11
- })
12
- var removeNav = () => {
13
- let homeLink = document.getElementById('home-link')
14
- homeLink.style.marginRight = '10px'
15
- document.getElementById('h1-img-wrapper').prepend(homeLink)
16
- document
17
- .getElementById('h1-img-wrapper')
18
- .style.setProperty('align-items', 'unset', 'important')
19
- document.getElementById('header').style.display = 'none'
20
- document.getElementById('h1-img').style.display = 'none'
21
- document.getElementById('feature-h1').style.width = '100%'
22
- document.getElementById('feature-h2').style.display = 'none'
23
- let safeUiAlert = document.getElementById('safeui-alert')
24
- if (safeUiAlert) {
25
- safeUiAlert.style.display = 'none'
26
- }
27
- }
1
+ $(document).ready(function () {
2
+ var safuiAlert = $('#safeui-alert')
3
+ if (safuiAlert) {
4
+ safuiAlert
5
+ .first()
6
+ .delay(10000)
7
+ .slideUp(1000, function () {
8
+ $(this).remove()
9
+ })
10
+ }
11
+ })
12
+ let getLayout = document.getElementById('header')
13
+ const layout = getLayout.dataset.layout
14
+ if (layout == "feature-1") {
15
+ var removeNav = () => {
16
+ let homeLink = document.getElementById('home-link')
17
+ homeLink.style.marginRight = '10px'
18
+ document.getElementById('h1-img-wrapper').prepend(homeLink)
19
+
20
+ document.getElementById('header').style.display = 'none'
21
+ document.querySelector('.feature1-h1').style.width = '100%'
22
+ document.querySelector('.feature1-h2').style.display = 'none'
23
+ console.log(document.querySelector(".feature1-flex-container"));
24
+ document.querySelector(".feature1-flex-container").style.paddingTop = "1.5rem"
25
+ document.querySelector(".feature1-flex-container").style.paddingBottom = "0rem"
26
+ }
27
+ } else {
28
+ var removeNav = () => {
29
+ let homeLink = document.getElementById('home-link')
30
+ homeLink.style.marginRight = '10px'
31
+ document.getElementById('h1-img-wrapper').prepend(homeLink)
32
+ document
33
+ .getElementById('h1-img-wrapper')
34
+ .style.setProperty('align-items', 'unset', 'important')
35
+ document.getElementById('header').style.display = 'none'
36
+ document.getElementById('h1-img').style.display = 'none'
37
+ document.getElementById('feature-h1').style.width = '100%'
38
+ document.getElementById('feature-h2').style.display = 'none'
39
+ let safeUiAlert = document.getElementById('safeui-alert')
40
+ if (safeUiAlert) {
41
+ safeUiAlert.style.display = 'none'
42
+ }
43
+ }
44
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.3
4
+ version: 2.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-28 00:00:00.000000000 Z
11
+ date: 2022-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '12.0'
55
- description:
55
+ description:
56
56
  email:
57
57
  - vivek@appscms.com
58
58
  executables: []
@@ -2662,7 +2662,7 @@ homepage: https://github.com/Appscms-com/appscms-tools-theme
2662
2662
  licenses:
2663
2663
  - MIT
2664
2664
  metadata: {}
2665
- post_install_message:
2665
+ post_install_message:
2666
2666
  rdoc_options: []
2667
2667
  require_paths:
2668
2668
  - lib
@@ -2677,8 +2677,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2677
2677
  - !ruby/object:Gem::Version
2678
2678
  version: '0'
2679
2679
  requirements: []
2680
- rubygems_version: 3.1.6
2681
- signing_key:
2680
+ rubygems_version: 3.1.2
2681
+ signing_key:
2682
2682
  specification_version: 4
2683
2683
  summary: Appscms theme for all tools
2684
2684
  test_files: []