card-mod-bar_and_box 0.19.0 → 0.19.1
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/assets/style/bar.scss +6 -1
- data/set/all/bar_menu.haml +10 -9
- metadata +5 -6
- data/data/files/mod_bar_and_box/script/asset_output/file.js +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dfcf1c6baf6f30828da5b977786fd5df958daa2793cf662fa3e19fb5a62e882
|
4
|
+
data.tar.gz: e9d112e1e01262d938c7b861cdf184aefbe07c826ef10c2df316fc7ed010afd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d942b0e85efc48d56df5b23c986919cf13835b81b81f709805b582a8306eb66b364a5474eba3cfe676d9ed0880ca6b8c11ae51c7ebeb09066b7c2f3bd0c96b7
|
7
|
+
data.tar.gz: 48253af96c76289563091b6499528cab7d3fec183c464eb3cb1d1172c47ad5d6283e44ba4f4a409f025659df3803c7cf504ebcb492196ebb5d70af3e768a29a0
|
data/assets/style/bar.scss
CHANGED
@@ -87,6 +87,11 @@ $bar-transition: $accordion-transition !default;
|
|
87
87
|
width: calc(100% - 3em);
|
88
88
|
}
|
89
89
|
|
90
|
+
|
91
|
+
.bar-menu-dropdown.dropdown {
|
92
|
+
position: absolute;
|
93
|
+
}
|
94
|
+
|
90
95
|
.bar-menu-button {
|
91
96
|
padding: 0.25em;
|
92
97
|
// border-radius: 5px;
|
@@ -116,7 +121,7 @@ $bar-transition: $accordion-transition !default;
|
|
116
121
|
display: none;
|
117
122
|
}
|
118
123
|
|
119
|
-
.
|
124
|
+
.bar:hover .bar-menu-button {
|
120
125
|
display: flex;
|
121
126
|
}
|
122
127
|
}
|
data/set/all/bar_menu.haml
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
.bar-menu.
|
2
|
-
.bar-menu-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
-
|
8
|
-
.
|
9
|
-
|
1
|
+
.bar-menu._over-card-link._card-link-clickable
|
2
|
+
.bar-menu-dropdown.dropdown
|
3
|
+
.bar-menu-button.btn.dropdown-toggle{ "aria-expanded": "false",
|
4
|
+
"aria-haspopup": "true",
|
5
|
+
"data-bs-toggle": "dropdown" }
|
6
|
+
= icon_tag :bar_menu
|
7
|
+
.bar-menu-list.dropdown-menu{ "aria-labelledby": ".bar-menu-button" }
|
8
|
+
- bar_menu_items.each do |item|
|
9
|
+
.dropdown-item
|
10
|
+
= item
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-bar_and_box
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -17,28 +17,28 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.109.
|
20
|
+
version: 1.109.1
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.109.
|
27
|
+
version: 1.109.1
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: card-mod-style
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.19.
|
34
|
+
version: 0.19.1
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.19.
|
41
|
+
version: 0.19.1
|
42
42
|
description: ''
|
43
43
|
email:
|
44
44
|
- info@decko.org
|
@@ -54,7 +54,6 @@ files:
|
|
54
54
|
- assets/style/box.scss
|
55
55
|
- assets/style/image_box.scss
|
56
56
|
- config/admin.yml
|
57
|
-
- data/files/mod_bar_and_box/script/asset_output/file.js
|
58
57
|
- set/abstract/media.rb
|
59
58
|
- set/abstract/media/media_snippet.haml
|
60
59
|
- set/all/bar.haml
|
@@ -1,4 +0,0 @@
|
|
1
|
-
// bar_and_box.js.coffee
|
2
|
-
(function(){var a,n;$(function(){return $(document).on("click","._card-link",function(t){var r;return"on"===(r=$(this)).data("skip")?r.data("skip",null):n(t)?window.open(a(r),"_tab_"+Math.floor(1e3*Math.random())):r.closest("._card-link-modal")[0]?r.find("._modal-page-link").trigger("click"):window.location=a(r)}),$("body").on("shown.bs.collapse",".bar > .collapse",function(){var a;return(a=$(this).find("> .d0-card-body > .card-slot-stub")).slotReload(a.data("stubUrl")),a.removeClass("card-slot-stub")})}),n=function(a){return a.metaKey},a=function(a){return decko.path(a.data("cardLinkUrl")||a.data("cardLinkName"))},decko.slot.ready(function(a){return a.find("._card-link a, ._card-link ._card-link-clickable").on("click",function(a){var n;return(n=$(this)).hasClass("_over-card-link")||n.closest("._over-card-link")[0]?n.closest("._card-link").data("skip","on"):a.preventDefault()})})}).call(this);
|
3
|
-
// click_select.js.coffee
|
4
|
-
(function(){$(window).ready(function(){return $("body").on("click","._click-multiselect-editor ._select-item",function(e){return $(this).closest("._select-item").toggleClass("selected"),e.stopPropagation()}),$("body").on("click","._click-select-editor ._select-item",function(e){return $(this).closest("._click-select-editor").find(".selected").removeClass("selected"),$(this).closest("._select-item").addClass("selected"),e.stopPropagation()})})}).call(this);
|