appscms-tools-theme 4.3.8 → 4.3.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,18 @@
3
3
  <div class="row">
4
4
  <div class="col-11 mx-auto">
5
5
  <ul class="appscms-toolbar-list">
6
+
7
+ <!-- <div class="scroll-left">
8
+ <svg width="23px" height="23px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000">
9
+
10
+ <g id="SVGRepo_bgCarrier" stroke-width="0"/>
11
+
12
+ <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
13
+
14
+ <g id="SVGRepo_iconCarrier"> <title>arrow_left [#ffffff]</title> <desc>Created with Sketch.</desc> <defs> </defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Dribbble-Light-Preview" transform="translate(-345.000000, -6679.000000)" fill="#ffffff"> <g id="icons" transform="translate(56.000000, 160.000000)"> <path d="M299.633777,6519.29231 L299.633777,6519.29231 C299.228878,6518.90256 298.573377,6518.90256 298.169513,6519.29231 L289.606572,6527.55587 C288.797809,6528.33636 288.797809,6529.60253 289.606572,6530.38301 L298.231646,6538.70754 C298.632403,6539.09329 299.27962,6539.09828 299.685554,6538.71753 L299.685554,6538.71753 C300.100809,6538.32879 300.104951,6537.68821 299.696945,6537.29347 L291.802968,6529.67648 C291.398069,6529.28574 291.398069,6528.65315 291.802968,6528.26241 L299.633777,6520.70538 C300.038676,6520.31563 300.038676,6519.68305 299.633777,6519.29231" id="arrow_left-[#ffffff]"> </path> </g> </g> </g> </g>
15
+
16
+ </svg>
17
+ </div> -->
6
18
  <div id="close-nav-ham" data-open="1" class="close-nav-ham">
7
19
  <svg
8
20
  height="50px"
@@ -37,6 +49,7 @@
37
49
  </g>
38
50
  </svg>
39
51
  </div>
52
+
40
53
  {%- for item in siteData.megaMenu.dropdown -%}
41
54
  <li class="appscms-toolbar-list-item">
42
55
  <span
@@ -68,6 +81,19 @@
68
81
  </ul>
69
82
  </li>
70
83
  {%- endfor -%}
84
+
85
+
86
+ <!-- <div class="scroll-right">
87
+ <svg width="23px" height="23px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000">
88
+
89
+ <g id="SVGRepo_bgCarrier" stroke-width="0"/>
90
+
91
+ <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"/>
92
+
93
+ <g id="SVGRepo_iconCarrier"> <title>arrow_right [#ffffff]</title> <desc>Created with Sketch.</desc> <defs> </defs> <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g id="Dribbble-Light-Preview" transform="translate(-305.000000, -6679.000000)" fill="#ffffff"> <g id="icons" transform="translate(56.000000, 160.000000)"> <path d="M249.365851,6538.70769 L249.365851,6538.70769 C249.770764,6539.09744 250.426289,6539.09744 250.830166,6538.70769 L259.393407,6530.44413 C260.202198,6529.66364 260.202198,6528.39747 259.393407,6527.61699 L250.768031,6519.29246 C250.367261,6518.90671 249.720021,6518.90172 249.314072,6519.28247 L249.314072,6519.28247 C248.899839,6519.67121 248.894661,6520.31179 249.302681,6520.70653 L257.196934,6528.32352 C257.601847,6528.71426 257.601847,6529.34685 257.196934,6529.73759 L249.365851,6537.29462 C248.960938,6537.68437 248.960938,6538.31795 249.365851,6538.70769" id="arrow_right-[#ffffff]"> </path> </g> </g> </g> </g>
94
+
95
+ </svg>
96
+ </div> -->
71
97
  </ul>
72
98
  </div>
73
99
  </div>
@@ -17,14 +17,15 @@ site.removeJquery != true -%}
17
17
  endif
18
18
  -%}
19
19
  ></script>
20
- {%- endif -%} {%- if page.layout == "appscms-home" -%}
20
+ {%- endif -%}
21
+ {%- if page.layout == "appscms-home" or page.layout == "contenttool-home" -%}
21
22
  <script
22
23
  defer
23
24
  src="/assets/js/appscms-search.js"
24
25
  crossorigin="anonymous"
25
26
  ></script>
26
-
27
27
  {%- endif -%}
28
+
28
29
  <script
29
30
  defer
30
31
  src="/assets/js/appscms-theme.js"
data/assets/.DS_Store CHANGED
Binary file
@@ -144,6 +144,7 @@ body {
144
144
  padding: 25px 50px 50px 50px;
145
145
  display: none;
146
146
  background-color: var(--white-color);
147
+
147
148
  }
148
149
 
149
150
  .list-item-dropdown-heading {
@@ -96,8 +96,12 @@ body {
96
96
  .appscms-toolbar-list
97
97
  .appscms-toolbar-list-item:hover
98
98
  > .list-item-dropdown {
99
- display: block;
99
+ visibility: visible;
100
+ height: inherit;
101
+ height: 500px;
102
+ white-space: nowrap;
100
103
  opacity: 1;
104
+ max-height: fit-content !important;
101
105
  }
102
106
 
103
107
  .appscms-toolbar .appscms-toolbar-list .appscms-toolbar-list-item:hover {
@@ -139,7 +143,9 @@ body {
139
143
  border-bottom-left-radius: 10px;
140
144
  border-bottom-right-radius: 10px;
141
145
  padding: 25px 50px 50px 50px;
142
- display: none;
146
+ transition: all 0.4s linear;
147
+ visibility: hidden;
148
+ height: 0px;
143
149
  background-color: var(--white-color);
144
150
  }
145
151
 
@@ -1955,3 +1961,15 @@ body {
1955
1961
  white-space: nowrap;
1956
1962
  }
1957
1963
  }
1964
+
1965
+ .scroll-left svg,.scroll-right svg{
1966
+ cursor: pointer;
1967
+ position: absolute;
1968
+ top: 8px;
1969
+ }
1970
+ .scroll-left svg{
1971
+ left: -10px;
1972
+ }
1973
+ .scroll-right svg{
1974
+ right: -10px;
1975
+ }
@@ -0,0 +1,7 @@
1
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+
3
+ <svg width="800px" height="800px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000">
4
+
5
+
6
+
7
+
@@ -0,0 +1,7 @@
1
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+
3
+ <svg width="800px" height="800px" viewBox="-4.5 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000">
4
+
5
+
6
+
7
+
@@ -127,3 +127,45 @@ if ("{{ site.removeBootstrapJs }}" === "true") {
127
127
  });
128
128
  }
129
129
  }
130
+
131
+ // document.querySelector('.scroll-left').addEventListener('click', function() {
132
+ // const toolbarList = document.querySelector('.appscms-toolbar-list');
133
+ // toolbarList.scrollBy({
134
+ // left: -100,
135
+ // behavior: 'smooth'
136
+ // });
137
+ // updateButtonStatus(toolbarList);
138
+ // });
139
+
140
+ // document.querySelector('.scroll-right').addEventListener('click', function() {
141
+ // const toolbarList = document.querySelector('.appscms-toolbar-list');
142
+ // toolbarList.scrollBy({
143
+ // left: 100,
144
+ // behavior: 'smooth'
145
+ // });
146
+ // updateButtonStatus(toolbarList);
147
+ // });
148
+
149
+ // function updateButtonStatus(toolbarList) {
150
+ // const scrollLeft = toolbarList.scrollLeft;
151
+ // const scrollWidth = toolbarList.scrollWidth;
152
+ // const clientWidth = toolbarList.clientWidth;
153
+
154
+ // const scrollRightButton = document.querySelector('.scroll-right');
155
+ // const scrollLeftButton = document.querySelector('.scroll-left');
156
+
157
+ // if (scrollLeft === 0) {
158
+ // scrollLeftButton.disabled = true;
159
+ // } else {
160
+ // scrollLeftButton.disabled = false;
161
+ // }
162
+
163
+ // if (scrollLeft + clientWidth >= scrollWidth) {
164
+ // scrollRightButton.disabled = true;
165
+ // } else {
166
+ // scrollRightButton.disabled = false;
167
+ // }
168
+ // }
169
+
170
+ // // Initial button status update
171
+ // updateButtonStatus(document.querySelector('.appscms-toolbar-list'));
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: 4.3.8
4
+ version: 4.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-15 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -420,6 +420,8 @@ files:
420
420
  - assets/images/add.svg
421
421
  - assets/images/addimg.svg
422
422
  - assets/images/alka.webp
423
+ - assets/images/arrow-left.svg
424
+ - assets/images/arrow-right.svg
423
425
  - assets/images/audio-upload.svg
424
426
  - assets/images/avatar.jpeg
425
427
  - assets/images/avatar.png