Commit 77e10402 authored by Sven Franck's avatar Sven Franck

fixed listbox CSS below 320px

parent 441fae5e
...@@ -99,10 +99,6 @@ tbody .large { ...@@ -99,10 +99,6 @@ tbody .large {
.button_board { .button_board {
text-align: center; text-align: center;
} }
a.confirm, a.action {
font-weight: bold !important;
}
.profile { .profile {
display: inline-block; display: inline-block;
border: 1px solid; border: 1px solid;
......
...@@ -189,6 +189,12 @@ html table.ui-table tbody td { ...@@ -189,6 +189,12 @@ html table.ui-table tbody td {
text-align: right; text-align: right;
padding: 0 1em; padding: 0 1em;
} }
@media (max-width: 20em) {
html table.ui-table tbdoy th,
html table.ui-table tbody td {
padding: 0;
}
}
html table.ui-table tbody td a, html table.ui-table tbody td a,
html table.ui-table tbody th a { html table.ui-table tbody th a {
text-decoration: none; text-decoration: none;
...@@ -214,21 +220,6 @@ html table.ui-table tr td .ui-controlgroup { ...@@ -214,21 +220,6 @@ html table.ui-table tr td .ui-controlgroup {
margin: 0; margin: 0;
text-align: center; text-align: center;
} }
/* TODO: bad... */
/*
html .content_element > .action_menu {
font-size: 95%;
margin: 0 auto;
max-width: 60%;
}
@media (min-width: 40em) {
html .content_element > .action_menu {
font-size: 90%;
margin: 0 auto;
max-width: 50%;
}
}
*/
html table.ui-table tr td .ui-controlgroup .ui-controlgroup-controls { html table.ui-table tr td .ui-controlgroup .ui-controlgroup-controls {
width: auto; width: auto;
} }
...@@ -246,19 +237,22 @@ html table.table_default { ...@@ -246,19 +237,22 @@ html table.table_default {
} }
/* checkbox cells */ /* checkbox cells */
html table th .ui-checkbox .ui-btn, html table th .ui-checkbox .ui-btn,
html table th .ui-checkbox .ui-btn,
html table td .ui-checkbox .ui-btn,
html table td .ui-checkbox .ui-btn { html table td .ui-checkbox .ui-btn {
border: 0 none; border: 0 none;
border-radius: 0 0 0 0; border-radius: 0 0 0 0;
box-shadow: none !important; box-shadow: none !important;
height: inherit; height: inherit;
/*
padding-bottom: 0.5em;
padding-top: 0.5em;
*/
width: 100%; width: 100%;
} }
@media (max-width: 20em) {
html body table thead th .ui-checkbox .ui-btn,
html body table tbody th .ui-checkbox .ui-btn {
max-width: 1.25em;
min-width: 1.25em;
margin: 0 auto;
text-align: center;
}
}
html table.ui-table tbody th { html table.ui-table tbody th {
padding-bottom: 0; padding-bottom: 0;
padding-top: 0; padding-top: 0;
...@@ -496,7 +490,7 @@ html table tr td .ui-checkbox { ...@@ -496,7 +490,7 @@ html table tr td .ui-checkbox {
.ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-btn, .ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-btn,
.ui-table-wrapper-top .ui-controlgroup .ui-controlgroup-controls .ui-select, .ui-table-wrapper-top .ui-controlgroup .ui-controlgroup-controls .ui-select,
.ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-select { .ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-select {
width: 16%; width: 10%;
padding-left: 2%; padding-left: 2%;
padding-right: 2%; padding-right: 2%;
} }
...@@ -514,9 +508,9 @@ html table tr td .ui-checkbox { ...@@ -514,9 +508,9 @@ html table tr td .ui-checkbox {
.ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-btn:after, .ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-btn:after,
.ui-table-wrapper-top .ui-controlgroup .ui-controlgroup-controls .ui-select .ui-btn:after, .ui-table-wrapper-top .ui-controlgroup .ui-controlgroup-controls .ui-select .ui-btn:after,
.ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-select .ui-btn:after { .ui-table-wrapper-bottom .ui-controlgroup .ui-controlgroup-controls .ui-select .ui-btn:after {
left: auto; /* left: auto;
right: auto; right: auto; *//*
margin-left: 5% /* bad... */; margin-left: 5% bad... */;
} }
/* only child */ /* only child */
.ui-table-wrapper-bottom.ui-table-wrapper-inset > div:only-child, .ui-table-wrapper-bottom.ui-table-wrapper-inset > div:only-child,
......
...@@ -925,19 +925,20 @@ html head + body .ui-body-slapos-black.ui-focus{ ...@@ -925,19 +925,20 @@ html head + body .ui-body-slapos-black.ui-focus{
} }
@media (max-width: 45em) { @media (max-width: 45em) {
.content_element .ui-input-search { .content_element .ui-input-search {
width: 60%; width: 100%;
} }
} }
@media (max-width: 30em) { @media (min-width: 45em) {
.content_element .ui-input-search { .content_element .ui-input-search {
width: 65%; width: 60%;
}
}
@media (max-width: 20em) {
.content_element .ui-input-search{
width: 70%;
} }
} }
.panel .ui-panel-inner .panel_element { .panel .ui-panel-inner .panel_element {
margin-left: -1em; margin-left: -1em;
margin-right: -1em; margin-right: -1em;
...@@ -998,7 +999,6 @@ html .ui-btn, label.ui-btn { ...@@ -998,7 +999,6 @@ html .ui-btn, label.ui-btn {
.responsive.ui-btn:after, .responsive.ui-btn:after,
.responsive .ui-btn:after { .responsive .ui-btn:after {
text-indent: 0px; text-indent: 0px;
left: auto;
} }
} }
/* no bold buttons */ /* no bold buttons */
......
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