/
style.scss
116 lines (100 loc) · 2.04 KB
/
style.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
111
112
113
114
115
116
.edit-site-list-header {
position: relative;
align-items: center;
background-color: $white;
display: flex;
height: $header-height;
box-sizing: border-box;
width: 100%;
justify-content: flex-end;
padding-right: $grid-unit-20;
body.is-fullscreen-mode & {
padding-left: 60px;
transition: padding-left 20ms linear;
transition-delay: 80ms;
@include reduce-motion("transition");
}
.edit-site-list-header__title {
position: absolute;
left: 0;
width: 100%;
text-align: center;
font-size: 20px;
padding: 0;
margin: 0;
}
}
.edit-site-list-header__right {
// Creating a stacking context so that it won't be covered by title.
position: relative;
}
.edit-site {
.edit-site-list {
.interface-interface-skeleton__editor {
min-width: 100%;
@include break-medium() {
min-width: 0;
}
}
.interface-interface-skeleton__content {
background: $white;
}
}
}
.edit-site-list-main {
display: flex;
align-items: center;
justify-content: center;
padding: $grid-unit-20;
@include break-medium() {
padding: $grid-unit * 9;
}
}
.edit-site-list-table {
width: 100%;
border: $border-width solid $gray-200;
border-radius: 2px;
margin: 0;
overflow: hidden;
tr {
display: flex;
align-items: center;
padding: $grid-unit-20;
box-sizing: border-box;
border-top: $border-width solid $gray-100;
margin: 0;
@include break-medium() {
padding: $grid-unit-30 $grid-unit-40;
}
// Template.
.edit-site-list-table-column:nth-child(1) {
width: calc(60% - 36px);
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
a {
display: inline-block;
text-decoration: none;
font-weight: 500;
margin-bottom: $grid-unit-05;
}
}
// Added by.
.edit-site-list-table-column:nth-child(2) {
width: calc(40% - 36px);
}
// Actions.
.edit-site-list-table-column:nth-child(3) {
min-width: $button-size;
flex-shrink: 0;
}
}
tr.edit-site-list-table-head {
font-size: 16px;
font-weight: 600;
text-align: left;
color: #050505;
border-top: none;
}
}