mirror of https://github.com/xwiki-labs/cryptpad
use logo in toolbar
This commit is contained in:
parent
1b83e15796
commit
f6d45d05f6
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 83 KiB |
|
@ -815,13 +815,16 @@ body .cryptpad-toolbar {
|
|||
}
|
||||
a.cryptpad-logo {
|
||||
cursor: pointer;
|
||||
font-size: 1em;
|
||||
height: auto;
|
||||
padding: 0px 5px;
|
||||
display: inline-flex;
|
||||
text-decoration: none;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
|
||||
// hack because of whiteboard and poll
|
||||
color: white !important;
|
||||
img {
|
||||
cursor: pointer;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.cryptpad-user {
|
||||
|
|
|
@ -625,8 +625,10 @@ define([
|
|||
var $aTag = $('<a>', {
|
||||
href: "/drive/",
|
||||
title: Messages.header_logoTitle,
|
||||
'class': "cryptpad-logo fa fa-hdd-o"
|
||||
});
|
||||
'class': "cryptpad-logo"
|
||||
}).append($('<img>', {
|
||||
src: '/customize/images/logo_white.svg'
|
||||
}));
|
||||
var onClick = function (e) {
|
||||
e.preventDefault();
|
||||
if (e.ctrlKey) {
|
||||
|
|
Loading…
Reference in New Issue