File tree Expand file tree Collapse file tree 7 files changed +78
-11
lines changed Expand file tree Collapse file tree 7 files changed +78
-11
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import ResizableRect from 'react-resizable-rotatable-draggable';
6
6
import RadioBlocks from '../widgets/RadioBlocks' ;
7
7
import DualNumeric from './DualNumeric' ;
8
8
9
- const maxWidth = 276 ;
9
+ const maxWidth = 280 ;
10
10
const gridRes = 8 ;
11
11
12
12
class UnconnectedRectanglePositioner extends Component {
@@ -58,8 +58,8 @@ class UnconnectedRectanglePositioner extends Component {
58
58
const fieldWidthPx = Math . min ( maxWidth , maxWidth / aspectRatio ) ;
59
59
const fieldHeightPx = Math . min ( maxWidth , maxWidth * aspectRatio ) ;
60
60
61
- const width = fieldWidthPx * ( x [ 1 ] - x [ 0 ] ) ;
62
- const height = fieldHeightPx * ( y [ 1 ] - y [ 0 ] ) ;
61
+ const width = fieldWidthPx * ( x [ 1 ] - x [ 0 ] ) - 6 ; // eslint-disable-line
62
+ const height = fieldHeightPx * ( y [ 1 ] - y [ 0 ] ) - 6 ; // eslint-disable-line
63
63
const left = fieldWidthPx * x [ 0 ] ;
64
64
const top = fieldHeightPx * ( 1 - y [ 1 ] ) ;
65
65
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default class TextInput extends Component {
18
18
render ( ) {
19
19
return (
20
20
< EditableText
21
- className = { `text-input ${ this . props . editableClassName } ` }
21
+ className = { `text-input ${ this . props . editableClassName ? this . props . editableClassName : '' } ` }
22
22
placeholder = { this . props . placeholder }
23
23
text = { this . state . value }
24
24
type = "text"
Original file line number Diff line number Diff line change 10
10
font-size : var (--font-size-base );
11
11
border : 1px solid var (--fold-header-border-color-closed );
12
12
background-color : var (--fold-header-background-closed );
13
- height : 15 px ;
13
+ height : 30 px ;
14
14
border-radius : var (--border-radius );
15
15
text-shadow : var (--text-shadow-dark-ui );
16
- transition : background-color 0.1s ease-in-out , color 0.1s ease-in-out ,
17
- border 0.1s ease-in-out ;
16
+ transition : background-color 0.1s ease-in-out , color 0.1s ease-in-out , border 0.1s ease-in-out ;
18
17
19
18
& :hover {
20
19
cursor : pointer ;
Original file line number Diff line number Diff line change 19
19
display : block ;
20
20
}
21
21
// gets overridden by user agent stylesheet otherwise
22
- width : 15 px !important ;
22
+ width : 19 px !important ;
23
23
height : 15px !important ;
24
24
fill : var (--color-text-light ) !important ;
25
25
padding-left : var (--spacing-quarter-unit );
Original file line number Diff line number Diff line change
1
+ .datetimepicker-container {
2
+ width : 220px ;
3
+
4
+ .mdi-icon {
5
+ width : 20px ;
6
+ margin : 2px ;
7
+ }
8
+ & __content {
9
+ margin-top : 5px ;
10
+ }
11
+ }
12
+
13
+ .datetimepicker-container-input {
14
+ margin-top : -20px ;
15
+ }
16
+
17
+ .datetimepicker-container-icons {
18
+ display : inline-block ;
19
+ margin-top : 2px ;
20
+ margin-left : 2px ;
21
+ }
22
+
23
+ .datetimepicker-time-icon--selected ,
24
+ .datetimepicker-date-icon--selected {
25
+ fill : var (--color-accent );
26
+ }
27
+
28
+ .datetimepicker-time-icon :hover ,
29
+ .datetimepicker-date-icon :hover {
30
+ fill : #899aaf ;
31
+ }
32
+
33
+ .datepicker-container-rce {
34
+ border : var (--border-default );
35
+ }
36
+
37
+ .bp3-html-select select ,
38
+ .bp3-select select {
39
+ padding : 0 ;
40
+ }
41
+
42
+ .bp3-datepicker-caption {
43
+ margin : 0 22px 2px ;
44
+ }
45
+
46
+ div .bp3-datepicker-caption div .bp3-html-select.bp3-minimal.bp3-datepicker-month-select span {
47
+ right : 7px !important ;
48
+ }
49
+
50
+ div .bp3-html-select.bp3-minimal.bp3-datepicker-year-select span {
51
+ right : 0px !important ;
52
+ }
53
+
54
+ .bp3-datepicker .DayPicker-Day.DayPicker-Day--selected {
55
+ border-radius : 50% ;
56
+ background-color : var (--color-accent );
57
+ }
58
+
59
+ .bp3-datepicker .DayPicker-Day :hover ,
60
+ .bp3-datepicker .DayPicker-Day :focus {
61
+ border-radius : 50% ;
62
+ outline : none ;
63
+ }
64
+
65
+ .bp3-html-select.bp3-minimal select :hover ,
66
+ .bp3-select.bp3-minimal select :hover ,
67
+ .bp3-button.bp3-minimal :hover {
68
+ background : none ;
69
+ }
Original file line number Diff line number Diff line change 11
11
@import ' trace-type-selector' ;
12
12
@import ' dropzone' ;
13
13
@import ' microtip' ;
14
+ @import ' datetimepicker' ;
Original file line number Diff line number Diff line change 11
11
border : 1px solid var (--color-border-default );
12
12
flex-grow : 1 ;
13
13
14
-
15
14
& ,
16
15
.rangeslider__fill {
17
16
display : block ;
68
67
background-color : var (--color-accent );
69
68
border : var (--border-accent );
70
69
border-radius : 10px ;
71
- transform : translateY (-1px );
72
70
top : 0 ;
73
71
}
74
72
.rangeslider__handle {
75
73
$size : 20px ;
76
74
width : $size / 3 ;
77
- height : $size * 1.5 ;
75
+ height : $size * 1.5 ;
78
76
border-radius : $size ;
79
77
top : 50% ;
80
78
transform : translate3d (-50% , -50% , 0 );
You can’t perform that action at this time.
0 commit comments