File tree 14 files changed +23
-23
lines changed
14 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const CollapsableHeader = styled.div`
74
74
font-size: 0.875rem;
75
75
font-weight: 500;
76
76
line-height: 1.5rem;
77
- border-bottom: var(--border-1- thin);
77
+ border-bottom: var(--border-thin-1 );
78
78
cursor: pointer;
79
79
80
80
svg path {
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ const NormalItem = styled.div<{ state: TaskStatus }>`
281
281
` ;
282
282
283
283
const BaseContainerStyle = css `
284
- border: var(--border-2- thin);
284
+ border: var(--border-thin-2 );
285
285
background: #f6f6f6;
286
286
display: flex;
287
287
border-radius: var(--radius-secondary);
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ const TimezoneSelectorContainer = styled.div`
144
144
145
145
const HelpMenuTitle = styled . div `
146
146
align-items: center;
147
- border-bottom: var(--border-1- thin);
147
+ border-bottom: var(--border-thin-1 );
148
148
display: flex;
149
149
justify-content: space-between;
150
150
margin: 0 -0.5rem 0.5rem;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ const TabsContainer = styled.div`
83
83
84
84
export const TabsHeading = styled . div < { widen ?: boolean } > `
85
85
display: flex;
86
- border-bottom: var(--border-1- medium);
86
+ border-bottom: var(--border-medium-1 );
87
87
margin: ${ ( p ) => ( p . widen ? '0 calc(var(--layout-page-padding-y) * -1)' : 'initial' ) } ;
88
88
padding: ${ ( p ) => ( p . widen ? '0 var(--layout-page-padding-x)' : 'initial' ) } ;
89
89
color: var(--color-text-secondary);
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ export function getMode(settings: TaskSettingsState): TaskListMode {
179
179
//
180
180
181
181
const TaskListingContainer = styled . div `
182
- border-bottom: var(--border-1- medium);
182
+ border-bottom: var(--border-medium-1 );
183
183
font-size: 0.875rem;
184
184
position: relative;
185
185
` ;
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ const MiniTimelineActiveSection = styled.div<{ dragging: boolean }>`
62
62
position: relative;
63
63
height: 3.0625rem;
64
64
background var(--color-bg-primary);
65
- border-left: var(--border-1- thin);
66
- border-right: var(--border-1- thin);
65
+ border-left: var(--border-thin-1 );
66
+ border-right: var(--border-thin-1 );
67
67
border-bottom: 0.5rem solid var(--color-border-1);
68
68
cursor: grab;
69
69
transition: ${ ( p ) => ( p . dragging ? 'none' : '0.5s left, 0.5s width' ) } ;
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ const MinimapFooterContent = styled.div`
187
187
position: relative;
188
188
flex: 1;
189
189
background: var(--color-bg-secondary);
190
- border-bottom: var(--border-1- thin);
190
+ border-bottom: var(--border-thin-1 );
191
191
height: 3.0625rem;
192
192
` ;
193
193
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const TimelineFooterContainer = styled.div`
34
34
width: 100%;
35
35
height: 2.5rem;
36
36
margin-bottom: 1.5625rem;
37
- border-top: var(--border-1- medium);
37
+ border-top: var(--border-medium-1 );
38
38
` ;
39
39
40
40
const TimelineFooterLeft = styled . div `
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ const RowLabel = styled.div<{ type: 'step' | 'task'; isOpen?: boolean; group?: b
128
128
font-size: ${ ( p ) => ( p . type === 'task' ? '0.75rem' : '0.875rem' ) } ;
129
129
font-weight: ${ ( p ) => ( p . type === 'step' ? '600' : 'normal' ) } ;
130
130
line-height: 1.6875rem;
131
- border-left: var(--border-1- thin);
131
+ border-left: var(--border-thin-1 );
132
132
padding-left: ${ ( p ) => ( p . type === 'task' ? '0.5rem' : undefined ) } ;
133
133
134
134
a {
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ const StyledRow = styled.div`
134
134
display: flex;
135
135
width: 100%;
136
136
min-height: 1.75rem;
137
- border-bottom: var(--border-1- thin);
137
+ border-bottom: var(--border-thin-1 );
138
138
transition: background 0.15s;
139
139
140
140
&:hover {
@@ -158,7 +158,7 @@ const StickyStyledRow = styled(StyledRow)`
158
158
const RowContainerStyles = css `
159
159
position: relative;
160
160
width: 100%;
161
- border-left: var(--border-1- thin);
161
+ border-left: var(--border-thin-1 );
162
162
overflow-x: hidden;
163
163
` ;
164
164
Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ const StyledTD = styled.td`
148
148
const StyledSection = styled ( Section ) < { closing : boolean } > `
149
149
padding: 0.5rem 0.5rem 0;
150
150
margin-bottom 0;
151
- border-right: var(--border-1- thin);
152
- border-bottom: var(--border-1- thin);
151
+ border-right: var(--border-thin-1 );
152
+ border-bottom: var(--border-thin-1 );
153
153
${ ( p ) => p . closing && 'position: absolute;' }
154
154
width: 100%;
155
155
` ;
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ const TimelinePreview: React.FC<TimelinePreviewProps> = ({ run }) => {
74
74
const TimelinePreviewContainer = styled . div `
75
75
max-height: 30rem;
76
76
margin-top: 1rem;
77
- border-top: var(--border-1- medium);
77
+ border-top: var(--border-medium-1 );
78
78
` ;
79
79
80
80
export default TimelinePreview ;
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ const TaskListRow: React.FC<Props> = ({
63
63
} ;
64
64
65
65
const TaskListRowContainer = styled . div < { active : boolean } > `
66
- border-bottom: var(--border-1- thin);
66
+ border-bottom: var(--border-thin-1 );
67
67
68
68
transition: 0.15s background;
69
69
background: ${ ( p ) => ( p . active ? 'var(--color-bg-secondary-highlight)' : 'transparent' ) } ;
Original file line number Diff line number Diff line change 110
110
/* Borders */
111
111
112
112
--border-primary-thin : 1px solid var (--color-border-primary );
113
- --border-1- thin : 1px solid var (--color-border-1 );
114
- --border-2- thin : 1px solid var (--color-border-2 );
115
- --border-3- thin : 1px solid var (--color-border-3 );
113
+ --border-thin-1 : 1px solid var (--color-border-1 );
114
+ --border-thin-2 : 1px solid var (--color-border-2 );
115
+ --border-thin-3 : 1px solid var (--color-border-3 );
116
116
--border-highlight-thin : 1px solid var (--color-text-highlight );
117
117
118
118
--border-primary-medium : 2px solid var (--color-border-primary );
119
- --border-1- medium : 2px solid var (--color-border-1 );
120
- --border-2- medium : 2px solid var (--color-border-2 );
121
- --border-3- medium : 2px solid var (--color-border-3 );
119
+ --border-medium-1 : 2px solid var (--color-border-1 );
120
+ --border-medium-2 : 2px solid var (--color-border-2 );
121
+ --border-medium-3 : 2px solid var (--color-border-3 );
122
122
--border-alternative-medium : 2px solid var (--color-text-alternative );
123
123
124
124
/* Border radius */
255
255
--tooltip-bg : rgba (51 , 51 , 51 , 0.7 );
256
256
257
257
/* Input */
258
- --input-border : var (--border-1- thin );
258
+ --input-border : var (--border-thin-1 );
259
259
--input-border-danger : 1px solid var (--color-bg-danger );
260
260
--input-text-color : var (--color-text-primary );
261
261
--input-bg : var (--color-bg-primary );
You can’t perform that action at this time.
0 commit comments