Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
card.css 1.63 KiB
:root {
  --card-border-color: #d9d9d9;
  --card-text-color: #777;
  --card-border-radius: 4px;

  --card-scalar-text-lg: 2.4em;
  --card-scalar-text-xl: 3.4em;
}

.Card {
  position: relative;
  border: 1px solid var(--card-border-color);
  border-radius: var(--card-border-radius);
  box-shadow: 0 0 1px rgba(0, 0, 0, .12);
}

.Card-footing {
  font-size: 0.8rem;
  color: #999;
}

.Card-title {
  font-size: 0.8em;
}

.Card-actions {
  position: absolute;
  right: 1em;
  top: 0;
  opacity: 0;
  transition: opacity .3s linear;
  background-color: #fff;
}

.Card:hover .Card-actions {
  opacity: 1;
  transition: opacity .3s linear;
}

.Card-dataSource {
  color: #999;
  padding-top: 0.5em;
}

.Card-defaultBox {
  height: 500px;
}

@media screen and (--breakpoint-min-md) {
    .Card-title {
        font-size: 0.8em;
    }
}

.Card--errored {
  min-height: 80px;
}

@media screen and (--breakpoint-min-lg) {
  .Card-scalarValue {
    font-size: var(--card-scalar-text-lg);
  }
}

@media screen and (--breakpoint-min-xl) {
  .Card-scalarValue {
    font-size: var(--card-scalar-text-xl);
  }
}
.CardSettings-group {
  border-bottom: 1px solid #ddd;
}

.CardSettings-groupTitle {
  padding: 0.5em;
  border-bottom: 1px solid #ddd;
}

.CardSettings-content {
  padding: 2em;
  background-color: #fafafa;
}

.CardSettings {
  border-top: 1px solid #ddd;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .12);
}

.CardSettings-label {
  font-size: 1.15em;
  margin-left: 0.5em;
  color: #666;
}

.CardSettings-colorBlock {
  display: inline-block;
  width: 2.5em;
  height: 2.5em;
  margin-right: 1em;
  border-radius: 4px;
}

.Dash-card .Card {
  overflow-y: scroll;
}