edit icons on drive

This commit is contained in:
daria 2025-07-10 17:08:29 +03:00
parent 3498ebceef
commit 286dc074eb
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
5 changed files with 8 additions and 6 deletions

View File

@ -213,7 +213,7 @@ define([
]),
h('div.cp-app-drive', [
h('a.cp-drive-btn', {'href': '/drive/'}, [
Icons.get('hdd'),
Icons.get('drive'),
Msg.team_cat_drive
]),
extraButtons

View File

@ -585,7 +585,7 @@
color: @cryptpad_color_link;
text-decoration: underline;
}
span {
svg {
cursor: pointer;
float: right;
margin-top: 0.5em;

View File

@ -12,7 +12,8 @@
};
& {
.cp-help-container {
display:inline-flex;
align-items: center;
position: relative;
background-color: @cp_help-bg;
max-height: 50%;
@ -25,7 +26,6 @@
border: none;
position: absolute;
color: @cryptpad_text_col;
top: 5px;
right: 5px;
&:focus-visible {
outline: @variables_focus_style;

View File

@ -1413,7 +1413,9 @@ define([
common.fixLinks(text);
var closeButton = h('button.cp-help-close.fa.fa-times', {
var closeButton = h('button.cp-help-close',[
Icons.get('close')
], {
title: Messages.help_close_button
});
var $toolbarButton = common.createButton('', true, {

View File

@ -137,7 +137,7 @@ define([
//var $gridIcon = $('<button>', {"class": "fa fa-th-large"});
var $sortAscIcon = $('<span>', {"class": "fa fa-angle-up sortasc"});
var $sortDescIcon = $('<span>', {"class": "fa fa-angle-down sortdesc"});
var $closeIcon = $('<span>', {"class": "fa fa-times"});
var $closeIcon = $(Icons.get('close'));
//var $backupIcon = $('<span>', {"class": "fa fa-life-ring"});
var $searchIcon = $($(Icons.get('drive-search', {'class': 'cp-app-drive-tree-search-icon'})));
var $addIcon = $(Icons.get('add'));