Commit eb67b202 authored by Sven Franck's avatar Sven Franck

css: fixed wrong width of span_x, removed old code

parent d45f3fcb
......@@ -326,6 +326,11 @@ html body form input.secure_form {
display: none;
}
/* ============================== breadcrumbs ============================== */
/* make sure content does not flow next to crumbs*/
.crumbs {
display: block;
clear: both;
}
.crumbs a.ui-btn,
.crumbs a.ui-link {
font-size: 80%;
......@@ -470,40 +475,14 @@ form .span_3 {
}
@media (max-width: 40em) {
.span_1, .span_2, .span_3, form .span_1, form .span_2, form .span_3 {
width: auto; /* 100 does not work... */
width: auto; /* 100 does not work... why? */
display: block;
padding: .25em 0;
}
.span_1 textarea {
width: 100%;
}
}
.span_1 .ui-table-wrapper .ui-input-search,
.span_2 .ui-table-wrapper .ui-input-search{
width: auto;
margin: 0;
box-shadow: none;
-webkit-box-shadow: none;
border-width: 0;
border-bottom-width: 1px;
}
/* this should always be set on the parent whatever widget (controlbar...)
.span_1 .ui-input-search,
.span_2 .ui-input-search {
width: 50%;
}
@media (max-width: 45em) {
.span_1 .ui-input-search,
.span_2 .ui-input-search {
width: 100%;
}
}
@media (min-width: 45em) {
.span_1 .ui-input-search,
.span_2 .ui-input-search {
width: 60%;
}
}
*/
/* ======================== status (red...) ========================= */
html body div.ui-page a.ui-btn.error.status,
html body div.ui-page a.ui-btn.error.status:hover,
......@@ -553,6 +532,7 @@ tbody .large {
.dyno {
padding-top: 1em;
padding-bottom: 1em;
width: 100%;
}
.ui-panel .dyno {
padding: 0;
......@@ -605,7 +585,7 @@ html .ui-page-theme-slapos-white .ui-input-action.ui-btn-active {
/* hide crumbs on mobile */
@media (max-width: 48em) {
.crumbs {
display: auto;
display: none;
}
}
/* decorate header */
......@@ -632,4 +612,6 @@ html div.ui-page div.ui-content .ui-content-element {
.dyno > .ui-controlbar,
.dyno > .ui-controlbar ~ .ui-controlbar {
text-align: center;
}
\ No newline at end of file
}
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