summaryrefslogtreecommitdiff
path: root/docs/src/components/Header/LanguageSelect.css
blob: f7b42c1e70539784c657c41b8d79a88ed31d6d99 (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.language-select {
  flex-grow: 1;
  width: 48px;
  box-sizing: border-box;
  margin: 0;
  padding: 0.33em 2rem;
  overflow: visible;
  font-weight: 500;
  font-size: 1rem;
  font-family: inherit;
  line-height: inherit;
  background-color: var(--theme-bg);
  border-color: var(--theme-text-lighter);
  color: var(--theme-text-light);
  border-style: solid;
  border-width: 1px;
  border-radius: 0.25rem;
  outline: 0;
  cursor: pointer;
  transition-timing-function: ease-out;
  transition-duration: 0.2s;
  transition-property: border-color, color;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: 97%;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  -webkit-font-smoothing: antialiased;
  -webkit-appearance: none;
}
.language-select-wrapper .language-select:hover,
.language-select-wrapper .language-select:focus {
  color: var(--theme-text);
  border-color: var(--theme-text-light);
}
.language-select-wrapper {
  color: var(--theme-text-light);
  position: relative;
}
.language-select-wrapper > svg {
  position: absolute;
  top: 8px;
  left: 8px;
  pointer-events: none;
}

@media (min-width: 50em) {
  .language-select {
    width: 100%;
  }
}