Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_wcms_gesso
Commits
195c8a5d
Commit
195c8a5d
authored
Sep 28, 2021
by
Kevin Paxman
Browse files
ISTWCMS-5061: add files rebuilt after rebase
parent
2869dbc1
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
css/styles.css
View file @
195c8a5d
This diff is collapsed.
Click to expand it.
css/styles.min.css
View file @
195c8a5d
This diff is collapsed.
Click to expand it.
js/component_scripts.min.js
View file @
195c8a5d
/**
* @file
* Ckeditor Modal.
*/
(
function
(
$
,
Drupal
)
{
if
(
$
.
ui
&&
$
.
ui
.
dialog
)
{
orig_allowInteraction
=
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
;
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
=
function
(
event
)
{
if
(
$
(
event
.
target
).
closest
(
'
.cke_dialog
'
).
length
)
{
return
true
;
}
return
orig_allowInteraction
.
apply
(
this
,
arguments
);
};
}
})(
jQuery
,
Drupal
);
/**
* @file
*/
...
...
@@ -64,58 +47,6 @@
* @file
*/
/**
* @file
*/
(
function
(
$
,
Drupal
)
{
Drupal
.
behaviors
.
factfigure
=
{
attach
:
function
(
context
,
settings
)
{
$
(
document
).
ready
(
function
()
{
// Step through each FF on the page.
$
(
'
.uw-ff
'
).
each
(
function
()
{
var
result
=
$
(
this
).
find
(
'
.uw-ff__has-carousel-settings
'
).
length
;
// Get the id to reference the individual FF.
// Need this to ensure that if more than one FF on the page,
// that all FFs get the carousel added.
var
id
=
'
#uw-ff-
'
+
$
(
this
).
data
(
'
id
'
);
// Get the number of items for the carousel, if any.
var
num_of_items
=
$
(
id
).
data
(
'
num-per-carousel
'
)
!==
''
?
$
(
this
).
data
(
'
num-per-carousel
'
)
:
3
;
// Add the carousel to the FF using the id.
$
(
id
+
'
.owl-carousel
'
).
owlCarousel
({
margin
:
10
,
nav
:
true
,
navContainerClass
:
'
uw-owl-nav
'
,
navText
:[
'
‹ prev
'
,
'
next ›
'
],
responsiveClass
:
true
,
responsive
:
{
0
:
{
items
:
1
},
600
:
{
items
:
num_of_items
<=
2
?
(
num_of_items
-
1
>
0
)
?
num_of_items
-
1
:
1
:
2
},
1000
:
{
items
:
num_of_items
}
}
});
});
});
}
};
})(
jQuery
,
Drupal
);
/**
* @file
*/
...
...
@@ -186,6 +117,58 @@
};
})(
jQuery
,
Drupal
);
/**
* @file
*/
(
function
(
$
,
Drupal
)
{
Drupal
.
behaviors
.
factfigure
=
{
attach
:
function
(
context
,
settings
)
{
$
(
document
).
ready
(
function
()
{
// Step through each FF on the page.
$
(
'
.uw-ff
'
).
each
(
function
()
{
var
result
=
$
(
this
).
find
(
'
.uw-ff__has-carousel-settings
'
).
length
;
// Get the id to reference the individual FF.
// Need this to ensure that if more than one FF on the page,
// that all FFs get the carousel added.
var
id
=
'
#uw-ff-
'
+
$
(
this
).
data
(
'
id
'
);
// Get the number of items for the carousel, if any.
var
num_of_items
=
$
(
id
).
data
(
'
num-per-carousel
'
)
!==
''
?
$
(
this
).
data
(
'
num-per-carousel
'
)
:
3
;
// Add the carousel to the FF using the id.
$
(
id
+
'
.owl-carousel
'
).
owlCarousel
({
margin
:
10
,
nav
:
true
,
navContainerClass
:
'
uw-owl-nav
'
,
navText
:[
'
‹ prev
'
,
'
next ›
'
],
responsiveClass
:
true
,
responsive
:
{
0
:
{
items
:
1
},
600
:
{
items
:
num_of_items
<=
2
?
(
num_of_items
-
1
>
0
)
?
num_of_items
-
1
:
1
:
2
},
1000
:
{
items
:
num_of_items
}
}
});
});
});
}
};
})(
jQuery
,
Drupal
);
/**
* @file
*/
...
...
@@ -390,6 +373,23 @@ else {
};
})(
jQuery
);
/**
* @file
* Ckeditor Modal.
*/
(
function
(
$
,
Drupal
)
{
if
(
$
.
ui
&&
$
.
ui
.
dialog
)
{
orig_allowInteraction
=
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
;
$
.
ui
.
dialog
.
prototype
.
_allowInteraction
=
function
(
event
)
{
if
(
$
(
event
.
target
).
closest
(
'
.cke_dialog
'
).
length
)
{
return
true
;
}
return
orig_allowInteraction
.
apply
(
this
,
arguments
);
};
}
})(
jQuery
,
Drupal
);
/**
* @file
*/
...
...
source/_patterns/00-config/_design-tokens.artifact.scss
View file @
195c8a5d
...
...
@@ -503,4 +503,4 @@ $gesso: (
xxl
:
96px
,
)
,
gutter-width
:
40px
,
);
);
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment