summaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/fieldset.module.scss
blob: d1b595604dafdf12de13f38aee68f943a66d78b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.wrapper {
  max-width: 100%;
  padding: 0;
  border: none;

  &--inline {
    display: flex;
    flex-flow: row wrap;
    align-items: center;

    .legend {
      float: left;
      margin-right: var(--spacing-2xs);
    }
  }

  &--stacked {
    .legend {
      padding: 0 var(--spacing-xs) 0 0;
    }
  }
}

.legend {
  color: var(--color-primary-darker);
  font-size: var(--font-size-md);
  font-weight: 600;
}