r63422 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63421‎ | r63422 | r63423 >
Date:21:41, 8 March 2010
Author:tparscal
Status:deferred
Tags:
Comment:
Made more CSS adjustments for template capsules.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html
@@ -46,36 +46,41 @@
4747 }
4848 /* A collapsed template */
4949 .wikiEditor-template {
50 - margin: 0 2px;
 50+ line-height: 16px;
5151 }
5252 .wikiEditor-template-name {
5353 cursor: pointer;
 54+ vertical-align: top;
5455 display: inline-block;
5556 height: 16px;
 57+ line-height: 16px;
 58+ margin-bottom: -1px;
 59+ overflow: hidden;
5660 background: url( '../../images/wikiEditor/templateEditor/name-bg.png' ) 0 0 repeat-x #e8e8e8;
5761 color: #333333;
5862 font-family: sans-serif;
5963 text-decoration: none;
60 - overflow: hidden;
61 - line-height: 16px;
6264 padding-left: 0.33em;
63 - font-size: 12px;
6465 }
6566 .wikiEditor-template-expand {
6667 cursor: pointer;
6768 display: inline-block;
 69+ margin-left: 2px;
6870 height: 16px;
 71+ line-height: 16px;
 72+ margin-bottom: -1px;
 73+ overflow: hidden;
6974 width: 13px;
7075 background-position: 50%; /*FF3*/
71 - /*
72 - padding-left: 6px;
73 - padding-right: 6px;
74 - */
7576 }
7677 .wikiEditor-template-dialog {
7778 cursor: pointer;
7879 display: inline-block;
 80+ margin-right: 2px;
7981 height: 16px;
 82+ line-height: 16px;
 83+ margin-bottom: -1px;
 84+ overflow: hidden;
8085 width: 22px;
8186 background-position: 50%; /*FF3*/
8287 /*
@@ -121,15 +126,16 @@
122127 }
123128 /* An expanded template */
124129 .wikiEditor-template-expanded {
125 - display: inline;
 130+ display: block;
126131 }
127132 .wikiEditor-template .wikiEditor-template-text {
128 - margin-top: -8px;
129133 display: block;
 134+ width: 100%;
130135 background: #f3f3f3;
131136 border-top: solid 1px #cccccc;
132137 border-bottom: solid 1px #cccccc;
133138 padding: 0.5em 4px;
 139+ margin-top: -5px;
134140 }
135141 .wikiEditor-template-end, .wikiEditor-template-start {
136142 color: blue;

Status & tagging log