Improved how watched/unwatched pages are shown

This commit is contained in:
Georges Dupéron 2016-08-10 16:53:11 +02:00
parent 92c6c93d3b
commit b12f29e98f

View File

@ -45,7 +45,7 @@ https://github.com/AndrewBelt/WiTeX
src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff'); src: url('https://cdn.rawgit.com/AndrewBelt/WiTeX/master/fonts/lmroman10-bolditalic.woff') format('woff');
} }
pt-userpage, #ca-edit, #ca-ve-edit, #p-views, div.vectorTabs ul, div.vectorTabs span{ pt-userpage, #ca-edit, #p-views, div.vectorTabs ul, div.vectorTabs span{
background: none; background: none;
} }
@ -89,13 +89,6 @@ ul {
list-style: disc; list-style: disc;
} }
/* Shift star on baseline */
#ca-unwatch.icon a, #ca-watch.icon a, #ca-unwatch.icon a.loading, #ca-watch.icon a.loading {
/*background-position: 5px 21px !important;*/
background-position: 5px 69% !important;
transform-origin: 50% 64% !important; /* Calculating with original WP values, should be y=66% but looks better with y=64% */
}
/* nuke most things */ /* nuke most things */
#mw-page-base,#mw-head-base{ #mw-page-base,#mw-head-base{
visibility:hidden; visibility:hidden;
@ -122,25 +115,22 @@ ul {
transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out;
} }
#ca-edit, #ca-ve-edit, #ca-viewsource, #p-personal, #p-search{ #ca-edit, #ca-viewsource, #p-personal, #p-search{
opacity: 0; opacity: 0;
-webkit-transition: opacity 0.5s ease-in-out; -webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out;
} }
#mw-navigation:hover #ca-edit, #mw-navigation:hover #ca-ve-edit, #mw-navigation:hover #ca-viewsource, #mw-navigation:hover #p-personal, #mw-navigation:hover #p-search{ #mw-navigation:hover #ca-edit, #mw-navigation:hover #ca-viewsource, #mw-navigation:hover #p-personal, #mw-navigation:hover #p-search{
opacity: 1; opacity: 1;
-webkit-transition: opacity 0.5s ease-in-out; -webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out;
} }
#p-cactions-label, div.vectorTabs, div.vectorTabs ul li, .NavHead div, .NavFrame div, .navbox div, .navbox th, .navbox-title, .hlist div, th, table{ .NavHead div, .NavFrame div, .navbox div, .navbox th, .navbox-title, .hlist div, th, table{
background: none !important; background: white !important;
}
div.vectorMenu div.menu {
border-top-width: 1px;
} }
/* Content Box */ /* Content Box */
@ -286,4 +276,4 @@ pre, code {
sup { sup {
text-indent: 0; text-indent: 0;
} }