r52065 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52064‎ | r52065 | r52066 >
Date:18:35, 17 June 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Some small CSS tweaks to preferences
Modified paths:
  • /trunk/phase3/skins/vector/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/vector/main.css
@@ -679,25 +679,21 @@
680680 /* Preferences */
681681 #preftoc {
682682 /* Tabs */
683 - width: 100%;
 683+ float: left;
684684 clear: both;
685685 margin: 0;
686686 padding: 0;
687 - padding-left: 1px;
688687 height: 2.25em;
689688 background-image: url(images/preferences-break.png);
690689 background-position: bottom left;
691690 background-repeat: no-repeat;
692691 }
693692 body.rtl #preftoc {
694 - padding-left: 0;
695 - padding-right: 1px;
696693 background-position: bottom right;
697694 }
698695 #preftoc li {
699696 /* Tab */
700697 float: left;
701 - position: relative;
702698 margin: 0;
703699 padding: 0;
704700 padding-right: 1px;
@@ -709,10 +705,13 @@
710706 background-position: bottom right;
711707 background-repeat: no-repeat;
712708 }
 709+ #preftoc li:first-child {
 710+ margin-left: 1px;
 711+ }
713712 body.rtl #preftoc li {
714713 float: right;
 714+ padding-right: 0;
715715 padding-left: 1px;
716 - padding-right: 0;
717716 background-position: bottom left;
718717 }
719718 #preftoc a,
@@ -739,11 +738,10 @@
740739 text-decoration: none;
741740 }
742741 #preferences {
 742+ float: left;
 743+ width: 100%;
743744 margin: 0;
744745 clear: both;
745 - padding: 1em;
746 - padding-top: 0;
747 - margin-top: -0.5em;
748746 border: solid 1px #cccccc;
749747 background-color: #f9f9f9;
750748 background-image: url(images/preferences-base.png);
@@ -751,7 +749,7 @@
752750 #preferences > fieldset.prefsection {
753751 border: none;
754752 padding: 0;
755 - margin: 0;
 753+ margin: 1em;
756754 }
757755 #preferences > fieldset.prefsection > fieldset {
758756 border: none;
@@ -772,6 +770,12 @@
773771 padding: .2em 2em;
774772 color: #666666;
775773 }
 774+#preferences div.mw-prefs-buttons {
 775+ padding: 1em;
 776+}
 777+#preferences div.mw-prefs-buttons input {
 778+ margin-right: 0.25em;
 779+}
776780
777781 /*
778782 *

Status & tagging log