-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6345 from OCHA-DAP/dev
dev into prod for landing pages
- Loading branch information
Showing
26 changed files
with
348 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/bem.blocks/table.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
.bem-table__thead { | ||
font-weight: 600; | ||
font-size: 18px; | ||
line-height: 24px; | ||
color: #000; | ||
} | ||
.bem-table__tbody { | ||
font-size: 18px; | ||
line-height: 24px; | ||
color: #000; | ||
} | ||
.bem-table__cell a { | ||
font-family: 'Inter', sans-serif; | ||
font-size: 16px; | ||
font-weight: 600; | ||
color: #007CE1; | ||
} | ||
.bem-table_state_bordered { | ||
border: 1px solid #E1E4ED; | ||
border-radius: 8px; | ||
box-shadow: 0 1px 4px 0 #D1D5DB; | ||
} | ||
@media (max-width: 768px) { | ||
.bem-table_state_bordered { | ||
border: 0; | ||
border-radius: 0; | ||
box-shadow: unset; | ||
} | ||
} | ||
.bem-table_state_bordered .bem-table__thead .bem-table__row .row > *, | ||
.bem-table_state_bordered .bem-table__tbody .bem-table__row .row > * { | ||
border-bottom: 1px solid #E1E4ED; | ||
border-right: 1px solid #E1E4ED; | ||
} | ||
.bem-table_state_bordered .bem-table__thead .bem-table__row .row > *:last-child, | ||
.bem-table_state_bordered .bem-table__tbody .bem-table__row .row > *:last-child { | ||
border-right: 0; | ||
} | ||
@media (max-width: 768px) { | ||
.bem-table_state_bordered .bem-table__thead .bem-table__row .row > *, | ||
.bem-table_state_bordered .bem-table__tbody .bem-table__row .row > * { | ||
border-bottom: 0; | ||
border-right: 0; | ||
} | ||
} | ||
@media (max-width: 768px) { | ||
.bem-table_state_bordered .bem-table__thead .bem-table__row, | ||
.bem-table_state_bordered .bem-table__tbody .bem-table__row { | ||
border: 1px solid #E1E4ED; | ||
border-radius: 8px; | ||
box-shadow: 0 1px 4px 0 #D1D5DB; | ||
padding: 28px 32px; | ||
} | ||
} | ||
.bem-table_state_bordered .bem-table__thead.bem-table__tbody .bem-table__row:last-child .row > *, | ||
.bem-table_state_bordered .bem-table__tbody.bem-table__tbody .bem-table__row:last-child .row > * { | ||
border-bottom: 0; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+5.56 KB
.../ckanext/hdx_theme/hdx-styles/src/common/images/landing_pages/logo_hdx_hapi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.46 KB
(79%)
...anext/hdx_theme/hdx-styles/src/common/images/landing_pages/logo_hdx_signals.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+14 KB
...ckanext/hdx_theme/hdx-styles/src/common/images/landing_pages/partners/fsnwg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.01 KB
...e/ckanext/hdx_theme/hdx-styles/src/common/images/landing_pages/partners/fts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/bem.blocks/table.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
@import "bem_variables"; | ||
|
||
.bem-table { | ||
|
||
&__thead { | ||
font-weight: 600; | ||
font-size: 18px; | ||
line-height: 24px; | ||
color: @black-color; | ||
} | ||
|
||
&__tbody { | ||
font-size: 18px; | ||
line-height: 24px; | ||
color: @black-color; | ||
} | ||
|
||
&__cell { | ||
|
||
a { | ||
font-family: 'Inter', sans-serif; | ||
font-size: 16px; | ||
font-weight: 600; | ||
color: @blue-light-color; | ||
} | ||
} | ||
|
||
&_state_bordered { | ||
border: 1px solid @grey-extra-light-color; | ||
border-radius: 8px; | ||
box-shadow: 0 1px 4px 0 @grey-light-color; | ||
|
||
@media (max-width: @breakpoint-md) { | ||
border: 0; | ||
border-radius: 0; | ||
box-shadow: unset; | ||
} | ||
|
||
.bem-table__thead, | ||
.bem-table__tbody { | ||
.bem-table__row { | ||
.row { | ||
> * { | ||
border-bottom: 1px solid @grey-extra-light-color; | ||
border-right: 1px solid @grey-extra-light-color; | ||
|
||
&:last-child { | ||
border-right: 0; | ||
} | ||
|
||
@media (max-width: @breakpoint-md) { | ||
border-bottom: 0; | ||
border-right: 0; | ||
} | ||
|
||
} | ||
} | ||
|
||
@media (max-width: @breakpoint-md) { | ||
border: 1px solid @grey-extra-light-color; | ||
border-radius: 8px; | ||
box-shadow: 0 1px 4px 0 @grey-light-color; | ||
padding: 28px 32px; | ||
} | ||
} | ||
|
||
&.bem-table__tbody { | ||
.bem-table__row { | ||
&:last-child { | ||
.row { | ||
> * { | ||
border-bottom: 0; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.