Jonas Kress (WMDE) has uploaded a new change for review.
https://gerrit.wikimedia.org/r/258156
Change subject: UI cleanup and color schema
......................................................................
UI cleanup and color schema
Change-Id: I20719b8759d458cc1d52b833b78753b6cc3dc06e
---
M gui/index.html
M gui/style.css
M gui/wikibase/queryService/ui/QueryExampleDialog.js
3 files changed, 19 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/rdf
refs/changes/56/258156/1
diff --git a/gui/index.html b/gui/index.html
index 6b4a1f6..ad11e58 100644
--- a/gui/index.html
+++ b/gui/index.html
@@ -159,8 +159,8 @@
</div>
<div class="modal-body">
<div class="input-group">
- <span
class="input-group-addon"><span class="glyphicon glyphicon-filter"
aria-hidden="true"></span></span> <input type="text" class="tableFilter
form-control" placeholder="Type here..."> <span class="input-group-btn">
- <a
class="tagCloudPopover btn btn-primary" data-toggle="popover" title="Filter by
tags"><span data-toggle="popover" class="glyphicon glyphicon-tags"
aria-hidden="true"></span></a>
+ <span
class="input-group-addon"><span class="glyphicon glyphicon-filter"
aria-hidden="true"></span></span> <input type="text" class="tableFilter
form-control" placeholder="Type to filter"> <span class="input-group-btn">
+ <a
class="tagCloudPopover btn btn-primary" data-toggle="popover"><span
data-toggle="popover" class="glyphicon glyphicon-tags"
aria-hidden="true"></span></a>
</span>
</div>
<div class="tagFilter"></div>
diff --git a/gui/style.css b/gui/style.css
index dd77610..9beac08 100644
--- a/gui/style.css
+++ b/gui/style.css
@@ -112,3 +112,20 @@
max-width:100vw;
overflow:auto;
}
+
+/* colors */
+
+div.jqcloud { color: #337ab7; }
+div.jqcloud a { color: inherit; }
+div.jqcloud a:hover { color: #337ab7; }
+div.jqcloud a:hover { color: #337ab7; }
+div.jqcloud span.w10 { color: rgba(51,122,183,1); }
+div.jqcloud span.w9 { color: rgba(51,122,183,0.9); }
+div.jqcloud span.w8 { color: rgba(51,122,183,0.8); }
+div.jqcloud span.w7 { color: rgba(51,122,183,0.75); }
+div.jqcloud span.w6 { color: rgba(51,122,183,0.6); }
+div.jqcloud span.w5 { color: rgba(51,122,183,0.65); }
+div.jqcloud span.w4 { color: rgba(51,122,183,0.5); }
+div.jqcloud span.w3 { color: rgba(51,122,183,0.55); }
+div.jqcloud span.w2 { color: rgba(51,122,183,0.4); }
+div.jqcloud span.w1 { color: rgba(51,122,183,0.45); }
\ No newline at end of file
diff --git a/gui/wikibase/queryService/ui/QueryExampleDialog.js
b/gui/wikibase/queryService/ui/QueryExampleDialog.js
index 0b8a807..859ed96 100644
--- a/gui/wikibase/queryService/ui/QueryExampleDialog.js
+++ b/gui/wikibase/queryService/ui/QueryExampleDialog.js
@@ -103,7 +103,6 @@
placement: 'right',
trigger: 'click',
container: 'body',
- title: '<b>Filter by tags</b>',
content: '<div class="tagCloud" style="height:400px;
width:400px;"></div>',
html: true
});
--
To view, visit https://gerrit.wikimedia.org/r/258156
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I20719b8759d458cc1d52b833b78753b6cc3dc06e
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/rdf
Gerrit-Branch: master
Gerrit-Owner: Jonas Kress (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits