mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
made card corner radius smaller
This commit is contained in:
parent
0c5f3be504
commit
1b427335aa
@ -1,6 +1,8 @@
|
|||||||
|
$border-radius: $border-radius-large;
|
||||||
|
|
||||||
.ds-card {
|
.ds-card {
|
||||||
@include reset;
|
@include reset;
|
||||||
@include border-radius($border-radius-large);
|
@include border-radius($border-radius);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color: $background-color-base;
|
background-color: $background-color-base;
|
||||||
@ -27,7 +29,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ds-card-image {
|
.ds-card-image {
|
||||||
@include border-radius($border-radius-large, 'top');
|
@include border-radius($border-radius, 'top');
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@ -45,7 +47,7 @@
|
|||||||
|
|
||||||
.ds-card-header {
|
.ds-card-header {
|
||||||
@include reset;
|
@include reset;
|
||||||
@include border-radius($border-radius-large, 'top');
|
@include border-radius($border-radius, 'top');
|
||||||
padding: $space-base $space-base $space-xxx-small $space-base;
|
padding: $space-base $space-base $space-xxx-small $space-base;
|
||||||
|
|
||||||
.ds-card-has-image & {
|
.ds-card-has-image & {
|
||||||
@ -66,6 +68,9 @@
|
|||||||
.ds-card-footer {
|
.ds-card-footer {
|
||||||
@include reset;
|
@include reset;
|
||||||
padding: $space-base;
|
padding: $space-base;
|
||||||
|
|
||||||
|
border-radius: 0 0 $border-radius $border-radius;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Color variants
|
// Color variants
|
||||||
|
|||||||
@ -4,8 +4,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
props:
|
props:
|
||||||
- name: border-radius-large
|
- name: border-radius-x-large
|
||||||
value: "8px"
|
value: "8px"
|
||||||
|
- name: border-radius-large
|
||||||
|
value: "6px"
|
||||||
- name: border-radius-base
|
- name: border-radius-base
|
||||||
value: "3px"
|
value: "3px"
|
||||||
- name: border-radius-rounded
|
- name: border-radius-rounded
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user