Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/theming/css/theming.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
filter: invert(1);
filter: progid:DXImageTransform.Microsoft.BasicImage(invert='1');
}
#contactsmenu .icon-contacts svg path {
fill: #000;
#contactsmenu .icon-contacts {
background-image: url('../../../core/img/places/contacts-dark.svg');
}
#settings .icon-settings-white {
background-image: url('../../../core/img/actions/settings-dark.svg');
Expand Down
22 changes: 8 additions & 14 deletions core/css/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,6 @@
background-position: center;
min-width: 16px;
min-height: 16px;
display: inline-flex;
align-self: center;
position: relative;
}

[class^='icon-'] svg,
[class*=' icon-'] svg {
height: 16px;
width: 16px;
vertical-align: -3px; // counter default DOM offset
}

.icon-white svg path {
fill: $color-primary-text;
}

.icon-breadcrumb {
Expand Down Expand Up @@ -459,6 +445,14 @@ img, object, video, button, textarea, input, select {
background-image: url('../img/places/calendar-dark.svg?v=1');
}

.icon-contacts {
background-image: url('../img/places/contacts.svg?v=1');
}

.icon-contacts-dark {
background-image: url('../img/places/contacts-dark.svg?v=1');
}

.icon-files {
background-image: url('../img/places/files.svg?v=1');
}
Expand Down
1 change: 1 addition & 0 deletions core/img/places/contacts-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion core/img/places/contacts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions core/templates/layout.user.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ class="app-icon"/>
<button class="icon-close-white" type="reset"></button>
</form>
<div id="contactsmenu">
<div class="icon-contacts icon-white menutoggle">
<?php echo file_get_contents('core/img/places/contacts.svg'); ?>
</div>
<div class="icon-contacts menutoggle"></div>
<div class="menu"></div>
</div>
<div id="settings">
Expand Down
4 changes: 2 additions & 2 deletions settings/js/federationsettingsview.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@
_setFieldScopeIcon: function(field, scope) {
var $icon = this.$('#' + field + 'form > h2 > span');
$icon.removeClass('icon-password');
$icon.removeClass('icon-contacts');
$icon.removeClass('icon-contacts-dark');
$icon.removeClass('icon-link');
switch (scope) {
case 'private':
$icon.addClass('icon-password');
break;
case 'contacts':
$icon.addClass('icon-contacts');
$icon.addClass('icon-contacts-dark');
break;
case 'public':
$icon.addClass('icon-link');
Expand Down