LDAPAccountManager/lam/style/responsive/120_lam.css

245 lines
3.8 KiB
CSS
Raw Normal View History

2017-11-01 12:45:20 +00:00
/*
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
2019-02-23 17:42:21 +00:00
Copyright (C) 2017 - 2019 Roland Gruber
2017-11-01 12:45:20 +00:00
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;
}
2017-11-01 18:41:29 +00:00
.row textarea {
width: 100%;
}
2017-11-01 18:41:29 +00:00
.row input {
2017-11-01 12:45:20 +00:00
width: 100%;
}
2017-11-01 18:41:29 +00:00
.row input[type="submit"] {
width: auto;
}
.row input[type="file"] {
width: auto;
}
.row input[type="checkbox"] {
width: auto;
}
.row input[type="radio"] {
width: auto;
}
2018-01-03 18:00:41 +00:00
img.max16 {
max-width: 16px;
}
div.dialog-page {
float: left;
2018-10-20 15:20:24 +00:00
width: 100%;
}
div.lam-dialog-msg {
margin: 10px;
}
2018-10-27 09:42:45 +00:00
div.dialog-content {
overflow: visible !important;
margin: 2rem;
}
2017-11-21 19:02:36 +00:00
table.padding5 td {
padding: 0.5rem;
}
.maxrow {
max-width: none;
}
2019-09-02 16:05:05 +00:00
.module-content-row>.row {
max-width: 80rem;
}
2019-02-23 17:42:21 +00:00
select.auto-width {
width: auto;
}
2017-11-02 19:05:57 +00:00
table.responsive-table {
margin-top: 1rem;
table-layout: fixed;
width: 100%;
2018-10-27 12:39:37 +00:00
border-collapse: collapse;
2017-11-02 19:05:57 +00:00
}
table.responsive-table th {
text-align: left;
2018-10-27 12:39:37 +00:00
padding-bottom: 0.5rem;
padding-top: 0.5rem;
padding-right: 0.3rem;
padding-left: 0.3rem;
2017-11-02 19:05:57 +00:00
}
table.responsive-table td {
overflow: hidden;
vertical-align: top;
2018-01-12 16:57:32 +00:00
padding-bottom: 0.5rem;
padding-top: 0.5rem;
2018-10-27 12:39:37 +00:00
padding-right: 0.3rem;
padding-left: 0.3rem;
2018-04-18 16:43:29 +00:00
word-break: break-all;
2017-11-02 19:05:57 +00:00
}
/* mobile */
@media only screen and (max-width: 40.0625em) {
.responsiveLabel {
text-align: left;
}
.hide-on-mobile {
display: none !important;
}
2017-11-02 19:05:57 +00:00
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;
}
2017-11-05 17:47:15 +00:00
.margin-right5-mobile-only {
margin-right: 5px;
}
2018-01-12 16:57:32 +00:00
.bold-mobile-only {
font-weight: bold;
}
2018-10-23 18:25:45 +00:00
.fullwidth-mobile-only {
width: 100%;
}
2019-05-12 08:13:09 +00:00
.header-user-label {
max-width: 100px;
overflow: hidden;
}
2019-08-15 12:13:10 +00:00
button.lam-account-type {
min-width: 20px;
}
2019-08-17 08:52:44 +00:00
.titleBar {
padding: 5px 5px 5px 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;
}
2018-04-18 16:43:29 +00:00
table.alternating-color tbody tr:nth-child(odd) {
background-color:rgba(0, 0, 0, 0.05);
}
2019-08-15 12:13:10 +00:00
button.lam-account-type {
min-width: 200px;
}
2019-08-17 08:52:44 +00:00
.titleBar {
padding: 5px 20px 5px 20px;
}
}
/* 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;
}
2018-04-18 16:43:29 +00:00
table.alternating-color tbody tr:nth-child(odd) {
background-color:rgba(0, 0, 0, 0.05);
}
2019-08-15 12:13:10 +00:00
button.lam-account-type {
min-width: 200px;
}
2019-08-17 08:52:44 +00:00
.titleBar {
padding: 5px 20px 5px 20px;
}
}