Skip to content

Commit 37610f2

Browse files
authored
Merge pull request #17 from redux-autoform/revert-16-master
Revert "Make the component themable. Additionally, when I working on this ver…"
2 parents 7a5779f + 7ae271e commit 37610f2

File tree

13 files changed

+10
-202
lines changed

13 files changed

+10
-202
lines changed

demo/less/Sample.theme.less

Lines changed: 0 additions & 45 deletions
This file was deleted.

demo/less/styles.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
@import '../../node_modules/react-select/dist/react-select.css';
55
@import '../../src/styles/styles';
66
@import '../../src/styles/styles-defaultfactories';
7-
@import './LiveSchemaEditor.less';
8-
@import './Sample.theme.less';
7+
@import './LiveSchemaEditor.less';

src/styles/defaultFactories/Button.less

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/styles/defaultFactories/Checkbox.less

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,4 @@
66

77
.form-horizontal .cb-fix {
88
margin-bottom: 7px !important;
9-
}
10-
11-
.metaform-group-content .col-md-12 .cb-fix label{
12-
font-size: @font-size;
13-
font-family: @font-family;
14-
font-weight: @font-weight;
15-
}
16-
17-
input[type="checkbox"] {
18-
margin: 2.0px 0 0;
199
}
Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,3 @@
11
.has-error .rw-datetimepicker {
2-
border-color: @state-danger-text;
3-
}
4-
5-
.rw-datetimepicker{
6-
font:@control-inside-font;
7-
border-bottom-left-radius: @border-radius-base;
8-
border-top-left-radius: @border-radius-base;
9-
border-bottom-right-radius: @border-radius-base;
10-
border-top-right-radius: @btn-border-radius-base;
11-
height: @input-control-height;
12-
.rw-input{
13-
height: @input-control-height - 2px;
14-
border-bottom-left-radius: @border-radius-base;
15-
border-top-left-radius: @border-radius-base;
16-
border-bottom-right-radius: @border-radius-base;
17-
border-top-right-radius: @btn-border-radius-base;
18-
}
19-
.raw-select{
20-
height: @input-control-height - 2px;
21-
}
22-
}
23-
24-
.rw-calendar-grid {
25-
thead tr th {
26-
height: @td-height;
27-
width: @td-width;
28-
font-size: @week-font-size;
29-
font-weight: @font-weight;
30-
font-family: @font-family;
31-
}
32-
tbody tr {
33-
height: @td-height;
34-
width: @td-width;
35-
font-size: @day-font-size;
36-
}
2+
border-color: @state-danger-text
373
}

src/styles/defaultFactories/Radio.less

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/styles/infrastructure/ArrayContainer.less

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,14 @@
1010
.array-container-item-options {
1111
margin-left: -15px;
1212
}
13+
1314
}
1415
}
1516

1617
.add-bar {
1718
padding-left: 10px;
1819
}
1920

20-
.dropdown-menu {
21-
font-family: @font-family;
22-
font-size:@font-size;
23-
font-weight: @font-weight;
24-
}
25-
2621
}
2722

28-
.alert.alert-warning{
29-
font-family: @font-family;
30-
font-size:@font-size;
31-
padding-top: @array-container-warning-padding;
32-
padding-bottom: @array-container-warning-padding;
33-
padding-left: @array-container-warning-padding;
34-
padding-right: @array-container-warning-padding;
35-
border: @array-container-warining-border;
36-
margin-bottom:@array-container-margin-bottom;
37-
}
3823

39-
.dropdown-menu {
40-
font-size:@font-size;
41-
font-family: @font-family;
42-
font-weight: @font-weight;
43-
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.no-padding-right-col {
22
padding-right: 0;
3-
}
3+
}

src/styles/infrastructure/Input.less

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/styles/infrastructure/MetaForm.less

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
.meta-form {
2-
background: @form-background-color;
3-
padding-top: @form-padding;
4-
padding-bottom: @form-padding;
5-
padding-left: @form-padding;
6-
padding-right: @form-padding;
7-
border-width: @form-border-width;
8-
border-color: @form-border-color;
9-
margin-bottom: @form-bottom-margin;
2+
padding: 0 0 1em 0;
103
}
114

125
.meta-form-bottom-bar {

0 commit comments

Comments
 (0)