Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/nextcloud/news.git
π§Ή Cleanup css
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
This commit is contained in:
Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ
7be636f26a
ΠΠΎΠΌΠΌΠΈΡ
31c4e2830a
26
css/app.css
26
css/app.css
|
@ -51,19 +51,6 @@
|
|||
right: 0.5em;
|
||||
}
|
||||
|
||||
.dropbtn {
|
||||
background-color: #4CAF50;
|
||||
color: white;
|
||||
padding: 16px;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
position: absolute;
|
||||
background-color: #f1f1f1;
|
||||
|
@ -91,10 +78,6 @@
|
|||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.dropdown:hover .dropbtn {
|
||||
background-color: #3e8e41;
|
||||
}
|
||||
|
||||
.compact-dropdown{
|
||||
z-index: 1;
|
||||
}
|
||||
|
@ -116,6 +99,13 @@
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.right {
|
||||
.dropdown-search-message {
|
||||
margin-left: 2em;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
.share-status-icon {
|
||||
margin-top: 1.1em;
|
||||
margin-right: 1em;
|
||||
float: right;
|
||||
}
|
||||
|
|
|
@ -91,9 +91,9 @@
|
|||
</li>
|
||||
|
||||
<li
|
||||
class="util dropdown"
|
||||
class="util"
|
||||
news-stop-propagation>
|
||||
<button class="icon-share share dropbtn"
|
||||
<button class="icon-share share"
|
||||
title="<?php p($l->t('Share')) ?>"
|
||||
ng-click="Content.openDropdown(item.id)">
|
||||
</button>
|
||||
|
@ -135,11 +135,11 @@
|
|||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div style="margin-left: 2em; font-size: 0.85em;"
|
||||
<div class="dropdown-search-message"
|
||||
ng-if="Share.userList.length === 0 && nameQuery && !App.loading.isLoading('user') && !Share.searchUsersFailed">
|
||||
<?php p($l->t('No users found')) ?>
|
||||
</div>
|
||||
<div style="margin-left: 2em; font-size: 0.85em;"
|
||||
<div class="dropdown-search-message"
|
||||
ng-if="Share.userList.length === 0 && Share.searchUsersFailed">
|
||||
<?php p($l->t('Error while searching for users')) ?>
|
||||
</div>
|
||||
|
@ -148,7 +148,7 @@
|
|||
class="icon-category-installed pr-3"
|
||||
ng-click="Share.shareItem(item.id, user.value.shareWith)">
|
||||
{{ user.label }}
|
||||
<span class="right" style="margin-top: 1.1em; margin-right: 1em"
|
||||
<span class="share-status-icon"
|
||||
ng-class="{'icon-loading-small': Share.isLoading(user.value.shareWith), 'icon-checkmark': Share.isStatus(item.id, user.value.shareWith, true), 'icon-close': Share.isStatus(item.id, user.value.shareWith, false)}">
|
||||
</span>
|
||||
</a>
|
||||
|
|
ΠΠ°Π³ΡΡΠ·ΠΊΠ°β¦
Π‘ΡΡΠ»ΠΊΠ° Π² Π½ΠΎΠ²ΠΎΠΉ Π·Π°Π΄Π°ΡΠ΅