178 lines
2.8 KiB
CSS
178 lines
2.8 KiB
CSS
/*
|
|
|
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
|
Copyright (C) 2017 Roland Gruber
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more detaexils.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
/** responsive styles */
|
|
|
|
.row {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.row textarea {
|
|
width: 100%;
|
|
}
|
|
|
|
.row input {
|
|
width: 100%;
|
|
}
|
|
|
|
.row input[type="submit"] {
|
|
width: auto;
|
|
}
|
|
|
|
.row input[type="file"] {
|
|
width: auto;
|
|
}
|
|
|
|
.row input[type="checkbox"] {
|
|
width: auto;
|
|
}
|
|
|
|
.row input[type="radio"] {
|
|
width: auto;
|
|
}
|
|
|
|
img.max16 {
|
|
max-width: 16px;
|
|
}
|
|
|
|
div.dialog-page {
|
|
float: left;
|
|
}
|
|
|
|
div.lam-dialog-msg {
|
|
margin: 10px;
|
|
}
|
|
|
|
table.padding5 td {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.maxrow {
|
|
max-width: none;
|
|
}
|
|
|
|
table.responsive-table {
|
|
margin-top: 1rem;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
table.responsive-table th {
|
|
text-align: left;
|
|
padding: 0;
|
|
}
|
|
|
|
table.responsive-table td {
|
|
overflow: hidden;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/* mobile */
|
|
@media only screen and (max-width: 40.0625em) {
|
|
|
|
.responsiveLabel {
|
|
text-align: left;
|
|
}
|
|
|
|
.hide-on-mobile {
|
|
display: none !important;
|
|
}
|
|
|
|
table.responsive-table thead {
|
|
border: none;
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
|
|
table.responsive-table tr {
|
|
border-bottom: 3px solid #f1f1f1;
|
|
display: block;
|
|
margin-bottom: .6rem;
|
|
}
|
|
|
|
table.responsive-table td {
|
|
border-bottom: 1px solid #f1f1f1;
|
|
display: block;
|
|
text-align: right;
|
|
}
|
|
|
|
table.responsive-table td:before {
|
|
content: attr(data-label);
|
|
float: left;
|
|
font-weight: bold;
|
|
}
|
|
|
|
table.responsive-table td:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
table.responsive-table tr:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.margin-right5-mobile-only {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
}
|
|
|
|
/* tablet */
|
|
@media only screen and (min-width: 40.0625em) and (max-width: 64.0625em) {
|
|
|
|
.responsiveLabel {
|
|
text-align: right;
|
|
}
|
|
|
|
.responsiveField {
|
|
text-align: left;
|
|
}
|
|
|
|
.hide-on-tablet {
|
|
display: none !important;
|
|
}
|
|
|
|
}
|
|
|
|
/* desktop */
|
|
@media only screen and (min-width: 64.0625em) {
|
|
|
|
.responsiveLabel {
|
|
text-align: right;
|
|
}
|
|
|
|
.responsiveField {
|
|
text-align: left;
|
|
}
|
|
|
|
.hide-on-tablet {
|
|
display: none !important;
|
|
}
|
|
|
|
.hide-on-desktop {
|
|
display: none !important;
|
|
}
|
|
|
|
}
|