mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
update icons on features page
This commit is contained in:
parent
c13b904b2f
commit
3b080f596d
@ -15,6 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
<script src="/customize/pre-loading.js?ver=1.1"></script>
|
||||
<link href="/customize/src/pre-loading.css?ver=1.0" rel="stylesheet" type="text/css">
|
||||
<script async data-bootload="/customize/template.js" data-main="/common/boot.js?ver=1.0" src="/components/requirejs/require.js?ver=2.3.7"></script>
|
||||
<script src="/customize/fonts/lucide.js"></script>
|
||||
</head>
|
||||
<body class="html">
|
||||
<noscript></noscript>
|
||||
|
||||
@ -27,7 +27,7 @@ define([
|
||||
|
||||
var groupItemTemplate = function (title, content) {
|
||||
return h('li.list-group-item', [
|
||||
h('div.cp-check'),
|
||||
h('i', {'data-lucide':'check', 'aria-hidden':'true'}),
|
||||
h('div.cp-content', [
|
||||
h('div.cp-feature', title),
|
||||
h('div.cp-note', content),
|
||||
|
||||
@ -76,22 +76,15 @@
|
||||
.list-group {
|
||||
li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding-left: 0;
|
||||
padding-right: 5px;
|
||||
svg {
|
||||
width: 30px;
|
||||
color: @cryptpad_color_brand;
|
||||
}
|
||||
}
|
||||
div {
|
||||
&.cp-check {
|
||||
width: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
&:before {
|
||||
content: "\f00c";
|
||||
font-family: "FontAwesome";
|
||||
font-size: 14px;
|
||||
color: @cryptpad_color_brand;
|
||||
}
|
||||
}
|
||||
&.cp-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
|
||||
@ -16,7 +16,6 @@ define([
|
||||
|
||||
$(function () {
|
||||
var $body = $('body');
|
||||
|
||||
var pathname = location.pathname;
|
||||
|
||||
// add class on info-pages
|
||||
@ -58,7 +57,7 @@ $(function () {
|
||||
titleSuffix = window.location.hostname;
|
||||
}
|
||||
document.title = document.title + ' - ' + titleSuffix;
|
||||
|
||||
setTimeout(() => lucide.createIcons(), 0);
|
||||
$('#placeholder').remove();
|
||||
|
||||
$body.append($main);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user