summaryrefslogtreecommitdiffstats
path: root/asset/css/mixin/card.less
diff options
context:
space:
mode:
Diffstat (limited to 'asset/css/mixin/card.less')
-rw-r--r--asset/css/mixin/card.less23
1 files changed, 23 insertions, 0 deletions
diff --git a/asset/css/mixin/card.less b/asset/css/mixin/card.less
new file mode 100644
index 0000000..3823ba2
--- /dev/null
+++ b/asset/css/mixin/card.less
@@ -0,0 +1,23 @@
+.card() {
+ &.card {
+ .rounded-corners(.5em);
+ border: 1px solid var(--card-border-color, @card-border-color);
+
+ .card-header {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+ padding: .5em;
+
+ border-bottom: 1px solid var(--card-border-color, @card-border-color);
+
+ .meta span {
+ font-size: 11/12em;
+ }
+ }
+
+ .card-body {
+ padding: .5em;
+ }
+ }
+}