| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
@media all and (max-width: 500px) { |
| 5 |
.mblFormLayout.mblFormLayoutAuto fieldset { |
| 6 |
padding-left: 0; |
| 7 |
padding-right: 0; |
| 8 |
} |
| 9 |
|
| 10 |
.mblFormLayout.mblFormLayoutAuto > * + * { |
| 11 |
margin-top: 0.6em; |
| 12 |
} |
| 13 |
|
| 14 |
.mblFormLayout.mblFormLayoutAuto .mblTextArea, |
| 15 |
.mblFormLayout.mblFormLayoutAuto .mblExpandingTextArea, |
| 16 |
.mblFormLayout.mblFormLayoutAuto .mblTextBox, |
| 17 |
.mblFormLayout.mblFormLayoutAuto .mblSearchBox { |
| 18 |
width: 100%; |
| 19 |
box-sizing: border-box; |
| 20 |
} |
| 21 |
} |
| 22 |
|
| 23 |
.mblFormLayout.mblFormLayoutSingleCol fieldset { |
| 24 |
padding-left: 0; |
| 25 |
padding-right: 0; |
| 26 |
} |
| 27 |
|
| 28 |
.mblFormLayout.mblFormLayoutSingleCol > * + * { |
| 29 |
margin-top: 0.6em; |
| 30 |
} |
| 31 |
|
| 32 |
.mblFormLayout.mblFormLayoutSingleCol .mblTextArea, |
| 33 |
.mblFormLayout.mblFormLayoutSingleCol .mblExpandingTextArea, |
| 34 |
.mblFormLayout.mblFormLayoutSingleCol .mblTextBox, |
| 35 |
.mblFormLayout.mblFormLayoutSingleCol .mblSearchBox { |
| 36 |
width: 100%; |
| 37 |
box-sizing: border-box; |
| 38 |
} |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
@media all and (min-width: 500px) { |
| 43 |
|
| 44 |
.mblFormLayout.mblFormLayoutAuto { |
| 45 |
display: table; |
| 46 |
width: 100%; |
| 47 |
} |
| 48 |
|
| 49 |
.mblFormLayout.mblFormLayoutAuto > * { |
| 50 |
display: table-row; |
| 51 |
} |
| 52 |
|
| 53 |
.mblFormLayout.mblFormLayoutAuto > * > * { |
| 54 |
display: table-cell; |
| 55 |
vertical-align: top; |
| 56 |
padding: 0.5em 0; |
| 57 |
} |
| 58 |
|
| 59 |
.mblFormLayout.mblFormLayoutAuto > * > *:first-child { |
| 60 |
width: 20%; |
| 61 |
padding-right: 0.5em; |
| 62 |
} |
| 63 |
|
| 64 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child { |
| 65 |
text-align: right; |
| 66 |
} |
| 67 |
|
| 68 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblButton:last-child, |
| 69 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblToggleButton:last-child, |
| 70 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblCheckBox:last-child, |
| 71 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblSwitch:last-child, |
| 72 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblRadioButton:last-child, |
| 73 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblTextArea:last-child, |
| 74 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblExpandingTextArea:last-child, |
| 75 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblTextBox:last-child, |
| 76 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblSearchBox:last-child { |
| 77 |
margin-right: 0; |
| 78 |
} |
| 79 |
|
| 80 |
.mblFormLayout.mblFormLayoutAuto.mblFormLayoutRightAlign > * > *:last-child > .mblSlider:last-child { |
| 81 |
display: inline-block; |
| 82 |
margin-right: 10px; |
| 83 |
margin-top: 0px; |
| 84 |
} |
| 85 |
|
| 86 |
.mblFormLayout.mblFormLayoutAuto .mblTextArea, |
| 87 |
.mblFormLayout.mblFormLayoutAuto .mblExpandingTextArea, |
| 88 |
.mblFormLayout.mblFormLayoutAuto .mblTextBox, |
| 89 |
.mblFormLayout.mblFormLayoutAuto .mblSearchBox { |
| 90 |
width: 50%; |
| 91 |
box-sizing: border-box; |
| 92 |
} |
| 93 |
} |
| 94 |
|
| 95 |
|
| 96 |
.mblFormLayout.mblFormLayoutTwoCol { |
| 97 |
display: table; |
| 98 |
width: 100%; |
| 99 |
} |
| 100 |
|
| 101 |
.mblFormLayout.mblFormLayoutTwoCol > * { |
| 102 |
display: table-row; |
| 103 |
} |
| 104 |
|
| 105 |
.mblFormLayout.mblFormLayoutTwoCol > * > * { |
| 106 |
display: table-cell; |
| 107 |
vertical-align: top; |
| 108 |
padding: 0.5em 0; |
| 109 |
} |
| 110 |
|
| 111 |
.mblFormLayout.mblFormLayoutTwoCol > * > *:first-child { |
| 112 |
width: 20%; |
| 113 |
padding-right: 0.5em; |
| 114 |
} |
| 115 |
|
| 116 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child { |
| 117 |
text-align: right; |
| 118 |
} |
| 119 |
|
| 120 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblButton:last-child, |
| 121 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblToggleButton:last-child, |
| 122 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblCheckBox:last-child, |
| 123 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblSwitch:last-child, |
| 124 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblRadioButton:last-child, |
| 125 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblTextArea:last-child, |
| 126 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblExpandingTextArea:last-child, |
| 127 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblTextBox:last-child, |
| 128 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblSearchBox:last-child { |
| 129 |
margin-right: 0; |
| 130 |
} |
| 131 |
|
| 132 |
.mblFormLayout.mblFormLayoutTwoCol.mblFormLayoutRightAlign > * > *:last-child > .mblSlider:last-child { |
| 133 |
display: inline-block; |
| 134 |
margin-right: 10px; |
| 135 |
margin-top: 0px; |
| 136 |
} |
| 137 |
|
| 138 |
.mblFormLayout.mblFormLayoutTwoCol .mblTextArea, |
| 139 |
.mblFormLayout.mblFormLayoutTwoCol .mblExpandingTextArea, |
| 140 |
.mblFormLayout.mblFormLayoutTwoCol .mblTextBox, |
| 141 |
.mblFormLayout.mblFormLayoutTwoCol .mblSearchBox { |
| 142 |
width: 50%; |
| 143 |
box-sizing: border-box; |
| 144 |
} |
| 145 |
|
| 146 |
|
| 147 |
.mblFormLayout fieldset { |
| 148 |
border: none; |
| 149 |
margin: 0; |
| 150 |
} |
| 151 |
|
| 152 |
.mblFormLayout > * > *:first-child { |
| 153 |
font-weight: bold; |
| 154 |
} |
| 155 |
|
| 156 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblButton:first-child, |
| 157 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblToggleButton:first-child, |
| 158 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblCheckBox:first-child, |
| 159 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblSwitch:first-child, |
| 160 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblRadioButton:first-child, |
| 161 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblTextArea:first-child, |
| 162 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblExpandingTextArea:first-child, |
| 163 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblTextBox:first-child, |
| 164 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblSearchBox:first-child, |
| 165 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblButton, |
| 166 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblToggleButton, |
| 167 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblCheckBox, |
| 168 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblSwitch, |
| 169 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblRadioButton, |
| 170 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblTextArea, |
| 171 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblExpandingTextArea, |
| 172 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblTextBox, |
| 173 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > br + .mblSearchBox { |
| 174 |
margin-left: 0; |
| 175 |
} |
| 176 |
|
| 177 |
.mblFormLayout:not(.mblFormLayoutRightAlign) > * > *:last-child > .mblSlider:first-child { |
| 178 |
display: inline-block; |
| 179 |
margin-left: 10px; |
| 180 |
margin-top: 0; |
| 181 |
margin-bottom: 0; |
| 182 |
} |