nextcloud/settings/css/settings.css

856 lines
15 KiB
CSS
Raw Normal View History

/* Copyright (c) 2011, Jan-Christoph Borchardt, http://jancborchardt.net
This file is licensed under the Affero General Public License version 3 or later.
See the COPYING-README file. */
select#languageinput, select#timezone { width:15em; }
2011-08-14 18:12:27 +04:00
input#openid, input#webdav { width:20em; }
/* PERSONAL */
#avatarform {
width: 160px;
padding-right: 0;
}
#avatarform .avatardiv {
margin-bottom: 10px;
}
#avatarform .warning {
2016-01-08 12:27:55 +03:00
width: 100%;
}
#uploadavatarbutton,
#selectavatar,
#removeavatar {
width: 33px;
height: 33px;
2013-10-21 13:49:02 +04:00
}
.jcrop-holder {
z-index: 500;
}
2016-11-15 20:10:28 +03:00
#cropper {
float: left;
z-index: 500;
/* float cropper above settings page to prevent unexpected flowing from dynamically sized element */
position: fixed;
background-color: rgba(0, 0, 0, .2);
box-sizing: border-box;
top: 45px;
left: 0;
width: 100%;
height: calc(100% - 45px);
}
2016-11-15 20:10:28 +03:00
#cropper .inner-container {
z-index: 2001; /* above the top bar if needed */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
color: #333;
border-radius: 3px;
box-shadow: 0 0 7px #888;
padding: 15px;
}
2016-11-15 20:10:28 +03:00
#cropper .inner-container .jcrop-holder {
box-shadow: 0 0 7px #888;
}
2016-11-15 20:10:28 +03:00
#cropper .inner-container .button {
margin-top: 15px;
}
2016-11-15 20:10:28 +03:00
#cropper .inner-container .primary {
float: right;
}
#personal-settings-avatar-container {
float: left;
}
#personal-settings-container {
position: relative;
float: left;
min-width: 280px;
max-width: 700px;
width: calc(100% - 200px);
}
#personal-settings-container:after {
clear: both;
}
#personal-settings-container > div {
float: left;
height: 100px;
min-width: 300px;
}
#personal-settings-container.no-edit > div {
height: 20px;
min-width: 200px;
}
#avatarform > h2,
#personal-settings-container > div h2 {
position: relative;
}
#personal-settings-container > div h2 span[class^="icon-"],
#personal-settings-avatar-container h2 span[class^="icon-"] {
display: inline-block;
padding: 8px;
margin-left: -8px;
margin-bottom: -10px;
background-size: 16px;
opacity: .3;
cursor: pointer;
}
.personal-settings-setting-box input[type="text"],
.personal-settings-setting-box input[type="email"],
.personal-settings-setting-box input[type="tel"] {
width: 17em;
}
#personal-settings-container > div > form span[class^="icon-checkmark"] {
position: absolute;
left: 239px;
top: 82px;
pointer-events: none;
}
.federationScopeMenu {
top: 44px;
margin: -5px 0px 0;
}
.federationScopeMenu.bubble::after {
right: 50%;
transform: translate(50%, 0);
}
.federationScopeMenu.popovermenu a.menuitem,
.federationScopeMenu.popovermenu label.menuitem,
.federationScopeMenu.popovermenu .menuitem {
font-size: 12.8px;
line-height: 1.6em;
}
.federationScopeMenu.popovermenu .menuitem .menuitem-text-detail {
opacity: .75;
}
#lostpassword,
#groups,
#passwordform {
display: inline-block;
margin-bottom: 0;
padding-bottom: 0;
padding-right: 0;
min-width: 60%;
}
#avatarform,
#passwordform {
margin-bottom: 0;
padding-bottom: 0;
}
#groups {
overflow-wrap: break-word;
max-width: 75%;
display: block;;
clear: both;
}
2016-02-05 15:50:03 +03:00
.clientsbox img {
height: 60px;
}
#sslCertificate tr.expired {
background-color: rgba(255, 0, 0, 0.5);
}
#sslCertificate td {
padding: 5px;
}
2015-04-07 14:28:26 +03:00
#displaynameerror {
display: none;
}
#displaynamechanged {
display: none;
}
input#identity {
width: 20em;
}
#showWizard {
display: inline-block;
}
.msg.success {
color: #fff;
background-color: #47a447;
padding: 3px;
}
.msg.error {
color: #fff;
background-color: #d2322d;
padding: 3px;
}
.password-state {
display: inline-block;
}
2011-10-04 21:37:26 +04:00
table.nostyle label { margin-right: 2em; }
table.nostyle td { padding: 0.2em 0; }
#sessions table,
2016-06-16 11:54:03 +03:00
#apppasswords table {
width: 100%;
min-height: 50px;
padding-top: 5px;
max-width: 580px;
}
#sessions table th,
2016-06-16 11:54:03 +03:00
#apppasswords table th {
opacity: .5;
}
2016-05-18 19:25:05 +03:00
#sessions table th,
#sessions table td,
2016-06-16 11:54:03 +03:00
#apppasswords table th,
#apppasswords table td {
padding: 10px 10px 10px 0;
2016-05-18 19:25:05 +03:00
}
#sessions .token-list td.more,
#apppasswords .token-list td.more {
overflow: visible;
position: relative;
width: 16px;
}
2016-05-18 19:25:05 +03:00
#sessions .token-list td,
2016-06-16 11:54:03 +03:00
#apppasswords .token-list td {
border-top: 1px solid #DDD;
text-overflow: ellipsis;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
vertical-align: top;
position: relative;
}
2016-07-20 15:26:03 +03:00
#sessions tr>*:nth-child(2),
#apppasswords tr>*:nth-child(2) {
2016-07-20 15:26:03 +03:00
text-align: right;
}
#sessions .token-list td > a.icon,
#apppasswords .token-list td > a.icon {
opacity: 0;
transition: opacity 0.5s;
}
#sessions .token-list a.icon,
#apppasswords .token-list a.icon {
margin-top: 4px;
display: block;
}
#sessions .token-list tr:hover td > a.icon,
#apppasswords .token-list tr:hover td > a.icon,
#sessions .token-list tr.active td > a.icon,
#apppasswords .token-list tr.active td > a.icon{
opacity: 0.6;
2016-05-18 19:25:05 +03:00
}
#sessions .token-list td div.configure,
#apppasswords .token-list td div.configure {
display: none;
}
#sessions .token-list tr.active div.configure,
#apppasswords .token-list tr.active div.configure {
display: block;
position: absolute;
top: 45px;
right: -5px;
padding: 10px;
}
#sessions .token-list div.configure:after,
#apppasswords .token-list div.configure:after {
right: 13px;
}
#sessions .token-list tr.active div.configure > *,
#apppasswords .token-list tr.active div.configure > *{
margin-top: 5px;
margin-bottom: 5px;
display: inline-block;
}
#sessions .token-list tr.active a.icon-delete,
#apppasswords .token-list tr.active a.icon-delete {
background-position: left;
padding-left: 20px;
2016-05-18 19:25:05 +03:00
}
2016-06-24 18:00:59 +03:00
#new-app-login-name,
2016-06-16 11:54:03 +03:00
#new-app-password {
width: 186px;
2016-05-18 19:25:05 +03:00
font-family: monospace;
background-color: lightyellow;
}
2016-06-24 18:00:59 +03:00
.app-password-row {
display: table-row;
}
2016-08-10 10:10:39 +03:00
.app-password-row .icon {
background-size: 16px 16px;
display: inline-block;
position: relative;
top: 3px;
margin-left: 5px;
2016-08-10 11:47:51 +03:00
margin-right: 8px;
2016-08-10 10:10:39 +03:00
}
2016-06-24 18:00:59 +03:00
.app-password-label {
display: table-cell;
padding-right: 1em;
}
2016-08-11 14:14:00 +03:00
.social-button {
padding-left: 0 !important;
2016-08-11 14:14:00 +03:00
margin-left: -10px
}
2016-08-10 12:27:13 +03:00
.social-button img {
2016-08-11 14:01:08 +03:00
padding: 10px;
2016-08-10 12:27:13 +03:00
}
/* USERS */
#newgroup-init a span { margin-left: 20px; }
#newgroup-init a span:before {
position: absolute; left: 12px; top:-2px;
content: '+'; font-weight: bold; font-size: 150%;
}
#newgroup-form {
height: 44px;
}
#newgroupname {
margin: 0;
width: 100%;
padding: 12px 40px 12px 12px;
box-sizing: border-box;
background-color: transparent;
border: none;
border-bottom: 1px solid #eee;
border-radius: 0;
}
#newgroup-form .button {
position: absolute;
right: 0;
top: 0;
padding: 10px 20px;
background-color: transparent;
border: none;
opacity: .5;
}
.isgroup .groupname {
width: 85%;
display: block;
overflow: hidden;
text-overflow: ellipsis;
}
.isgroup.active .groupname {
width: 65%;
}
2014-01-30 19:48:18 +04:00
.usercount { float: left; margin: 5px; }
li.active span.utils .delete {
float: left; position: relative; opacity: 0.5;
top: -7px; left: 7px; width: 44px; height: 44px;
}
li.active .rename {
padding: 8px 14px 20px 14px;
2014-04-18 00:14:04 +04:00
top: 0px; position: absolute; width: 16px; height: 16px;
opacity: 0.5;
display: inline-block !important;
}
li.active span.utils .delete img { margin: 14px; }
li.active .rename { opacity: 0.5; }
li.active span.utils .delete:hover, li.active .rename:hover { opacity: 1; }
span.utils .delete, .rename { display: none; }
#app-navigation ul li.active > span.utils .delete,
#app-navigation ul li.active > span.utils .rename { display: block; }
#usersearchform {
position: absolute;
top: 2px;
right: 0;
}
#usersearchform input {
width: 150px;
}
#usersearchform label { font-weight: 700; }
/* display table at full width */
table.grid {
width: 100%;
}
table.grid th {
height: 2em;
color: #999;
}
table.grid th, table.grid td {
border-bottom: 1px solid #eee;
padding: 0 .5em;
padding-left: .8em;
text-align: left;
font-weight: normal;
}
td.name, td.password { padding-left:.8em; }
td.password>img,td.displayName>img, td.remove>a, td.quota>img { visibility:hidden; }
td.password, td.quota, td.displayName { width:12em; cursor:pointer; }
td.password>span, td.quota>span, rd.displayName>span { margin-right: 1.2em; color: #C7C7C7; }
span.usersLastLoginTooltip { white-space: nowrap; }
/* dropdowns will be relative to this element */
#userlist {
position: relative;
}
#userlist .mailAddress,
#userlist .storageLocation,
#userlist .userBackend,
#userlist .lastLogin {
display : none;
}
/* because of accessibility the name cell is <th> - therefore we enforce the black color */
#userlist th.name {
color: #000;
}
/* use same height as in files app */
#userlist tr {
height: 51px;
}
#userlist .mailAddress .loading-small {
width: 16px;
height: 16px;
margin-left: -26px;
position: relative;
top: 3px;
}
#newuser .groups {
display: inline;
}
#newuser .groupsListContainer.hidden,
#userlist .groupsListContainer.hidden {
display: none;
}
tr:hover>td.password>span, tr:hover>td.displayName>span { margin:0; cursor:pointer; }
tr:hover>td.remove>a, tr:hover>td.password>img,tr:hover>td.displayName>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
td.remove {
width: 25px;
}
tr:hover>td.remove>a {
float: left;
}
2014-02-26 12:32:20 +04:00
div.recoveryPassword { left:50em; display:block; position:absolute; top:-1px; }
input#recoveryPassword {width:15em;}
#controls select.quota {
margin: 3px;
margin-right: 10px;
height: 37px;
}
2012-06-08 13:37:04 +04:00
select.quota-user { position:relative; left:0; top:0; width:10em; }
2012-02-25 01:56:13 +04:00
select.quota.active { background: #fff; }
2014-04-18 00:14:04 +04:00
input.userFilter {width: 200px;}
/* positioning fixes */
#newuser {
padding-left: 3px;
}
#newuser .multiselect {
min-width: 150px !important;
}
#newuser .multiselect,
#newusergroups + input[type='submit'] {
position: relative;
top: -1px;
}
#headerGroups,
#headerSubAdmins,
#headerQuota {
padding-left: 18px;
}
#headerAvatar {
width: 32px;
}
/* used to highlight a user row in red */
#userlist tr.row-warning {
background-color: #FDD;
}
/* APPS */
.appinfo { margin: 1em 40px; }
#app-navigation .appwarning {
background: #fcc;
}
#app-navigation.appwarning:hover {
background: #fbb;
}
2015-04-07 12:55:10 +03:00
span.version {
margin-left: 1em;
margin-right: 1em;
color: #555;
}
2012-02-26 00:19:32 +04:00
#app-navigation .app-external,
2015-04-07 12:55:10 +03:00
.app-version {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
}
.app-level {
2015-04-07 12:55:10 +03:00
margin-top: 8px;
}
2015-04-07 12:55:10 +03:00
.app-level span {
color: #555;
background-color: transparent;
border: 1px solid #555;
border-radius: 3px;
padding: 3px 6px;
}
.app-level .official {
border-color: #37ce02;
background-position: left center;
background-position: 5px center;
padding-left: 25px;
}
.app-score {
position: relative;
top: 4px;
}
#apps-list {
position: relative;
height: 100%;
2016-09-10 15:10:11 +03:00
display: flex;
flex-wrap: wrap;
align-content: flex-start;
}
#apps-list .section {
position: relative;
flex: 0 0 auto;
margin-left: 20px;
}
#apps-list .section.apps-experimental {
flex-basis: 90%;
}
@media (min-width: 1601px) {
#apps-list .section {
width: 22%;
box-sizing: border-box;
}
#apps-list .section:nth-child(4n) {
margin-right: 20px;
}
}
@media (min-width: 1201px) and (max-width: 1600px) {
#apps-list .section {
width: 30%;
box-sizing: border-box;
}
#apps-list .section:nth-child(3n) {
margin-right: 20px;
}
}
@media (min-width: 901px) and (max-width: 1200px), (min-width: 601px) and (max-width: 770px) {
#apps-list .section {
width: 40%;
box-sizing: border-box;
}
#apps-list .section:nth-child(2n) {
margin-right: 20px;
}
}
@media (max-width: 600px), (min-width: 771px) and (max-width: 900px) {
#apps-list .section {
width: 100%;
box-sizing: border-box;
}
}
2015-04-07 12:55:10 +03:00
.section h2.app-name {
margin-bottom: 8px;
display: inline;
2015-04-07 12:55:10 +03:00
}
form.section {
position: relative;
}
.followupsection {
display: block;
padding: 0 30px 30px 30px;
color: #555;
margin-bottom: 24px;
margin-top: -30px;
position: relative;
}
.app-image {
float: left;
padding-right: 10px;
width: 80px;
height: 80px;
2016-08-11 13:23:39 +03:00
opacity: 0.8;
}
.app-name,
.app-version,
.app-score,
2015-04-07 12:55:10 +03:00
.app-level {
display: inline-block;
}
.app-description-toggle-show,
.app-description-toggle-hide {
clear: both;
padding: 7px 0;
cursor: pointer;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
opacity: .5;
}
.app-description-container {
clear: both;
position: relative;
top: 7px;
}
.app-description {
clear: both;
}
.app-description pre {
white-space: pre-line;
}
#apps-list .groups-enable {
margin-top: 8px;
}
#app-category-1 {
margin-bottom: 18px;
}
/* capitalize "Other" category */
#app-category-925 {
text-transform: capitalize;
}
.app-dependencies {
2015-04-07 12:55:10 +03:00
color: #ce3702;
}
.missing-dependencies {
list-style: initial;
list-style-type: initial;
list-style-position: inside;
}
/* Transition to complete width! */
.app:hover, .app:active { max-width: inherit; }
2012-09-05 01:42:22 +04:00
.appslink { text-decoration: underline; }
.score { color:#666; font-weight:bold; font-size:0.8em; }
2012-09-05 01:42:22 +04:00
2014-01-17 17:05:39 +04:00
.appinfo .documentation {
margin-top: 1em;
margin-bottom: 1em;
}
/* LOG */
2015-01-21 18:19:14 +03:00
#log {
white-space:normal;
margin-bottom: 14px;
}
2013-03-28 18:43:14 +04:00
#lessLog { display:none; }
table.grid td.date{
white-space: nowrap;
}
2016-07-26 12:27:48 +03:00
#log-section p {
margin-top:20px;
}
/* ADMIN */
#security-warning li {
list-style: initial;
margin: 10px 0;
}
2015-08-21 12:09:01 +03:00
#security-warning-state span {
padding-left: 25px;
background-position: 5px center;
margin-left: -5px;
}
#shareAPI p { padding-bottom: 0.8em; }
#shareAPI input#shareapiExpireAfterNDays {width: 25px;}
#shareAPI .indent {
padding-left: 28px;
}
#shareAPI .double-indent {
padding-left: 56px;
}
#fileSharingSettings h3 {
display: inline-block;
}
#publicShareDisclaimerText {
width: calc(100% - 23px); /* 20 px left margin, 3 px right margin */
max-width: 600px;
height: 150px;
margin-left: 20px;
box-sizing: border-box;
}
/* correctly display help icons next to headings */
.icon-info {
padding: 11px 20px;
vertical-align: text-bottom;
}
#shareAPI h2,
#encryptionAPI h2,
#mail_general_settings h2 {
display: inline-block;
}
#encryptionAPI li {
list-style-type: initial;
margin-left: 20px;
padding: 5px 0;
}
.mail_settings p label:first-child {
display: inline-block;
width: 300px;
text-align: right;
}
.mail_settings p select:nth-child(2) {
width: 143px;
}
#mail_smtpport {
width: 40px;
}
.cronlog {
margin-left: 10px;
}
.status {
2014-03-12 18:20:51 +04:00
display: inline-block;
height: 16px;
width: 16px;
vertical-align: text-bottom;
}
.status.success {
2014-06-02 19:25:08 +04:00
border-radius: 50%;
}
#selectGroups select {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
height: 36px;
padding: 7px 10px
}
#log .log-message {
word-break: break-all;
min-width: 180px;
}
span.success {
background: #37ce02;
border-radius: 3px;
}
span.error {
background: #ce3702;
}
span.indeterminate {
background: #e6db00;
border-radius: 40% 0;
}
/* PASSWORD */
2016-06-15 16:27:07 +03:00
#passwordform .strengthify-wrapper {
position: absolute;
2016-06-15 16:27:07 +03:00
left: 186px;
width: 131px;
margin-top: -7px;
}
/* OPERA hack for strengthify*/
doesnotexist:-o-prefocus, .strengthify-wrapper {
left: 185px;
width: 129px;
}
.trusted-domain-warning {
color: #fff;
padding: 5px;
background: #ce3702;
border-radius: 5px;
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
/* HELP */
.help-includes {
overflow: hidden !important;
}
.help-iframe {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
border: 0;
overflow: auto;
}
#postsetupchecks .loading {
height: 50px;
background-position: left center;
}
2015-08-17 12:17:48 +03:00
#postsetupchecks .errors,
#postsetupchecks .warnings,
#security-warning > ul {
color: #ce3702;
}
#admin-tips li {
list-style: initial;
}
#admin-tips li a {
display: inline-block;
padding: 3px 0;
}
#selectEncryptionModules {
margin-left: 30px;
padding: 10px;
}
#encryptionModules {
padding: 10px;
}
#warning {
color: red;
}