Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-09-28 15:42:37 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-10-19 02:46:13 +0300
commit415ac9b3ac0e3f1f563b570f658d2622fee66c3f (patch)
tree10befd1e5465597d9cf9fee6e29cf1954594729e /core/search
parent2d709d5222bcc9c594408f1a4b6bc2abc1cc4742 (diff)
Move favorite mark to the top right corner of the thumbnail
The favorite icon was shown on its own "column" (not a real column in the table, but a visual column achieved through margins and left positions). Now the icon was moved to the top right corner of the file thumbnail, and the thumbnail and file name were moved to the left to fill the space left by the "column". To keep the markup in line with its visual representation (and to ease the placing through CSS), the favorite mark is no longer prepended to the row, but appended to the thumbnail instead. In the same way, the thumbnail is no longer appended to the checkbox label, but to the link with the name of the file instead (although the checkbox is still shown at the bottom right corner of the thumbnail, and clicking on the thumbnail still selects the file). In order to show the "busy" state on a file the "icon-loading-small" CSS class is set to the parent element of the thumbnail, so the thumbnail is also wrapped now by another div with the same size and position as the label. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'core/search')
-rw-r--r--core/search/css/results.css7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/search/css/results.css b/core/search/css/results.css
index 2e3791a47f0..5369a3093d9 100644
--- a/core/search/css/results.css
+++ b/core/search/css/results.css
@@ -30,9 +30,6 @@
padding: 28px 0 28px 56px;
font-size: 18px;
}
-.has-favorites:not(.hidden) ~ #searchresults .status {
- padding-left: 102px;
-}
#searchresults .status.fixed {
position: fixed;
bottom: 0;
@@ -67,10 +64,6 @@
background-position: right center;
background-repeat: no-repeat;
}
-.has-favorites:not(.hidden) ~ #searchresults td.icon {
- width: 86px;
- background-size: 32px;
-}
#searchresults tr.template {
display: none;