MediaWiki:EditTemplates.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
increase width, reduce list margin
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
#toolBox {
#toolBox {
position: relative;
position: relative;
margin-left: 12px;
}
}


#toolLink, #toolList {
#toolLink, #toolList {
display: inline-block;
display: inline-block;
box-sizing: border-box;
padding: 0 8px;
padding: 4px 8px;
background-color: #fff;
background-color: #fff;
Line 17: Line 19:
#toolLink {
#toolLink {
color: #36c;
color: #36c;
width: 72px;
text-align: center;
cursor: pointer;
}
}


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


min-width: 200px;
min-width: 240px;

z-index: 31;
}
}


#toolList ul {
#toolList ul {
list-style: none;
list-style: none;
margin-left: 0.8em;
}
}


Line 41: Line 45:
position: absolute;
position: absolute;
top: 12px;
top: 12px;
left: 12px;
}
}
}
}

Latest revision as of 16:42, 8 February 2022

#toolBox {
	position: relative;
	margin-left: 12px;
}

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

#toolLink {
	color: #36c;
	width: 72px;
	text-align: center;
	cursor: pointer;
}

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

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

    min-width: 240px;
}

#toolList ul {
    list-style: none;
    margin-left: 0.8em;
}

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