simplification of CSS rules (trunk only)
git-svn-id: http://piwigo.org/svn/trunk@7843 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
45b1d97556
commit
5f69a2ff02
4 changed files with 26 additions and 39 deletions
|
|
@ -307,12 +307,12 @@ input[type="radio"], input[type="checkbox"], input[type="button"].rateButtonStar
|
||||||
clear:both;
|
clear:both;
|
||||||
list-style-type:none;
|
list-style-type:none;
|
||||||
}
|
}
|
||||||
span.calItem {
|
.calItem {
|
||||||
border:1px solid #666;
|
border:1px solid #666;
|
||||||
margin:0 5px;
|
margin:0 5px;
|
||||||
padding:2px 5px 0 8px;
|
padding:2px 5px 0 8px;
|
||||||
}
|
}
|
||||||
span.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
|
.calItemEmpty, td.calDayCellEmpty, td.calDayCellFull {
|
||||||
border:1px solid #666;
|
border:1px solid #666;
|
||||||
}
|
}
|
||||||
A, INPUT.rateButton {
|
A, INPUT.rateButton {
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ A.navThumb, A.navThumb:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*calendar elements*/
|
/*calendar elements*/
|
||||||
SPAN.calItem, SPAN.calItemEmpty
|
.calItem, .calItemEmpty
|
||||||
{
|
{
|
||||||
border: 1px solid silver;
|
border: 1px solid silver;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,13 @@
|
||||||
/* Issues in IE from 5 to 6 only not to be used with IE7 */
|
/* Issues in IE from 5 to 6 only not to be used with IE7 */
|
||||||
|
|
||||||
|
#menubar LI.selected A {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menubar LI.selected LI A {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
/* fix IE with another layout for thumbnails */
|
/* fix IE with another layout for thumbnails */
|
||||||
.content UL.thumbnails SPAN.wrap2 {
|
.content UL.thumbnails SPAN.wrap2 {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
margin: 0 0 10px 1em;
|
margin: 0 0 10px 1em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
width: 18em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menubar DL, #menubar DT, #menubar DD {
|
#menubar DL, #menubar DT, #menubar DD {
|
||||||
|
|
@ -47,14 +48,11 @@
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menubar LI.selected A {
|
/*IE6 needs override because of > selector*/
|
||||||
|
#menubar LI.selected>A {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menubar LI.selected LI A {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menubar .menuInfoCatByChild {
|
#menubar .menuInfoCatByChild {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
@ -94,24 +92,12 @@ FORM#quickconnect FIELDSET DIV {
|
||||||
* Content
|
* Content
|
||||||
*/
|
*/
|
||||||
.content {
|
.content {
|
||||||
margin-right: 1em;
|
margin: 1em;
|
||||||
margin-bottom: 1em; /* when it's longer than menu bar */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BODY#theCommentsPage .content,
|
BODY#theCategoryPage .content
|
||||||
BODY#theUploadPage .content,
|
|
||||||
BODY#theRegisterPage .content,
|
|
||||||
BODY#theIdentificationPage .content,
|
|
||||||
BODY#theProfilePage .content,
|
|
||||||
BODY#theSearchPage .content,
|
|
||||||
BODY#theAboutPage .content,
|
|
||||||
BODY#thePopuphelpPage .content,
|
|
||||||
BODY#thePasswordPage .content,
|
|
||||||
BODY#theNotificationPage .content,
|
|
||||||
BODY#theTagsPage .content,
|
|
||||||
BODY#theNBMPage .content
|
|
||||||
{
|
{
|
||||||
margin: 1em;
|
margin-left: 20em; /* = #menubar width + 2em */
|
||||||
}
|
}
|
||||||
|
|
||||||
.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
|
.content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/
|
||||||
|
|
@ -155,32 +141,32 @@ UL.categoryActions LI {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* begin chronology/calendar elements*/
|
/* begin chronology/calendar elements*/
|
||||||
.content DIV.calendarViews {
|
.content .calendarViews {
|
||||||
display: block;
|
display: block;
|
||||||
float: right;
|
float: right;
|
||||||
margin: 2px 0 0;
|
margin: 2px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
SPAN.calItem, SPAN.calItemEmpty {
|
.calItem, .calItemEmpty {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 0 1px;
|
margin: 0 1px;
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
SPAN.calItem A { border:0 }
|
.calItem A { border:0 }
|
||||||
|
|
||||||
.content DIV.calendarCalBar {
|
.content .calendarCalBar {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
SPAN.calCalHead {
|
.calCalHead {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 110%;
|
font-size: 110%;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
SPAN.calCal { margin: 0 2px; }
|
.calCal { margin: 0 2px; }
|
||||||
|
|
||||||
/* nice looking month calendar*/
|
/* nice looking month calendar*/
|
||||||
TABLE.calMonth {
|
TABLE.calMonth {
|
||||||
|
|
@ -712,13 +698,6 @@ IMG.ui-datepicker-trigger {
|
||||||
cursor : pointer;
|
cursor : pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the width of the menubar for the galery */
|
|
||||||
#menubar {
|
|
||||||
width: 18em;
|
|
||||||
}
|
|
||||||
.content {
|
|
||||||
margin-left: 20em; /* = #menubar width + 2em */
|
|
||||||
}
|
|
||||||
/* Set minimum width of the page before getting a scrollbar */
|
/* Set minimum width of the page before getting a scrollbar */
|
||||||
/* IE5 and IE6 don't get that */
|
/* IE5 and IE6 don't get that */
|
||||||
BODY {
|
BODY {
|
||||||
|
|
@ -760,7 +739,7 @@ BODY#thePopuphelpPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* So that non-links are slightly greyed out */
|
/* So that non-links are slightly greyed out */
|
||||||
.content .navigationBar, SPAN.calItemEmpty, TD.calDayCellEmpty {
|
.content .navigationBar, .calItemEmpty, TD.calDayCellEmpty {
|
||||||
color: #b0b0b0;
|
color: #b0b0b0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue