Update of /cvsroot/php-blog/serendipity/templates/default/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17249
Modified Files:
style.css
Log Message:
Use line-height in menu instead of height so everything looks OK when the text wraps, and use shorthand where possible.
Index: style.css
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/default/admin/style.css,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- style.css 9 Feb 2005 20:24:52 -0000 1.28
+++ style.css 23 Feb 2005 08:51:45 -0000 1.29
@@ -1,9 +1,7 @@
body {
font-family: Verdana;
- margin: 0px 0px 0px 0px;
- background-color: #7F9BC2;
- background-image: url({TEMPLATE_PATH}img/background.jpg);
- background-repeat: repeat-x;
+ margin: 0 0 0 0;
+ background: #7F9BC2 url({TEMPLATE_PATH}img/background.jpg) repeat-x;
direction: {LANG_DIRECTION};
}
@@ -12,7 +10,7 @@
}
#serendipityAdminBodyImageSelector {
- background-color: #FFFFFF;
+ background: #FFF;
}
#serendipityAdminFrame {
@@ -20,42 +18,37 @@
width: 80%;
min-width: 777px;
margin: auto;
- background-color: #FFFFFF;
+ background: #FFF;
border: 2px solid #0F3353;
- border-top: 0px;
+ border-top: 0;
}
#serendipityAdminBanner {
- background-color: #FFFFFF;
+ background-color: #FFF;
height: 80px;
- background-image: url({TEMPLATE_PATH}img/banner_background.png);
+ background: url({TEMPLATE_PATH}img/banner_background.png);
}
#serendipityAdminInfopane {
- background-color: #F8F9FA;
+ background: #F8F9FA url({TEMPLATE_PATH}img/infobar_background.png);
font-size: 10px;
padding: 5px;
vertical-align: middle;
text-align: right;
color: #5E5E5E;
height: 27px;
- background-image: url({TEMPLATE_PATH}img/infobar_background.png);
}
#serendipityAdminMainpane {
- background-color: #FFFFFF;
- border-bottom: 2px solid #0F3353;
- border-right: 2px solid #0F3353;
- border-left: 2px solid #0F3353;
+ background: #FFF;
+ border: 2px solid #0F3353;
+ border-top: inherit;
padding: 5px;
}
.serendipityAdminContent {
font-size: 0.8em;
- padding-top: 10px;
- padding-right: 5px;
- padding-left: 5px;
- padding-bottom: 20px;
+ padding: 10px 5px 20px 5px;
width: 80%;
}
@@ -68,7 +61,7 @@
#serendipityAdminBanner h2 {
padding-left: 30px;
font-size: 1em;
- color: #AAAAAA;
+ color: #AAA;
margin: 0;
}
@@ -80,7 +73,7 @@
#serendipityAdminFooter {
font-size: 0.7em;
text-align: center;
- color: #FFFFFF;
+ color: #FFF;
}
.serendipitySideBarTitle {
@@ -105,33 +98,33 @@
.serendipity_admin_list_item.serendipity_admin_list_item_uneven {
border: 1px solid #294366;
- background-color: #F8F9FA;
+ background: #F8F9FA;
margin-bottom: 5px;
}
.serendipity_admin_list_item.serendipity_admin_list_item_even {
border: 1px solid #294366;
- background-color: #F2F3F2;
- margin-bottom: 5px;
+ background: #F2F3F2;
+ margin: 0 0 5px 0;
}
.serendipityAdminMsgError {
- color: #FF0000;
+ color: #F00;
text-align: center;
font-weight: bold;
margin: 10px;
}
.serendipityAdminMsgSuccess {
- color: #00BB00;
+ color: #0B0;
text-align: center;
font-weight: bold;
margin: 10px;
}
.serendipityAdminMsgNote {
- background-color: #FFFF9D;
- border: 1px solid #FF7700;
+ background: #FFFF9D;
+ border: 1px solid #F70;
padding: 3px;
text-align: center;
margin: 10px;
@@ -154,8 +147,8 @@
}
input, select, textarea {
- background-color: #F8F9FA;
- font-family: verdana;
+ background: #F8F9FA;
+ font-family: Verdana;
font-size: 0.9em;
border: 1px solid #294366;
}
@@ -167,30 +160,24 @@
}
ul.serendipitySideBarMenu {
- padding: 0px;
- margin: 0px;
+ padding: 0;
+ margin: 0;
}
-ul.serendipitySideBarMenu li.serendipitySideBarMenuHead {
- font-size: 0.85em;
+ul.serendipitySideBarMenu li {
+ font-weight: bold;
+ font-size: 0.85em
+ line-height: 1.6em;
+ background:url({TEMPLATE_PATH}img/menu_background.png) no-repeat;
+ padding: 4px inherit inherit 5px;
list-style: none;
display: block;
- font-weight: bold;
- background: url({TEMPLATE_PATH}img/menuheader_background.png) no-repeat;
- height: 1.6em;
- padding-left: 3px;
+ margin: 0;
}
-ul.serendipitySideBarMenu li {
- font-size: 0.8em;
- font-weight: normal;
- background:url({TEMPLATE_PATH}img/menu_background.png) no-repeat;
- padding-top: 4px;
- padding-left: 5px;
- height: 1.6em;
- list-style:none;
- display:block;
- margin:0;
+ul.serendipitySideBarMenu li.serendipitySideBarMenuHead {
+ background: url({TEMPLATE_PATH}img/menuheader_background.png) no-repeat;
+ padding-left: 3px;
}
ul.serendipitySideBarMenu a:link,
@@ -199,7 +186,6 @@
font-weight: bold;
}
-
.serendipityImageButton {
cursor: pointer;
}
@@ -211,6 +197,7 @@
text-decoration: none;
margin-right: 4px;
}
+
.serendipityIconLink img {
margin-right: 2px;
vertical-align: bottom;
@@ -244,15 +231,13 @@
color: #1D2E3F;
font-weight: bold;
font-size: 0.9em;
- border: 1px outset #000000;
+ border: 1px outset #000;
margin: 2px;
}
/* Special class if the button is a <a> tag */
a.serendipityPrettyButton {
- padding: 2px;
- padding-left: 4px;
- padding-right: 4px;
+ padding: 2px 4px 2px 4px;
cursor: default;
}
|