Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_wcms_gesso
Commits
91e80704
Commit
91e80704
authored
Oct 19, 2021
by
Martin Leblanc
Browse files
ISTWCMS-5035: additional css for catalog search and landing page
parent
0fc55efb
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
21 deletions
+29
-21
js/component_scripts.min.js
js/component_scripts.min.js
+17
-17
source/_patterns/00-config/_design-tokens.artifact.scss
source/_patterns/00-config/_design-tokens.artifact.scss
+1
-1
source/_patterns/04-components/card/card.twig
source/_patterns/04-components/card/card.twig
+3
-2
source/_patterns/04-components/catalog/_catalog.scss
source/_patterns/04-components/catalog/_catalog.scss
+8
-1
No files found.
js/component_scripts.min.js
View file @
91e80704
/**
* @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
*/
...
...
@@ -373,23 +390,6 @@ 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 @
91e80704
source/_patterns/04-components/card/card.twig
View file @
91e80704
...
...
@@ -147,7 +147,8 @@
{%
block
details_content
%}
{%
if
link_profile
%}
<div
class=
"card__link-profile"
>
Link to Profile:
<br
/>
<div
class=
"card__link-profile"
>
<span
class=
"uw-label"
>
Link to Profile:
</span>
<a
href=
"
{{
link_profile.uri
}}
"
>
{{
link_profile.title
}}
</a>
</div>
{%
endif
%}
...
...
@@ -301,7 +302,7 @@
{%
block
details_content
%}
{%
for
key
,
tag
in
catalog_tags
%}
<div
class=
"card__catalog-tags card__tags-
{{
key
}}
"
>
<s
trong
>
{{
key
}}
:
</s
trong><br
/
>
<s
pan
class=
"uw-label"
>
{{
key
}}
:
</s
pan
>
{%
include
"@components/tag-list/tag-list.twig"
with
{
items
:
tag
}
%}
...
...
source/_patterns/04-components/catalog/_catalog.scss
View file @
91e80704
...
...
@@ -40,6 +40,7 @@
}
h2
{
font-size
:
gesso-font-size
(
3
);
margin
:
gesso-spacing
(
md
)
0
gesso-spacing
(
xs
)
0
;
span
{
font-family
:gesso-font-family
(
primary
)
;
font-size
:
gesso-font-size
(
0
);
...
...
@@ -86,6 +87,7 @@
}
h2
{
font-size
:
gesso-font-size
(
3
);
margin
:
gesso-spacing
(
md
)
0
gesso-spacing
(
xs
)
0
;
span
{
font-family
:gesso-font-family
(
primary
)
;
font-size
:
gesso-font-size
(
0
);
...
...
@@ -93,7 +95,12 @@
font-size
:
gesso-font-size
(
1
);
}
}
}
.views-field-title
{
@extend
%hN
;
@include
display-text-style
(
h2
);
font-size
:
gesso-font-size
(
3
);
margin
:
gesso-spacing
(
md
)
0
gesso-spacing
(
xs
)
0
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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