Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STTNHUB-290] HTML & CSS for the multi-day events display in the list view #655

Merged
merged 63 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
af79f19
[NHUB-351], Advanced search changes and Modal improvements
fritzSF Jul 31, 2023
a2b8502
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Jul 31, 2023
f6b45e5
fix lint
fritzSF Jul 31, 2023
e043db5
fix lint 2
fritzSF Jul 31, 2023
8cec273
small fix
fritzSF Aug 1, 2023
6768141
css fix
fritzSF Aug 1, 2023
3434c13
theme update
fritzSF Aug 1, 2023
d571509
CSS fixes and improvements
fritzSF Aug 4, 2023
8e7ea43
merged with develop
fritzSF Aug 4, 2023
b9dec7b
theme and logo handling improvements
fritzSF Aug 9, 2023
11a9918
merge theme and logo handling improvements with develop
fritzSF Aug 9, 2023
9eb3920
Theme CSS updates and Fixes
fritzSF Aug 11, 2023
a626c81
Theme CSS Fixes
fritzSF Aug 11, 2023
6fa56db
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Aug 15, 2023
83a8a43
UI fixes based on feedback
fritzSF Aug 16, 2023
ac6ac86
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Aug 16, 2023
400fd50
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Aug 17, 2023
161f8bc
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Aug 18, 2023
21a4a60
Misc UI fixes
fritzSF Aug 18, 2023
b02d147
New Coverage icons
fritzSF Aug 22, 2023
94e4f41
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Aug 22, 2023
f13d787
logo.html update
fritzSF Aug 22, 2023
95bde5a
Various layout improvements
fritzSF Aug 25, 2023
5b8b981
Various design improvements
fritzSF Aug 25, 2023
050c8ae
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Aug 25, 2023
2e12005
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Sep 5, 2023
28e5429
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Sep 11, 2023
1dba79b
[CPCN-329] Broken design of Request more seats and Download dialog
fritzSF Sep 11, 2023
678f5cb
[NHUB-394], [CPCN-293], [NHUB-402]
fritzSF Sep 14, 2023
bb29e8a
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Sep 14, 2023
1225cb9
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Sep 19, 2023
9805406
NHUB-410
fritzSF Sep 20, 2023
d6130e3
[NHUB-410] and [NHUB-407]
fritzSF Sep 21, 2023
549e456
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Sep 21, 2023
a16ca3a
merge with develop
fritzSF Sep 21, 2023
24b0049
[NHUB-421] Optimize list items for larger screen sizes
fritzSF Sep 25, 2023
608b193
merged with develop
fritzSF Sep 25, 2023
caa04be
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Sep 27, 2023
6c5d62f
[NHUB-412] Introduce a Planning item icon in the NH Agenda list views
fritzSF Sep 27, 2023
b33a789
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 3, 2023
b6b2757
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 6, 2023
83c628c
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 9, 2023
9426ef2
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 9, 2023
c555b56
Quick filters improvements
fritzSF Oct 12, 2023
98fa566
Quick filter improvements mobile behaviour
fritzSF Oct 12, 2023
8afa99c
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 12, 2023
498bac4
lint fix
fritzSF Oct 12, 2023
b7f64dd
Changed wording for Quick filter reset
fritzSF Oct 13, 2023
3cb5878
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 24, 2023
85b8653
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 24, 2023
fe312f7
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 25, 2023
b26154d
Mobile layout improvements
fritzSF Oct 25, 2023
ae8d3aa
small CSS fix
fritzSF Oct 26, 2023
a591f76
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 26, 2023
e5b831c
Small theme updates & fixes
fritzSF Oct 26, 2023
a7e2f9a
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 26, 2023
1baa527
CSS error fix
fritzSF Oct 26, 2023
360522c
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 26, 2023
85d52ff
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Oct 31, 2023
16bfa18
[NHUB-434] Improve the display of Wire list items with images on Mobi…
fritzSF Nov 1, 2023
c196a7f
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Nov 1, 2023
6d59256
[STTNHUB-290] HTML & CSS for the multi-day events display in the list…
fritzSF Nov 3, 2023
3935889
Merge branch 'develop' of https://github.com/superdesk/newsroom-core …
fritzSF Nov 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 159 additions & 0 deletions assets/styles/article-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -821,3 +821,162 @@ a.wire-articles__versions {
}
}
}

.list-group-header {
display: flex;
flex-grow: 1;
flex-direction: row;
align-items: center;
justify-content: flex-start;
background-color: var(--content-list-item-color-bg);
border-radius: var(--content-list-item-border-radius);
//box-shadow: var(--card-item-shadow);
padding: var(--space--1) var(--space--1-5) var(--space--1) var(--space--1-5);
border: 1px solid var(--color-line--x-light);
margin-inline-end: var(--space--2);
margin-inline-start: var(--space--2);
transition: all .2s ease-out;
min-height: 40px;
gap: var(--space--1);
}

.list-group-header__title {
font-size: var(--text-size--medium);
color: var(--color-text--muted);
font-weight: 600;
display: flex;
align-items: center;
gap: var(--space--1);
.list-group-header__title-info {
font-weight: 400;
}
}

.list-group-header__coverage-group {
display: flex;
align-items: center;
gap: var(--space--1);
padding-inline-end: var(--space--1);
border-inline-end: 1px dotted var(--color-line--medium);
margin-inline-start: var(--space--0-5);
}
.list-group-header__coverage-item {
display: flex;
align-items: center;
gap: var(--space--1);
padding-inline-start: var(--space--1);
border-inline-start: 1px dotted var(--color-line--medium);
.list-group-header__coverage-number {
display: inline-flex;
font-size: var(--text-size--medium);
font-weight: 600;
gap: 2px;
&::before,
&::after {
font-weight: 300;
color: var(--color-text--muted);
}
&::before {
content: '(';
}
&::after {
content: ')';
}
}
}

.multiday-label {
--colored-border-width: 10px;
--multiday-label-height: 20px;
display: inline-flex;
align-items: center;
background-color: var(--multiday-label-color-bg);
color: var(--multiday-label-color-fg);
font-size: var(--multiday-label-font-size);
position: relative;
line-height: 1;
height: var(--multiday-label-height);
text-transform: uppercase;
//border-radius: var(--border-radius--xs);
padding-inline: var(--space--1);
white-space: nowrap;
gap: var(--space--0-5);
.multiday-label__label {
font-weight: 300;
letter-spacing: 0.1em;
}
.multiday-label__value {
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 2px;
.multiday-label__value-divide {
font-weight: 400;
}
}
&.multiday-label--end {
border-radius: 0 var(--border-radius--xs) var(--border-radius--xs) 0;
padding-inline-start: var(--space--0-5);
margin-inline-start: var(--colored-border-width);
&:before {
content:"";
position: absolute;
inset-inline-end: 100%;
inset-block-start: 0px;
width: 0px;
height: 0px;
border-block-start: calc(var(--multiday-label-height) / 2) solid transparent;
border-inline-end: var(--colored-border-width) solid var(--multiday-label-color-bg);
border-block-end: calc(var(--multiday-label-height) / 2) solid transparent;
}
}
&.multiday-label--start {
border-radius: var(--border-radius--xs) 0 0 var(--border-radius--xs);
padding-inline-end: var(--space--0-5);
margin-inline-end: var(--colored-border-width);
&:after {
z-index: 2;
content:"";
position: absolute;
inset-inline-start: 100%;
inset-block-start: 0px;
width: 0px;
height: 0px;
border-block-start: calc(var(--multiday-label-height) / 2) solid transparent;
border-inline-start: var(--colored-border-width) solid var(--multiday-label-color-bg);
border-block-end: calc(var(--multiday-label-height) / 2) solid transparent;
}
}
&.multiday-label--mid {
border-radius: 0;
padding-inline: var(--space--0-5);
margin-inline: var(--colored-border-width);
&:before {
content:"";
position: absolute;
inset-inline-end: 100%;
inset-block-start: 0px;
width: 0px;
height: 0px;
border-block-start: calc(var(--multiday-label-height) / 2) solid transparent;
border-inline-end: var(--colored-border-width) solid var(--multiday-label-color-bg);
border-block-end: calc(var(--multiday-label-height) / 2) solid transparent;
}
&:after {
z-index: 2;
content:"";
position: absolute;
inset-inline-start: 100%;
inset-block-start: 0px;
width: 0px;
height: 0px;
border-block-start: calc(var(--multiday-label-height) / 2) solid transparent;
border-inline-start: var(--colored-border-width) solid var(--multiday-label-color-bg);
border-block-end: calc(var(--multiday-label-height) / 2) solid transparent;
}
}
}

.list-group-header__actions {
margin-inline-start: auto;
}
7 changes: 5 additions & 2 deletions assets/styles/custom-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -644,13 +644,16 @@ $container-max-widths: (

// COMPONENT: SEARCH RESULT PANEL (Tags list)
--search-result-tags-list-color-bg: var(--color-background--muted-2);
--search-result-tags-list-shadow-inner: inset 0 1px 2px hsla(0, 0%, 0%, 0.06), inset 0 -1px 2px hsla(0, 0%, 0%, 0.04)
--search-result-tags-list-shadow-inner: inset 0 1px 2px hsla(0, 0%, 0%, 0.06), inset 0 -1px 2px hsla(0, 0%, 0%, 0.04);

// COMPONENT: MULTI-DAY LABEL
--multiday-label-color-bg: hsl(89, 66%, 30%);
--multiday-label-color-fg: hsl(0, 0%, 100%);
--multiday-label-font-size: var(--text-size--small);
}

.line-shadow-end--light {
box-shadow: var(--line-shadow-end--light);
box-shadow: inset ;
}

.btn {
Expand Down
Loading
Loading