MediaWiki:EditTemplates.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
#toolBox {
#toolBox {
position: relative;
display: inline-block;
}
position: absolute;

top: 160px;
#toolLink, #toolList {
left: 12px;
display: inline-block;
padding: 0 8px;
padding: 0 8px;

background-color: #fff;
background-color: #fff;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
border-radius: 2px;
border-radius: 2px;

cursor: pointer;
z-index: 30;

font-size: 12px;
font-size: 12px;
line-height: 24px;
line-height: 16px;
}
color: #36c;

#toolLink {
color: #36c;
}
}


Line 21: Line 22:
display: none;
display: none;
position: absolute;
position: absolute;
top: 160px;
top: 0;
left: 80px;
left: 80px;


Line 27: Line 28:
line-height: 16px;
line-height: 16px;


min-height: 200px;
min-width: 200px;
min-width: 200px;

padding: 0 8px;

background-color: #fff;
border: 1px solid #a2a9b1;
border-radius: 2px;


z-index: 31;
z-index: 31;
Line 45: Line 39:
@media screen and (max-width: 981px) {
@media screen and (max-width: 981px) {
#toolBox {
#toolBox {
top: 12px;
position: absolute;
}
#toolList {
top: 12px;
top: 12px;
}
}

Revision as of 16:29, 9 May 2019

#toolBox {
	position: relative;
}

#toolLink, #toolList {
	display: inline-block;
    padding: 0 8px;
    
    background-color: #fff;
    border: 1px solid #a2a9b1;
    border-radius: 2px;
    
    font-size: 12px;
    line-height: 16px;
}

#toolLink {
	color: #36c;
}

#toolList {
    display: none;
    position: absolute;
    top: 0;
    left: 80px;

    font-size: 12px;
    line-height: 16px;

    min-width: 200px;

    z-index: 31;
}

#toolList ul {
    list-style: none;
}

@media screen and (max-width: 981px) {
    #toolBox {
    	position: absolute;
        top: 12px;
    }
}