-
Notifications
You must be signed in to change notification settings - Fork 722
/
Copy pathcommands.less
102 lines (83 loc) · 1.49 KB
/
commands.less
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
@import "../variables.less";
header {
box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.2), 0 0 0 rgba(16, 22, 26, 0), 0 1px 1px rgba(16, 22, 26, 0.4);
background-color: @background-3;
-webkit-app-region: drag;
}
.disabled-menu-tooltip {
display: flex;
width: 100%;
.bp4-popover2-target {
width: 10%;
}
}
.commands.is-mac {
padding:
10px
calc(100vw - (env(titlebar-area-x, 0) + env(titlebar-area-width, 0)))
10px
env(titlebar-area-x, 0);
}
.commands {
display: flex;
justify-content: space-between;
height: 50px;
padding:
10px;
box-sizing: border-box;
font-family: @fonts-common;
button,
input,
select {
-webkit-app-region: no-drag;
margin-bottom: 0;
white-space: nowrap;
}
select {
width: 100px;
margin-left: 5px;
}
fieldset {
border: 0;
padding: 0;
margin: 0;
min-width: 0;
}
& > div {
display: flex;
&:last-of-type {
margin-right: 10px;
.bp4-button-group {
margin-left: 5px;
}
}
}
.bp4-control-group {
margin-right: 0.5rem;
}
.address-bar {
width: 420px;
transition: width 0.4s;
input,
span {
-webkit-app-region: no-drag;
}
&.empty {
width: 300px;
}
&:focus-within {
span,
input {
border-color: @foreground-2;
}
}
}
& > .title {
align-self: stretch;
flex-shrink: 0;
flex-flow: column nowrap;
justify-content: center;
user-select: none;
margin: 0 10px;
}
}