MediaWiki:EditTemplates.css: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "#editTemplates { display: inline-block; position: absolute; top: 200px; left: 30px; background-color:#d2e0ea; border:1px solid #899caa; border-radius:3px; -..." |
increase width, reduce list margin |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
#toolBox { |
|||
#editTemplates { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
top: 200px; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
-moz-border-radius:3px; |
|||
⚫ | |||
z-index:30; |
|||
} |
} |
||
#toolLink, #toolList { |
|||
#editTemplates #editText { |
|||
⚫ | |||
⚫ | |||
box-sizing: border-box; |
|||
⚫ | |||
⚫ | |||
color: #000; |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
#toolLink { |
|||
img#editArrow { |
|||
color: #36c; |
|||
⚫ | |||
padding: 8px 8px 8px 0; |
|||
text-align: center; |
|||
⚫ | |||
} |
} |
||
#toolList { |
|||
⚫ | |||
⚫ | |||
top: 0; |
|||
⚫ | |||
⚫ | |||
#editTemplatesList { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
top: 180px; |
|||
left: 90px; |
|||
⚫ | |||
⚫ | |||
min-height: 200px; |
|||
⚫ | |||
padding: 8px; |
|||
background-color:#d2e0ea; |
|||
border:1px solid #899caa; |
|||
border-radius:3px; |
|||
-moz-border-radius:3px; |
|||
z-index:31; |
|||
} |
|||
min-width: 240px; |
|||
#editTemplatesList ul { |
|||
⚫ | |||
} |
} |
||
# |
#toolList ul { |
||
⚫ | |||
⚫ | |||
⚫ | |||
} |
} |
||
@media screen and (max-width: 981px) { |
|||
#editTemplatesList ul li ul li { |
|||
#toolBox { |
|||
⚫ | |||
position: absolute; |
|||
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;
}
}