1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-10 21:24:33 +01:00
OwncloudContactsOfficial/css/contacts.css

343 lines
18 KiB
CSS
Raw Normal View History

2012-10-05 05:05:49 +02:00
/* General element settings */
2012-11-22 00:23:20 +01:00
#content li { cursor: default; }
#content input[type=checkbox] {
height: 14px; width: 14px;
border: 1px solid #fff;
-moz-appearance:none; -webkit-appearance: none;
-moz-box-sizing:none; box-sizing:none;
-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
-moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
}
#content input[type=radio] { width: 12px; height: 12px; }
#content input[type=checkbox]:hover { border: 1px solid #D4D4D4 !important; }
#content input[type=checkbox]:checked::after {
content: url('%appswebroot%/contacts/img/checkmark.png');
display: block;
position: relative;
top: -8px;
left: -6px;
}
2012-11-22 00:23:20 +01:00
#content input[type=radio]:checked::after {
2012-10-25 23:20:23 +02:00
content: url('%appswebroot%/contacts/img/checkmark.png');
margin: 0; padding: 0;
display: inline-block;
position: relative;
top: -8px;
left: -6px;
}
2012-11-22 00:23:20 +01:00
#content textarea { font-family: inherit; }
#content input:-moz-placeholder { color: #aaa; }
#content input::-webkit-input-placeholder { color: #aaa; }
#content input:-ms-input-placeholder { color: #aaa; }
#content input:placeholder { color: #aaa; }
2012-10-05 05:05:49 +02:00
/* Left content */
#leftcontent { top: 3.5em !important; padding: 0; margin: 0; }
2012-11-15 03:53:15 +01:00
#leftcontent a { display: inline-block; }
2012-06-17 21:34:56 +02:00
#leftcontent h3 { cursor: pointer; -moz-transition: background 300ms ease 0s; background: none no-repeat scroll 1em center #eee; border-bottom: 1px solid #ddd; border-top: 1px solid #fff; display: block; max-width: 100%; padding: 0.5em 0.8em; color: #666; text-shadow: 0 1px 0 #f8f8f8; font-size: 1.2em; }
2012-07-15 22:00:09 +02:00
#leftcontent h3:hover,#leftcontent h3:active,#leftcontent h3.active { background-color: #DBDBDB; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #D4D4D4; color: #333333; font-weight: bold; }
#leftcontent h3 img.shared { float: right; opacity: 0.4; margin: 0 .5em; }
#leftcontent h3 img.shared:hover { opacity: 1; }
2012-10-05 05:05:49 +02:00
#groupactions { box-sizing: border-box; height: 4em; border-bottom: 1px solid #DDDDDD; }
#groupactions > button, .addcontact {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
border-color: #51A351 #419341 #387038;
border-image: none;
border-style: solid;
border-width: 1px;
box-shadow: 0 1px 1px #F8F8F8, 1px 1px 1px #AADDAA inset;
background-color: #5BB75B;
color: #fff;
border-right: medium none;
margin: .7em 2em;
}
#grouplist { z-index: 100; }
#grouplist h3 .action { float: right; display: none; padding: 0; margin: auto; }
2012-11-23 01:20:45 +01:00
#grouplist h3:not([data-type="shared"]):hover .action.numcontacts, #grouplist h3:not([data-type="shared"]) .active.action.numcontacts { display: inline-block; }
2012-11-22 19:32:47 +01:00
#grouplist h3[data-type="category"]:hover .action.delete { display: inline-block; }
#grouplist h3 .action.delete { width: 20px; height: 20px; }
2012-10-05 05:05:49 +02:00
/* First run */
2012-09-06 16:35:46 +02:00
#firstrun { position: relative; top: 25%; left: 20%; right: 20%; width: 50%; font-weight:bold; text-align: center; color: #777; }
#firstrun h3 { font-size:1.5em; text-align: center; margin-bottom: 1em; }
#firstrun p { font-size:1.2em; text-align:center; }
#firstrun #selections { font-size:0.8em; margin: 2em auto auto auto; clear: both; }
2012-11-22 00:23:20 +01:00
#content input:not([type="checkbox"]), #content select, #content textarea {
background-color: #fefefe; border: 1px solid #fff !important;
-moz-appearance:none !important; -webkit-appearance: none !important;
-webkit-box-sizing:none !important; -moz-box-sizing:none !important; box-sizing:none !important;
-moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none;
-moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;
float: left;
}
#content input:invalid, #content input:hover:not([type="checkbox"]), #content input:active:not([type="checkbox"]), #content input:focus:not([type="checkbox"]), #content textarea:focus, #content textarea:hover {
border: 1px solid silver !important;
-moz-border-radius:.3em; -webkit-border-radius:.3em; border-radius:.3em;
outline:none; float: left;
}
2012-11-22 00:23:20 +01:00
#contact { margin: 1em; }
#contact textarea { min-height: 5em; min-width: 30em; margin: 0 !important; padding: 0 !important; outline: 0 !important;}
#contact input[type="checkbox"] { margin-top: 10px; vertical-align: bottom; float: left; }
2012-10-05 05:05:49 +02:00
dl.form { display: inline-block; width: auto; margin: 0; padding: 0; cursor: normal; }
.form dt { display: table-cell; clear: left; float: left; width: 7em; margin: 0; padding: 0.8em 0.5em 0 0; text-align:right; text-overflow:ellipsis; o-text-overflow: ellipsis; vertical-align: text-bottom; color: #bbb;/* white-space: pre-wrap; white-space: -moz-pre-wrap !important; white-space: -pre-wrap; white-space: -o-pre-wrap;*/ }
.form dd { display: table-cell; clear: right; float: left; margin: 0; padding: 0; white-space: nowrap; vertical-align: text-bottom; }
2012-11-22 19:32:47 +01:00
.action { display: inline-block; width: 20px; height: 20px; }
.action.share { height: 20px !important; width: 20px; float: right !important; clear: right; }
/* override the default margin on share dropdown */
#dropdown { margin: 1.5em 0; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; }
2012-04-26 15:20:01 +02:00
.add { background:url('%webroot%/core/img/actions/add.svg') no-repeat center; clear: both; }
2012-10-23 06:27:22 +02:00
.delete { background:url('%webroot%/core/img/actions/delete.png') no-repeat center; }
2012-04-26 15:20:01 +02:00
.edit { background:url('%webroot%/core/img/actions/rename.svg') no-repeat center; }
2012-07-01 03:06:49 +02:00
.share { background:url('%webroot%/core/img/actions/share.svg') no-repeat center; }
2012-04-26 15:20:01 +02:00
.mail { background:url('%webroot%/core/img/actions/mail.svg') no-repeat center; }
.upload { background:url('%webroot%/core/img/actions/upload.svg') no-repeat center; }
.download { background:url('%webroot%/core/img/actions/download.svg') no-repeat center; }
2012-04-26 15:20:01 +02:00
.cloud { background:url('%webroot%/core/img/places/picture.svg') no-repeat center; }
.globe { background:url('%webroot%/core/img/actions/public.svg') no-repeat center; }
2012-10-22 15:35:33 +02:00
.starred { display: inline-block; height: 22px; width: 22px; padding: 0; margin: 0; background:url('%appswebroot%/contacts/img/starred.png') no-repeat center; }
.transparent{ opacity: 0.6; }
2012-10-15 21:36:13 +02:00
.float { float: left; display: inline-block; width: auto; }
.break { clear: both; }
2012-10-05 05:05:49 +02:00
.loading { background: url('%webroot%/core/img/loading.gif') no-repeat center !important; /*cursor: progress; */ cursor: wait; }
2012-10-22 15:35:33 +02:00
.wait { opacity: cursor: wait; }
2012-10-05 05:05:49 +02:00
.control {
border: 1px solid #DDDDDD;
border-radius: 0.3em;
color: #555;
cursor: pointer;
font-weight: bold;
font-size: 1em;
width: auto;
}
.control > * { background: none repeat scroll 0 0 #F8F8F8; color: #555 !important; font-size: 100%; margin: 0px; }
.ui-draggable { height: 3em; z-index: 1000; }
.ui-draggable-dragging { width: 70%; cursor: move; }
.ui-state-hover { border: 1px solid dashed; z-index: 1; }
2012-10-05 05:05:49 +02:00
/* Properties */
2012-11-22 04:09:52 +01:00
.fullname { font-weight:bold; font-size:1.5em; width: 17em; }
.singleproperties { display: inline-block; float: left; width: 30em;}
2012-11-22 00:23:20 +01:00
.singleproperties input.value { font-weight: bold; }
2012-11-22 04:09:52 +01:00
.singleproperties .action { float: left; width: 20px; height: 20px; }
.singleproperties .n input { width: 17em}
.singleproperties dl { min-width: 24em; }
.propertylist li.propertycontainer { white-space: nowrap; min-width: 38em; display: block; clear: both; }
2012-11-22 00:23:20 +01:00
.propertylist li.propertycontainer > .listactions { display: inline-block; position: absolute; clear: none; opacity: 0; float: right; }
2012-10-15 21:36:13 +02:00
.propertylist li.propertycontainer .listactions a { display: inline-block; float: left; clear: none; width: 20px; height: 20px; }
.propertylist { float: left; }
2012-10-15 21:36:13 +02:00
/*.propertylist li > a { display: block; }}*/
2012-10-05 05:05:49 +02:00
.propertylist li > input[type="checkbox"],input[type="radio"] { display: inline-block; }
2012-11-22 00:23:20 +01:00
.propertylist input.value:not([type="checkbox"]) { width: 16em; display: inline-block; font-weight: bold; }
.propertylist li > select { float: left; max-width: 8em; }
2012-10-05 05:05:49 +02:00
.select_wrapper { float: left; overflow: hidden; color: #bbb; font-size: 0.8em; }
.select_wrapper select { float: left; overflow: hidden; text-overflow: ellipsis; color: #bbb; width: 8em; }
.select_wrapper select:hover { overflow: inherit; text-overflow: inherit; }
.select_wrapper select option { color: #777; }
.select_wrapper select:hover,.propertylist li > select:focus,.propertylist li > select:active { color: #777; }
.select_wrapper select.rtl { margin-left: -24px; direction: rtl; }
.select_wrapper select.ltr { margin-right: -23px; }
2012-08-22 18:50:50 +02:00
.propertylist li > input[type="checkbox"].impp { clear: none; }
.propertylist li > label.xab { display: block; color: #bbb; float:left; clear: both; padding: 0.5em 0 0 2.5em; }
2012-08-22 18:50:50 +02:00
.propertylist li > label.xab:hover { color: #777; }
2012-10-05 05:05:49 +02:00
#rightcontent label, #rightcontent dt, #rightcontent th, #rightcontent .label { float: left; font-size: 0.7em; font-weight: bold; color: #bbb !important; max-width: 7em !important; border: 0; }
#rightcontent label:hover, .form dt:hover, #rightcontent input.label:hover { color: #777 !important; }
#rightcontent input.label:hover, #rightcontent input.label:active { border: 0 none !important; border-radius: 0; cursor: pointer; }
2012-08-22 18:50:50 +02:00
.typelist[type="button"] { float: left; max-width: 8em; border: 0; background-color: #fff; color: #bbb; box-shadow: none; } /* for multiselect */
.typelist[type="button"]:hover { color: #777; } /* for multiselect */
2012-04-30 01:01:24 +02:00
.addresslist { clear: both; font-weight: bold; }
2012-10-05 05:05:49 +02:00
/* Help section */
#ninjahelp { position: relative; bottom: 0; left: 0; right: 0; padding: 1em; margin: 1em; opacity: 0.9; }
2012-07-22 00:15:28 +02:00
#ninjahelp .close { position: absolute; top: 5px; right: 5px; height: 20px; width: 20px; }
#ninjahelp h2, .help-section h3 { width: 100%; font-weight: bold; text-align: center; }
#ninjahelp h2 { font-size: 1.4em; }
.help-section { width: 45%; min-width: 35em; float: left; }
.help-section h3 { font-size: 1.2em; }
.help-section dl { width: 100%; float: left; clear: right; margin: 0; padding: 0; cursor: normal; }
.help-section dt { display: table-cell; clear: left; float: left; width: 35%; margin: 0; padding: 0.2em; text-align: right; text-overflow: ellipsis; vertical-align: text-bottom; font-weight: bold; }
2012-07-22 00:15:28 +02:00
.help-section dd { display: table-cell; clear: right; float: left; margin: 0; padding: 0.2em; white-space: nowrap; vertical-align: text-bottom; }
2012-10-05 05:05:49 +02:00
/* Settings */
.contacts-settings dl { width: 100%; }
.addressbooks-settings table { width: 100%; }
.addressbooks-settings .actions { width: 100%; white-space: nowrap; }
.addressbooks-settings .actions * { float: left; }
.addressbooks-settings .actions input.name { width: 5em; }
.addressbooks-settings .actions input.name { width: 7em; }
2012-10-05 05:05:49 +02:00
.addressbooks-settings a.action { opacity: 0.5; }
.addressbooks-settings a.action:hover { opacity: 1; }
.addressbooks-settings td.active, .addressbooks-settings td.action { width: 20px; }
2012-11-14 00:42:02 +01:00
#contacts-settings .settings {
width: 20px; height: 20px;
float: right;
background:url('%webroot%/core/img/actions/settings.svg') no-repeat center;
}
#contacts-settings.open {
height: auto;
}
#contacts-settings {
-moz-box-sizing: border-box;
box-sizing: border-box;
background: none repeat scroll 0 0 #EEEEEE;
border-right: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC;
bottom: 0;
height: 2.8em;
margin: 0;
overflow: visible;
padding: 0;
position: fixed;
width: 20em;
z-index: 2;
}
#contacts-settings li,#contacts-settings li:hover { background-color: transparent; white-space: nowrap; }
2012-10-05 05:05:49 +02:00
/* Single elements */
2012-11-05 12:40:50 +01:00
#file_upload_target, #import_upload_target, #crop_target { display:none; }
#toggle_all { position: absolute; bottom: .5em; left: .8em; }
input.propertytype { float: left; font-size: .8em; width: 8em !important; direction: rtl;}
2012-10-05 05:05:49 +02:00
.contactphoto { float: left; display: inline-block; border-radius: 0.3em; border: thin solid #bbb; margin: 0.5em; background: url('%webroot%/core/img/loading.gif') no-repeat center center; -moz-box-shadow: 0 1px 3px #777; -webkit-box-shadow: 0 1px 3px #777; box-shadow: 0 1px 3px #777; opacity: 1; }
.contactphoto:hover { background: #fff; cursor: default; }
2012-10-15 21:36:13 +02:00
#photowrapper { display: inline-block; float: left; width: 150px; }
#photowrapper.wait { opacity: 0.6; filter:alpha(opacity=0.6); z-index:1000; background: url('%webroot%/core/img/loading.gif') no-repeat center; cursor: wait; }
#phototools { position:absolute; margin: 5px 0 0 10px; width:auto; height:22px; padding:0px; background-color:#fff; list-style-type:none; border-radius: 0.3em; -moz-box-shadow: 0 1px 3px #777; -webkit-box-shadow: 0 1px 3px #777; box-shadow: 0 1px 3px #777; }
#phototools li { display: inline; }
#phototools li a { float:left; cursor:pointer; width:22px; height:22px; opacity: 0.6; }
#phototools li a:hover { opacity: 0.8; }
#contactphoto_fileupload, #import_fileupload { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; z-index:1001; width:0; height:0;}
2012-10-22 15:35:33 +02:00
.favorite { display: inline-block; float: left; height: 20px; width: 20px; background:url('%appswebroot%/contacts/img/inactive_star.png') no-repeat center; }
.favorite.active, .favorite:hover { background:url('%appswebroot%/contacts/img/active_star.png') no-repeat center; }
.favorite.inactive { background:url('%appswebroot%/contacts/img/inactive_star.png') no-repeat center; }
2012-10-05 05:05:49 +02:00
/* Header */
#contactsheader { position: fixed; box-sizing: border-box; padding: 0; margin:0; top:3.5em; left: 32.5em; right: 0; height: 4em; border-bottom: 1px solid #DDDDDD; z-index: 50; }
2012-10-05 05:05:49 +02:00
#contactsheader div.actions { padding: 0 0.5em; margin: 0 auto; height: 100%; width: 90%; }
#contactsheader button, #contactsheader select { position: relative; float: left; min-width: 26px; height: 26px; margin: .7em; padding: .2em; clear: none; }
2012-09-30 06:37:16 +02:00
#contactsheader .back { }
#contactsheader .import { background:url('%webroot%/core/img/actions/upload.svg') no-repeat center; }
#contactsheader .delete { background:url('%webroot%/core/img/actions/delete.svg') no-repeat center; }
2012-09-30 06:37:16 +02:00
#contactsheader .list.add { margin-left: 5em; }
2012-10-05 05:05:49 +02:00
/* Right content layout */
#rightcontent, .rightcontent { position:fixed; top: 7.5em; left: 32.5em; overflow-x:hidden; overflow-y: auto; }
/* Contact layout */
2012-11-22 00:22:12 +01:00
#contact > ul.propertylist {
2012-10-22 15:35:33 +02:00
font-size: 10px;
2012-10-05 05:05:49 +02:00
/*display: table;
border-spacing: 1em;
border: thin solid black;*/
}
2012-11-22 00:22:12 +01:00
#contact > ul.propertylist > li {
2012-10-05 05:05:49 +02:00
display: inline-block;
padding: 1em;
/*display: table-cell;*/
2012-10-22 15:35:33 +02:00
}
2012-10-05 05:05:49 +02:00
2012-11-24 14:01:29 +01:00
.display .adr { cursor: pointer; }
2012-11-22 00:22:12 +01:00
.adr.edit {
width: 20em;
border: 1px solid silver; -moz-border-radius:.3em; -webkit-border-radius:.3em; border-radius:.3em; outline:none;
}
.adr.edit ul {
-moz-column-count: 1;
-webkit-columns: 1;
-o-columns: 1;
columns: 1;
}
.adr.edit input.value { border: none; }
.adr.edit input.value:hover { border: none; }
.adr.edit input.value.street, ul.adr.edit input.value.country, ul.adr.edit input.value.region { width: 19em;}
.adr.edit input.value.zip { width: 5em; }
.adr.edit input.value.city { width: 10em; }
#rightcontent footer { padding: 1em; width: 100%; box-sizing: border-box; clear: both; }
#rightcontent footer > { display: inline-block; }
2012-10-05 05:05:49 +02:00
/* contact list */
#contactlist { position: relative; top: 0; left: 0; right: 0; width: 100%; }
#contactlist tr { height: 3em; display: none; }
2012-10-05 05:05:49 +02:00
#contactlist tr.active, #contactlist tr:hover { background-color: #eee; }
#contactlist tr > td { border-bottom: 1px solid #DDDDDD; font-weight: normal; text-align: left; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
#contactlist tr > td:hover { overflow: inherit; text-overflow: inherit; background-color: #fff; z-index: 200; }
#contactlist tr > td:not(.adr) { width: 15%; }
#contactlist tr > td.name>input[type=checkbox]:first-child { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; float:left; margin:.5em 0 0 1.2em; -webkit-transition:opacity 200ms; -moz-transition:opacity 200ms; -o-transition:opacity 200ms; transition:opacity 200ms; }
#contactlist tr > td.name>input[type="checkbox"]:hover:first-child { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; filter:alpha(opacity=80); opacity:.8; }
#contactlist tr > td.name>input[type="checkbox"]:checked:first-child { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
#contactlist tr > td.name { font-weight: bold; text-indent: 1.6em; -webkit-transition:background-image 500ms; -moz-transition:background-image 500ms; -o-transition:background-image 500ms; transition:background-image 500ms; position:relative; background-position:1em .5em !important; background-repeat:no-repeat !important; }
2012-10-15 21:36:13 +02:00
#contactlist tr > td a.mailto { position: absolute; float: right; clear: none; cursor:pointer; width:22px; height:22px; z-index: 200; opacity: 0.6; background:url('%webroot%/core/img/actions/mail.svg') no-repeat center; }
2012-10-05 05:05:49 +02:00
#contactlist tr > td a.mailto:hover { opacity: 0.8; }
#contact figure img { -moz-border-radius:.3em; -webkit-border-radius:.3em; border-radius:.3em; border: thin solid #bbb; margin: 0.3em; background: url('%webroot%/core/img/loading.gif') no-repeat center center; -moz-box-shadow: 0 1px 3px #777; -webkit-box-shadow: 0 1px 3px #777; box-shadow: 0 1px 3px #777; opacity: 1; }
#contact span.adr {
font-weight: bold;
float: left;
width: 20em;
padding-top: .5em;
overflow: hidden; text-overflow: ellipsis; text-align: bottom; white-space: nowrap;
}
2012-10-15 21:36:13 +02:00
#contact span.adr:hover { /*overflow: inherit;*/ white-space: pre-wrap; }
2012-10-05 05:05:49 +02:00
@media screen and (min-width: 1400px) {
2012-11-22 00:22:12 +01:00
#contact > ul.propertylist {
-moz-column-count: 3;
2012-10-05 05:05:49 +02:00
-webkit-columns: 3;
-o-columns: 3;
columns: 3;
}
}
@media screen and (min-width: 800px) and (max-width: 1400) {
2012-10-05 05:05:49 +02:00
#singlevalues { max-width: 50%; }
2012-11-22 00:22:12 +01:00
#contact > ul.propertylist {
-moz-column-count: 2;
-webkit-columns: 2;
-o-columns: 2;
columns: 2;
}
}
@media screen and (max-width: 400px) {
2012-11-22 00:22:12 +01:00
#contact > ul.propertylist {
-moz-column-count: 1;
-webkit-columns: 1;
-o-columns: 1;
columns: 1;
}
}
@media screen and (max-width: 1500px) {
#contactlist tr td.categories { display: none; }
}
@media screen and (max-width: 1400px) {
#contactlist tr td.adr { display: none; }
}
@media screen and (max-width: 1200px) {
#contactlist tr td.tel { display: none; }
}
@media screen and (max-width: 900px) {
#contactlist tr td.email { display: none; }
}