Browse Source

Adjust some card variables

pull/2403/head
jlukic 9 years ago
parent
commit
e5186d553b
2 changed files with 5 additions and 4 deletions
  1. 2
      src/definitions/views/card.less
  2. 7
      src/themes/default/views/card.variables

2
src/definitions/views/card.less

@ -394,6 +394,7 @@
max-width: 100%;
min-height: 0em !important;
flex-grow: 0;
border-top: @extraDivider !important;
position: @extraPosition;
background: @extraBackground;
width: @extraWidth;
@ -404,7 +405,6 @@
color: @extraColor;
box-shadow: @extraBoxShadow;
transition: @extraTransition;
border-top: @extraDivider;
}
.ui.cards > .card > .extra a:not(.ui),
.ui.card > .extra a:not(.ui) {

7
src/themes/default/views/card.variables

@ -11,6 +11,7 @@
@shadowBoxShadow: 0px @shadowDistance 3px 0px @solidBorderColor;
/* Card */
@fontFamily: @pageFont;
@display: flex;
@background: @white;
@borderRadius: @defaultBorderRadius;
@ -66,7 +67,7 @@
@contentBorderRadius: 0em;
@contentBoxShadow: none;
@repeatedContentBorder: 1px solid @borderColor;
@repeatedContentBorder: @borderWidth solid @internalBorderColor;
/* Header */
@headerMargin: 0em;
@ -76,7 +77,7 @@
@headerColor: @darkTextColor;
/* Metadata */
@metaFontSize: @relativeSmall;
@metaFontSize: @relativeMedium;
@metaSpacing: 0.3em;
@metaColor: @lightTextColor;
@ -148,7 +149,7 @@
/* Link */
@linkHoverBackground: @white;
@linkHoverBorder: none;
@linkHoverBorder: @border;
@linkHoverZIndex: 5;
@linkHoverRaiseDistance: 3px;
@linkHoverTransform: translateY(-@linkHoverRaiseDistance);

Loading…
Cancel
Save