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