##// END OF EJS Templates
deform: updated style
marcink -
r4106:5036fcea default
parent child Browse files
Show More
@@ -1,139 +1,145 b''
1 .deform {
1 .deform {
2
2
3 * {
3 * {
4 box-sizing: border-box;
4 box-sizing: border-box;
5 }
5 }
6
6
7 .required:after {
7 .required:after {
8 color: #e32;
8 color: #e32;
9 content: '*';
9 content: '*';
10 display:inline;
10 display:inline;
11 }
11 }
12
12
13 .control-label {
13 .control-label {
14 width: 200px;
14 width: 220px;
15 padding: 10px 0px;
15 padding: 10px 0px;
16 float: left;
16 float: left;
17 }
17 }
18 .control-inputs {
18 .control-inputs {
19 width: 400px;
19 min-width: 400px;
20 float: left;
20 float: left;
21 }
21 }
22 .form-group .radio, .form-group .checkbox {
22 .form-group .radio,
23 .form-group .checkbox {
23 position: relative;
24 position: relative;
24 display: block;
25 display: block;
25 /* margin-bottom: 10px; */
26 padding: 10px 0;
27 margin-bottom: 0;
26 }
28 }
27
29
28 .form-group {
30 .form-group {
29 clear: left;
31 clear: left;
30 margin-bottom: 20px;
32 margin-bottom: 20px;
31
33
32 &:after { /* clear fix */
34 &:after { /* clear fix */
33 content: " ";
35 content: " ";
34 display: block;
36 display: block;
35 clear: left;
37 clear: left;
36 }
38 }
37 }
39 }
38
40
39 .form-control {
41 .form-control {
40 width: 100%;
42 width: 100%;
41 padding: 0.7em;
43 padding: 0.7em;
42 border: 1px solid #979797;
44 border: 1px solid #979797;
43 border-radius: 2px;
45 border-radius: 2px;
44 }
46 }
45 .form-control.select2-container {
47 .form-control.select2-container {
46 padding: 0; /* padding already applied in .drop-menu a */
48 padding: 0; /* padding already applied in .drop-menu a */
47 }
49 }
48
50
49 .form-control.readonly {
51 .form-control.readonly {
50 background: #eeeeee;
52 background: #eeeeee;
51 cursor: not-allowed;
53 cursor: not-allowed;
52 }
54 }
53
55
56 .alert {
57 margin: 10px 0;
58 }
59
54 .error-block {
60 .error-block {
55 color: red;
61 color: red;
56 margin: 0;
62 margin: 0;
57 }
63 }
58
64
59 .help-block {
65 .help-block {
60 margin: 0;
66 margin: 0;
61 }
67 }
62
68
63 .deform-seq-container .control-inputs {
69 .deform-seq-container .control-inputs {
64 width: 100%;
70 width: 100%;
65 }
71 }
66
72
67 .deform-seq-container .deform-seq-item-handle {
73 .deform-seq-container .deform-seq-item-handle {
68 width: 8.3%;
74 width: 8.3%;
69 float: left;
75 float: left;
70 }
76 }
71
77
72 .deform-seq-container .deform-seq-item-group {
78 .deform-seq-container .deform-seq-item-group {
73 width: 91.6%;
79 width: 91.6%;
74 float: left;
80 float: left;
75 }
81 }
76
82
77 .form-control {
83 .form-control {
78 input {
84 input {
79 height: 40px;
85 height: 40px;
80 }
86 }
81 input[type=checkbox], input[type=radio] {
87 input[type=checkbox], input[type=radio] {
82 height: auto;
88 height: auto;
83 }
89 }
84 select {
90 select {
85 height: 40px;
91 height: 40px;
86 }
92 }
87 }
93 }
88
94
89 .form-control.select2-container {
95 .form-control.select2-container {
90 height: 40px;
96
91 }
97 }
92
98
93 .deform-full-field-sequence.control-inputs {
99 .deform-full-field-sequence.control-inputs {
94 width: 100%;
100 width: 100%;
95 }
101 }
96
102
97 .deform-table-sequence {
103 .deform-table-sequence {
98 .deform-seq-container {
104 .deform-seq-container {
99 .deform-seq-item {
105 .deform-seq-item {
100 margin: 0;
106 margin: 0;
101 label {
107 label {
102 display: none;
108 display: none;
103 }
109 }
104 .panel-heading {
110 .panel-heading {
105 display: none;
111 display: none;
106 }
112 }
107 .deform-seq-item-group > .panel {
113 .deform-seq-item-group > .panel {
108 padding: 0;
114 padding: 0;
109 margin: 5px 0;
115 margin: 5px 0;
110 border: none;
116 border: none;
111 &> .panel-body {
117 &> .panel-body {
112 padding: 0;
118 padding: 0;
113 }
119 }
114 }
120 }
115 &:first-child label {
121 &:first-child label {
116 display: block;
122 display: block;
117 }
123 }
118 }
124 }
119 }
125 }
120 }
126 }
121 .deform-table-2-sequence {
127 .deform-table-2-sequence {
122 .deform-seq-container {
128 .deform-seq-container {
123 .deform-seq-item {
129 .deform-seq-item {
124 .form-group {
130 .form-group {
125 width: 45% !important; padding: 0 2px; float: left; clear: none;
131 width: 45% !important; padding: 0 2px; float: left; clear: none;
126 }
132 }
127 }
133 }
128 }
134 }
129 }
135 }
130 .deform-table-3-sequence {
136 .deform-table-3-sequence {
131 .deform-seq-container {
137 .deform-seq-container {
132 .deform-seq-item {
138 .deform-seq-item {
133 .form-group {
139 .form-group {
134 width: 30% !important; padding: 0 2px; float: left; clear: none;
140 width: 30% !important; padding: 0 2px; float: left; clear: none;
135 }
141 }
136 }
142 }
137 }
143 }
138 }
144 }
139 }
145 }
General Comments 0
You need to be logged in to leave comments. Login now