Skip to content

Commit

Permalink
feat(core): ✨ add border to Citizen cards
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Mar 1, 2023
1 parent 9e15415 commit 235a76c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions resources/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@import 'variables.less';

.citizen-card( @border-radius: true ) {
border: 1px solid var( --border-color-base );
background-color: var( --color-surface-1 );
box-shadow: var( --box-shadow-dialog );

Expand Down
8 changes: 4 additions & 4 deletions resources/skins.citizen.search/skins.citizen.search.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
width: 100%;
max-height: ~'calc( var( --header-card-maxheight ) - var( --height-search-bar ) )';
box-sizing: border-box;
padding: 0.75rem 0 0 0;
margin: -0.75rem 0 0 0; // Reset <ol> styles
border-radius: 0 0 var( --border-radius--medium ) var( --border-radius--medium );
border-top: 0; // Reset citizen-card style
margin: 0; // Reset <ol> styles
overscroll-behavior: contain;
//border-radius: 0 0 var( --border-radius--medium ) var( --border-radius--medium );
.citizen-card;
.citizen-card( false );
.citizen-card-hide( 50% 0, Y, false );
// Well this won't be loaded before .citizen-animation-ready anyways
.citizen-card-transition();
Expand Down
1 change: 0 additions & 1 deletion resources/skins.citizen.styles/common/progressbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ html.citizen-loading::after {
top: 0;
}

/* stylelint-disable media-feature-name-no-unknown */
@media ( display-mode: standalone ) {
// Standalone PWA has no loading affordance
// So we provide one
Expand Down
2 changes: 1 addition & 1 deletion skinStyles/ooui/oojs-ui-core.less
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
}

.oo-ui-popupWidget-popup {
border-color: transparent;
border-color: var( --border-color-base );
border-radius: var( --border-radius--medium );
background-color: var( --color-surface-1 );
box-shadow: var( --box-shadow-dialog );
Expand Down

0 comments on commit 235a76c

Please sign in to comment.