RandomSec/extensions/wikidata/module/styles/dialogs/wikibase-dialog.less
Jathin Sreenivas f5b35a99b3
#3186 : Wikibase login form shows Wikibase instance logo (#3702)
* #3186 : Wikibase login form shows Wikibase instance logo

* Logos shown in the UI during selection of instance to work against

* CSS for list of instances, error handling

* Cache wikibase logo urls.

* Replacing logo alt text as translation string and removing the duplicate property

* Replacing logo alt text as translation string and removing the duplicate property

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-04-20 21:05:50 +02:00

53 lines
959 B
Plaintext

@import-less url("../theme.less");
.wikibase-dialog p {
padding: 0 10px 10px 10px
}
.wikibase-dialog .add-wikibase-buttons {
text-align: right;
}
.wikibase-list-wrapper {
max-height: 300px; overflow-y: auto
}
.wikibase-dialog-wikibase-list {
width: 100%
}
.wikibase-dialog-wikibase-list tr:hover {
background: @dialog_footer;
cursor: pointer;
}
.wikibase-dialog-wikibase-list tr td {
padding: 10px;
}
.wikibase-dialog-selector-remove {
float: right;
position: relative;
width: 12px;
height: 12px;
text-decoration: none;
background-image: url(../../images/close-map.png);
background-repeat: no-repeat;
background-position: 0px 0px;
}
.wikibase-dialog-selector-remove:hover {
background-position: -12px 0px;
}
.wikibase-dialog-selector-remove.wikibase-selected:hover {
cursor: not-allowed;
}
.wikibase-dialog-wikibase-logo {
width: 12%;
}
.wikibase-dialog-wikibase-logo img{
max-height: 60px;
max-width: 60px;
}