-
Notifications
You must be signed in to change notification settings - Fork 8
/
form-fields.scss
110 lines (87 loc) 路 1.35 KB
/
form-fields.scss
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
@import '@3yourmind/kotti-ui/dist/variables.scss';
pre {
tab-size: 2;
}
li {
list-style: none;
}
h3 {
border-bottom: 0;
}
.wrapper {
display: flex;
flex-direction: column;
margin: 0;
margin-bottom: 1.5em;
background-color: var(--ui-01);
border: 1px solid var(--ui-02);
border-radius: var(--border-radius);
@media (max-width: #{$size-lg - 1px}) {
flex-direction: column;
> *:not(:first-child) {
border-top: 1px solid var(--ui-02);
}
}
@media (min-width: $size-lg) {
flex-direction: row;
> * {
flex: 1;
}
> *:not(:last-child) {
border-right: 1px solid var(--ui-02);
}
}
> * {
padding: 1.5em;
margin: 0 !important;
}
}
.field-row {
display: flex;
> * {
flex: 1;
}
> *:not(:first-child) {
margin-left: 10px;
}
}
.overview {
display: flex;
margin-bottom: 20px;
@media (max-width: #{$size-lg - 1px}) {
flex-direction: column;
> *:not(:first-child) {
margin-top: 5px;
}
}
@media (min-width: $size-lg) {
flex-direction: row;
> * {
flex: 1;
flex-basis: 0;
}
&__code > pre {
max-width: 400px;
}
&__component {
> * {
margin-right: 20px;
}
}
}
&__component {
display: flex;
flex-direction: column;
justify-content: space-between;
&__value {
span {
font-family: monospace;
}
}
}
&__code > pre {
height: 150px;
margin: 0;
overflow: scroll;
}
}