@concretecms/bedrock 1.1.7 → 1.1.8
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/assets/accordions/js/frontend.js +1 -0
- package/assets/accordions/scss/frontend/_frontend.scss +11 -0
- package/assets/accordions/scss/frontend.scss +4 -0
- package/assets/cms/js/jquery-awesome-rating.js +3 -3
- package/assets/navigation/scss/frontend/_frontend.scss +1 -0
- package/assets/navigation/scss/frontend/_top-navigation-bar.scss +39 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'bootstrap/js/dist/collapse'
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@import 'bootstrap/scss/functions';
|
|
2
|
+
@import 'bootstrap/scss/variables';
|
|
3
|
+
@import 'bootstrap/scss/mixins';
|
|
4
|
+
|
|
5
|
+
// Base styling
|
|
6
|
+
@import 'bootstrap/scss/accordion';
|
|
7
|
+
|
|
8
|
+
// Reset header top margins because if this is used on old bootstrap sometimes a margin is present.
|
|
9
|
+
.accordion-header {
|
|
10
|
+
margin-top: 0;
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// This is an entry point so it just includes the partial that includes everything else.
|
|
2
|
+
// That way if we want to include full support in our theme we just include the partial (rather
|
|
3
|
+
// than including the entry point because I think it's bad practice.)
|
|
4
|
+
@import 'frontend/frontend';
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
var toggleStarEl
|
|
17
17
|
toggleStarEl = function($star, state) {
|
|
18
18
|
if (state) {
|
|
19
|
-
return $star.removeClass('
|
|
19
|
+
return $star.removeClass('far').addClass('fas')
|
|
20
20
|
} else {
|
|
21
|
-
return $star.removeClass('
|
|
21
|
+
return $star.removeClass('fas').addClass('far')
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
return $.fn.awesomeStarRating = function(options) {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
stars = []
|
|
40
40
|
_results = []
|
|
41
41
|
for (i = _i = 1; _i <= 5; i = ++_i) {
|
|
42
|
-
$star = $('<i class="fa"></i>')
|
|
42
|
+
$star = $('<i class="fa-star"></i>')
|
|
43
43
|
toggleStarEl($star, i <= ratingScore)
|
|
44
44
|
$ratingContainer.append($star)
|
|
45
45
|
stars[i] = $star
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import 'bootstrap/scss/functions';
|
|
2
|
+
@import 'bootstrap/scss/variables';
|
|
3
|
+
@import 'bootstrap/scss/mixins';
|
|
4
|
+
|
|
5
|
+
// Navigation bar styling
|
|
6
|
+
div.ccm-block-top-navigation-bar {
|
|
7
|
+
|
|
8
|
+
@import 'bootstrap/scss/navbar';
|
|
9
|
+
@import 'bootstrap/scss/forms/input-group';
|
|
10
|
+
|
|
11
|
+
.navbar {
|
|
12
|
+
.navbar-nav {
|
|
13
|
+
order: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Logo/brand
|
|
18
|
+
.navbar-brand {
|
|
19
|
+
// If this is being included in a BS4 theme we need to reset some parameters
|
|
20
|
+
float: none;
|
|
21
|
+
height: auto;
|
|
22
|
+
|
|
23
|
+
img {
|
|
24
|
+
max-height: 38px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Search
|
|
29
|
+
form {
|
|
30
|
+
display: flex;
|
|
31
|
+
margin-left: auto;
|
|
32
|
+
order: 1;
|
|
33
|
+
|
|
34
|
+
.btn {
|
|
35
|
+
background: none;
|
|
36
|
+
padding: $btn-padding-x-sm $btn-padding-y-sm;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@concretecms/bedrock",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "The asset framework and dependencies for Concrete CMS.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"selectize-bootstrap4-theme": "^2.0.2",
|
|
47
47
|
"spectrum-colorpicker": "^1.8.1",
|
|
48
48
|
"tristate": "^1.2.0",
|
|
49
|
-
"underscore": "^1.
|
|
49
|
+
"underscore": "^1.13",
|
|
50
50
|
"v-calendar": "^1.0.8",
|
|
51
51
|
"vue": "^2.6.12",
|
|
52
52
|
"vue-js-toggle-button": "^1.3.3",
|