Skip to content

Commit a4d0a8e

Browse files
committed
Remove thick borders from selectize and simple-slider. More cleanup.
1 parent 677be77 commit a4d0a8e

File tree

3 files changed

+15
-33
lines changed

3 files changed

+15
-33
lines changed

src/sentry/static/sentry/less/selectize.less

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
@selectize-font-family: inherit;
44
@selectize-font-smoothing: inherit;
5-
@selectize-font-size: 13px;
6-
@selectize-line-height: 18px;
5+
@selectize-font-size: 14px;
6+
@selectize-line-height: inherit;
77

88
@selectize-color-text: #34343f;
9-
@selectize-color-border: #e9eaea;
9+
@selectize-color-border: #e1e4e5;
1010
@selectize-color-highlight: rgba(125,168,208,0.2);
1111
@selectize-color-input: #fff;
1212
@selectize-color-input-full: @selectize-color-input;
@@ -31,24 +31,24 @@
3131
@selectize-lighten-disabled-item-border: 30%;
3232
@selectize-opacity-disabled: 0.5;
3333

34-
@selectize-shadow-input: none;
34+
@selectize-shadow-input: inset 0 1px 1px rgba(70, 82, 98, 0.05);
3535
@selectize-shadow-input-focus: none;
36-
@selectize-border: 2px solid @selectize-color-border;
36+
@selectize-border: 1px solid @selectize-color-border;
3737
@selectize-border-radius: 5px;
3838

3939
@selectize-width-item-border: 0;
4040
@selectize-max-height-dropdown: 200px;
4141

42-
@selectize-padding-x: 8px;
42+
@selectize-padding-x: 12px;
4343
@selectize-padding-y: 8px;
4444
@selectize-padding-item-x: 6px;
45-
@selectize-padding-item-y: 2px;
45+
@selectize-padding-item-y: 12px;
4646
@selectize-padding-dropdown-item-x: @selectize-padding-x;
4747
@selectize-padding-dropdown-item-y: 5px;
4848
@selectize-margin-item-x: 3px;
4949
@selectize-margin-item-y: 3px;
5050

51-
@selectize-arrow-size: 5px;
51+
@selectize-arrow-size: 6px;
5252
@selectize-arrow-color: #808080;
5353
@selectize-arrow-offset: 10px;
5454

@@ -106,7 +106,7 @@
106106

107107
.selectize-input {
108108
border: @selectize-border;
109-
padding: @selectize-padding-y @selectize-padding-x;
109+
padding: @selectize-padding-y @selectize-padding-x @selectize-padding-y - 1;
110110
display: inline-block;
111111
width: 100%;
112112
overflow: hidden;
@@ -257,7 +257,7 @@
257257
position: absolute;
258258
top: 35%;
259259
right: @selectize-arrow-offset;
260-
margin-top: round(-@selectize-arrow-size / 2);
260+
margin-top: -4px;
261261
}
262262
&.dropdown-active:after {
263263
content: "\e610";

src/sentry/static/sentry/less/sentry.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ th, dt, strong {
5555
.sidebar {
5656
h6 {
5757
margin: 0 0 20px;
58-
color: #999;
58+
color: #93989E;
5959
}
6060

6161
.nav-stacked {

src/sentry/static/sentry/less/simple-slider.less

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,38 +5,20 @@
55
> .dragger {
66
background: lighten(#4593DE, 5%);
77

8-
-webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 8px rgba(0,0,0,0.2);
9-
-moz-box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 8px rgba(0,0,0,0.2);
10-
box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 0 2px 8px rgba(0,0,0,0.2);
11-
12-
-webkit-border-radius: 10px;
13-
-moz-border-radius: 10px;
14-
border-radius: 10px;
15-
16-
border: 1px solid #4593DE;
8+
border-radius: 16px;
179
width: 16px;
18-
height: 15px;
10+
height: 16px;
11+
box-shadow: 0 0 0 3px #fff;
1912
}
2013

2114
> .dragger:hover {
2215
background: #4593DE;
2316
}
2417

2518
> .track {
26-
background: #ccc;
27-
background: -webkit-linear-gradient(top, #bbb, #ddd);
28-
background: -moz-linear-gradient(top, #bbb, #ddd);
29-
background: linear-gradient(top, #bbb, #ddd);
19+
background: #f1f2f3;
3020

31-
-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
32-
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
33-
box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
34-
35-
-webkit-border-radius: 8px;
36-
-moz-border-radius: 8px;
3721
border-radius: 8px;
38-
39-
border: 1px solid #aaa;
4022
height: 3px;
4123
}
4224

0 commit comments

Comments
 (0)