Commit 37a8ccf2 authored by Michael Herold's avatar Michael Herold
Browse files

Adds small fix for list box style

parent 7596571c
......@@ -64,6 +64,7 @@ ul.listbox li:last-child {
.listbox_content > :nth-child(1) {
margin-right: auto;
text-align: left;
}
.listbox_content button {
......
......@@ -53,6 +53,7 @@ class GuiAllTest extends \Helpers {
$radioList = new gui\FieldRadioList('radio_list', _('Radio List'));
for ($i = 1; $i <= $num; $i++)
$radioList->addOption('test' . $i, sprintf('Test Nr. %d', $i));
$radioList->addOption('lorem', 'Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.');
$window[] = $radioList;
$selectbox = new \hemio\edentata\gui\Selectbox();
......
......@@ -25,10 +25,10 @@ Abc<br /><span>Subtitle</span>
<p class="multiple ">
<input type="text" accesskey="L" required="required" title="Local Part" name="form_test_localpart" id="form_test_localpart" /><span class="between ">@</span><span class="select "><select accesskey="D" title="Domain" name="form_test_domain" id="form_test_domain"><option value="test1">Test Nr. 1</option><option value="test2">Test Nr. 2</option><option value="test3">Test Nr. 3</option></select></span>
</p>
<input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test1" value="test1" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test2" value="test2" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test3" value="test3" class="list " /><ul class="listbox radio ">
<li class="listbox_link_color "><label for="form_test_radio_list_test1" class="listbox_link "><span>Test Nr. 1</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test2" class="listbox_link "><span>Test Nr. 2</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test3" class="listbox_link "><span>Test Nr. 3</span></label></li>
<input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test1" value="test1" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test2" value="test2" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test3" value="test3" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_lorem" value="lorem" class="list " /><ul class="listbox radio ">
<li class="listbox_link_color "><label for="form_test_radio_list_test1" class="listbox_link "><span>Test Nr. 1</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test2" class="listbox_link "><span>Test Nr. 2</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test3" class="listbox_link "><span>Test Nr. 3</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_lorem" class="listbox_link "><span>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</span></label></li>
</ul>
<style scoped="scoped">input:not(:checked)[id=form_test_radio_list_test1] ~ * *[for=form_test_radio_list_test1] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test2] ~ * *[for=form_test_radio_list_test2] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test3] ~ * *[for=form_test_radio_list_test3] { color: inherit; background-color: inherit; }</style><div class="selectbox ">
<style scoped="scoped">input:not(:checked)[id=form_test_radio_list_test1] ~ * *[for=form_test_radio_list_test1] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test2] ~ * *[for=form_test_radio_list_test2] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test3] ~ * *[for=form_test_radio_list_test3] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_lorem] ~ * *[for=form_test_radio_list_lorem] { color: inherit; background-color: inherit; }</style><div class="selectbox ">
<div class="scroll ">
<input type="checkbox" accesskey="T" title="Test Nr. 1" name="form_test_test1" id="form_test_test1" value="test1" /><p>
<label for="form_test_test1"><span class="checkbox ">Test Nr. 1</span></label>
......
......@@ -25,10 +25,10 @@ Abc<br /><span>Subtitle</span>
<p class="multiple ">
<input type="text" accesskey="L" required="required" title="Local Part" name="form_test_localpart" id="form_test_localpart" /><span class="between ">@</span><span class="select "><select accesskey="D" title="Domain" name="form_test_domain" id="form_test_domain"><option value="test1">Test Nr. 1</option><option value="test2">Test Nr. 2</option><option value="test3">Test Nr. 3</option></select></span>
</p>
<input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test1" value="test1" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test2" value="test2" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test3" value="test3" class="list " /><ul class="listbox radio ">
<li class="listbox_link_color "><label for="form_test_radio_list_test1" class="listbox_link "><span>Test Nr. 1</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test2" class="listbox_link "><span>Test Nr. 2</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test3" class="listbox_link "><span>Test Nr. 3</span></label></li>
<input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test1" value="test1" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test2" value="test2" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_test3" value="test3" class="list " /><input type="radio" accesskey="R" title="Radio List" name="form_test_radio_list" id="form_test_radio_list_lorem" value="lorem" class="list " /><ul class="listbox radio ">
<li class="listbox_link_color "><label for="form_test_radio_list_test1" class="listbox_link "><span>Test Nr. 1</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test2" class="listbox_link "><span>Test Nr. 2</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_test3" class="listbox_link "><span>Test Nr. 3</span></label></li><li class="listbox_link_color "><label for="form_test_radio_list_lorem" class="listbox_link "><span>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</span></label></li>
</ul>
<style scoped="scoped">input:not(:checked)[id=form_test_radio_list_test1] ~ * *[for=form_test_radio_list_test1] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test2] ~ * *[for=form_test_radio_list_test2] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test3] ~ * *[for=form_test_radio_list_test3] { color: inherit; background-color: inherit; }</style><div class="selectbox ">
<style scoped="scoped">input:not(:checked)[id=form_test_radio_list_test1] ~ * *[for=form_test_radio_list_test1] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test2] ~ * *[for=form_test_radio_list_test2] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_test3] ~ * *[for=form_test_radio_list_test3] { color: inherit; background-color: inherit; }input:not(:checked)[id=form_test_radio_list_lorem] ~ * *[for=form_test_radio_list_lorem] { color: inherit; background-color: inherit; }</style><div class="selectbox ">
<div class="scroll ">
<input type="checkbox" accesskey="T" title="Test Nr. 1" name="form_test_test1" id="form_test_test1" value="test1" /><p>
<label for="form_test_test1"><span class="checkbox ">Test Nr. 1</span></label>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment