1
mjoel
xoops.css for 2.5.0
  • 2010/12/1 12:12

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


there are many changes in xoops.css

and it overrides the css definition in our custom theme

i use custom theme in my xoops site

as example in my custom theme i have define the css for form button in mysite

and now randomly i will see different design button for the form from xoops.css

xoops.css for 2.5

/* $Id: xoops.css 5690 2010-11-05 14:48:38Z kris_fr $ */

/*=== FORMAT BASIC ELEMENTS, can be overwritten in theme styles ===*/
table {width100%; border-collapse:collapseborder-spacing0;}
strongbdfn font-weightbold;}
{text-decorationunderline;}
iem font-styleitalic;}
del text-decorationline-through;}
sup {vertical-align:text-top;}
sub {vertical-align:text-bottom;}
ins {text-decoration:none;}
img border0;}
img.center {
    
text-align:     center;
    
margin:         6px auto;
    
display:        block;
    
margin-bottom:  4px;
}
img.left {
    
text-align:     left;
    
float:          left;
    
margin:         2px 6px 2px 0;
    
clear:          left;
}
img.right {
    
float:          right;
    
text-align:     right;
    
margin:         2px 0 2px 6px;
    
clear:          right;
}
acronymabbrdfn {cursorhelp;}
pre {overflowauto;}
#xoopsHiddenText {
    
visibility:         hidden;
    
background-colortransparent;
    
color:              #000;
    
font-weight:        normal;
    
font-style:         normal;
    
text-decoration:    none;
}
/* for pagenav, can be overwritten in theme styles */
.pagneutral {
    
font-size:          10px;
    
width:              16px;
    
height:             19px;
    
text-align:         center;
    
background-image:   url(./images/pagneutral.gif);
}
.
pagact {
    
font-size:          10px;
    
width:              16px;
    
height:             19px;
    
text-align:         center;
    
background-image:   url(./images/pagact.gif);
}
.
paginact {
    
font-size:          10px;
    
width:              16px;
    
height:             19px;
    
text-align:         center;
    
background-image:   url(./images/paginact.gif);
}
/* For required elements in XOOPS form */
.xoops-form-element-caption .caption-marker displaynone;}
.
xoops-form-element-caption-required .caption-marker {
    
background-color:   inherit;
    
padding-left:         2px;
    
color:                 #ff0000;
}
.
xoops-form-element-help {
    
font-size:            .9em;
    
padding-top:        5px;
    
font-weight:        normal;
}
/* forms basic style */
fieldset border:0;}
inputtextareaselect {background-color#fff; color: #000;}
input[type=submit], input[type=reset], input[type=button], .xo-formbuttons, .formButtonbutton {
    
background-color:   #D3D2D6;
    
color:              #405A80;
    
padding:             3px;
}
/* fix for swf banner */
#xo-fixbanner a {
    
display:            block;
    
position:            absolute;
    
z-index:            102;
    
width:                468px;
    
height:                60px;
}

/* jGrowl redirection */
div.jGrowl {padding1emz-index9999;}
/* JGrowl Box position in the page */
body div.jGrowl {positionfixed;}
body div.jGrowl.top-right {right25%; left25%; top2px;}
body div.jGrowl.bottom-left {left:0bottom:0;}
body div.jGrowl.bottom-right {right:0bottom:0;}
body div.jGrowl.center {top:0left:0;}
body div.jGrowl.top-left {left:0top:0;}
/* jGrowl Box style */
div.center div.jGrowl-notificationdiv.center div.jGrowl-closer {margin-leftautomargin-rightauto;}
div.jGrowl div.jGrowl-notificationdiv.jGrowl div.jGrowl-closer {
    
background-color:         #EBFBFE;
    
color:              #000080;
    
width:              100%;
    
padding:            .5em;
    
margin-top:         .5em;
    
margin-bottom:      .5em;
    
font-family:        TahomaGenevasans-serif;
    
font-size:          1.2em;
    
text-align:         center;
    
border:             1px solid #6699FF;
    
display:            none;
    
border-radius:        5px;
        -
moz-border-radius:     5px;
        -
webkit-border-radius:  5px;
        -
khtml-border-radius:   5px;
}
div.jGrowl div.jGrowl-notification {min-height40px;}
div.jGrowl div.jGrowl-notification div.header {font-weightboldfont-size10px;}
/* jGrowl Close button */
div.jGrowl div.jGrowl-notification div.close {floatrightfont-weightboldfont-size12pxcursorpointer;}
div.jGrowl div.jGrowl-closer {height15pxpadding-top4pxpadding-bottom4pxcursorpointerfont-size11pxfont-weightboldtext-aligncenter;}

/*=== GENERIC CLASS, for use in themes, modules and contents ===*/
/* Position */
.floatleftfloat:leftmargin:0padding-left:4pxborder:0; }
.
floatrightfloat:rightmargin:0padding:2pxborder:0; }
.
floatcenter0 {margin0 auto;}
.
floatcenter1 {margin1em auto;}
.
clearclear:bothheight:0font-size:0line-height:0; }
.
clearleftclear:left;height:0;font-size:0;line-height:0; }
.
clearrightclear:rightheight:0font-size:0line-height:0; }
.
blockdisplayblock; }
.
inline {displayinline;}
.
blockinline display:     inline-block;}
/* Texte */
.left, .txtleft text-alignleft; }
.
right, .txtright text-align:         right; }
.
center, .txtcenter text-align:     center;    }
.
justify, .txtjustify text-align:     justify; }
/* Table alignement */
.middle, .alignmiddle vertical-align:     middle;}
.
top, .aligntop vertical-align:         top;}
.
bottom, .alignbottom vertical-align:     bottom;}
.
positopmargin-top:0;padding-top:0; }
.
posibottommargin-bottom:0;padding-bottom:0; }
/* Others table div class */
.table {display:table;}
.
tcaption1 display:blockwidth:100%; /* for 1 columns */}
.
tcaption2 display:blockwidth:200%; /* for 2 columns */}
.
tcaption3 display:blockwidth:300%; /* for 3 columns */}
.
tcaption4 display:blockwidth:400%; /* for 4 columns */}
.
tcaption5 display:blockwidth:500%; /* for 5 columns */}
.
tcaption6 display:blockwidth:600%; /* for 6 columns */}
.
tbody display:table-row-group;}
.
trow display:table-row;}
.
tcell display:table-cell;}
.
tfootend width:auto;}
.
collapse {border-collapsecollapse;}
.
separate {border-collapseseparate;}
.
bspacing1 {border-spacing1px;}
.
bspacing2 {border-spacing2px;}
.
bspacing3 {border-spacing3px;}
.
bspacing4 {border-spacing4px;}
.
bspacing5 {border-spacing5px;}
.
bspacing10 {border-spacing10px;}
/* Width */
.widthauto width:            auto;}
.
width100 width:             100%;}
.
width90 width:             90%}
.
width80 width:             80%;}
.
width75 width:             75%;}
.
width70 width:            70%}
.
width66 width:            66.6%}
.
width60 width:            60%}
.
width50 width:             49%;}
.
width45 width:            45%}
.
width40 width:            40%}
.
width33 width:             33.3%;}
.
width30 width:             30%;}
.
width25 width:             25%;}
.
width20 width:             20%;}
.
width15 width:             15%;}
.
width10 width:             10%;}
.
width5width:                5%; }
.
width3width:                3%; }
.
width2width:                2%; }
.
width1width:                1%; }
/* Padding */
.pad2 {padding2px;}
.
pad3 {padding3px;}
.
pad5 {padding5px;}
.
pad7 {padding7px;}
.
pad10 {padding10px;}
/* Margin */
.marg2 {margin2px;}
.
marg3 {margin3px;}
.
marg5 {margin5px;}
.
marg7 {margin8px;}
.
marg10 {margin10px;}
/* Font */
.verysmall, .xx-small font-size .7em;}
.
smallsmall, .x-small font-size.8em;}
.
small font-size:             .92em;}
.
normal font-size:         1em;}
.
big font-size:             1.17em;}
.
maxi font-size:             1.5em;}
.
bold font-weight:            bold;}
.
bolder font-weight:        bolder; }
.
lighter font-weight:        lighter; }
.
normal {font-weightnormalfont-stylenormal;}
.
italic {font-style:         italic;}
.
oblique font-style:        oblique; }
.
underlinetext-decoration:underline; }
.
expanded letter-spacing:     .5em; }
.
condensed letter-spacing: -.1em; }
.
uppercase text-transformuppercase; }
.
lowercase text-transform:    lowercase; }
.
capitalize text-transform:capitalize; }
/*======== line-height ======== */
.line100 line-height1em;}
.
line120 line-height1.2em;}
.
line140 {line-height1.4em;}
.
line160 {line-height1.6em;}
.
line170 {line-height1.7em;}
.
line180 {line-height1.8em;}
.
line200 {line-height2em;}
.
line220 {line-height2.2em;}
.
line240 {line-height2.4em;}
/* Colors */
.red {background-color:transparentcolor:#ff0000;}
.blue {background-color:transparentcolor:#0000ff;}
.black {background-color:transparentcolor:#000;}
.white {background-color:transparentcolor:#fff;}
.yellow {background-color:transparentcolor:#ffff00;}
.orange {background-color:transparentcolor:#ffa500;}
.green {    background-color:transparentcolor:#008000;}
.silver {background-color:transparentcolor:#c0c0c0;}
/* Hidden */
.hidedisplay:none; }
.
hiddenvisibility:hiddenposition:absolutetop:0left:0; }
/* Space */
.spacerpadding:0 0 3px 0;}
.
separator {
    
clear:         both;
    
float:        left;
    
height:     1px;
    
width:         100%;
}
/* Cursor class */
.cursordefaultcursor:default; }
.
cursormovecursor:move; }
.
cursorpointercursor:pointer; }
.
cursorhelpcursor:help; }
/*========  others opacity class ======== */
.opac5 opacity:.5 !importantfilteralpha(opacity=50) !important;}
.
opac5:hover opacity:!importantfilteralpha(opacity=100) !important;}
.
opac7 opacity:.7 !importantfilteralpha(opacity=70) !important;}
.
opac7:hover opacity:!importantfilteralpha(opacity=100) !important;}
.
opac1 {opacity!importantfilteralpha(opacity=100) !important;}
.
opac1:hover {opacity.5 !importantfilteralpha(opacity=50) !important;}
/*========  others radius class ======== */
.bradius3 {    border-radius3px;    -moz-border-radius3px; -webkit-border-radius3px;}
.
bradius5 {    border-radius5px;    -moz-border-radius5px; -webkit-border-radius5px;}
.
bradius10 {    border-radius10px; -moz-border-radius10px; -webkit-border-radius10px;}
.
bradius15 {    border-radius15px; -moz-border-radius15px; -webkit-border-radius15px;}
/*========  border class ======== */
.bnone {border:0;}
.
borderborder:    1px solid #000; }
.dottedborder:     1px dotted #000; }
.dashedborder:     1px dashed #000; }
.solidblack border 1px solid #000;}
.solidwhite border 1px solid #fff;}
.solidred border 1px solid #ff0000;}
.solidyellow border 1px solid #ffff00;}
.solidblue border 1px solid #0000ff;}
.solidorange border 1px solid #ffa500;}
.solidgreen border 1px solid #008000;}
.solidbrown border 1px solid #a52a2a;}
.solidsilver border 1px solid #c0c0c0;}
.dottedblack border 1px dotted #000;}
.dottedwhite border 1px dotted #fff;}
.dottedred border 1px dotted #ff0000;}
.dottedyellow border 1px dotted #ffff00;}
.dottedblue border 1px dotted #0000ff;}
.dottedorange border 1px dotted #ffa500;}
.dottedgreen border 1px dotted #008000;}
.dottedbrown border 1px dotted #a52a2a;}
.dottedsilver border 1px dotted #c0c0c0;}
.dashedblack border 1px dashed #000;}
.dashedwhite border 1px dashed #fff;}
.dashedred border 1px dashed #ff0000;}
.dashedyellow border 1px dashed #ffff00;}
.dashedblue border 1px dashed #0000ff;}
.dashedorange border 1px dashed #ffa500;}
.dashedgreen border 1px dashed #008000;}
.dashedbrown border 1px dashed #a52a2a;}
.dashedsilver border 1px dashed #c0c0c0;}
.doubleblack border 4px double #000;}
.doublewhite border 4px double #fff;}
.doublered border 4px double #ff0000;}
.doubleyellow border 4px double #ffff00;}
.doubleblue border 4px double #0000ff;}
.doubleorange border 4px double #ffa500;}
.doublegreen border 4px double #008000;}
.doublebrown border 4px double #a52a2a;}
.doublesilver border 4px double #c0c0c0;}
.grooveblack border 3px groove #000;}
.groovewhite border 3px groove #fff;}
.groovered border 3px groove #ff0000;}
.grooveyellow border 3px groove #ffff00;}
.grooveblue border 3px groove #0000ff;}
.grooveorange border 3px groove #ffa500;}
.groovegreen border 3px groove #008000;}
.groovebrown border 3px groove #a52a2a;}
.groovesilver border 3px groove #c0c0c0;}
.ridgeblack border 3px ridge #000;}
.ridgewhite border 3px ridge #fff;}
.ridgered border 3px ridge #ff0000;}
.ridgeyellow border 3px ridge #ffff00;}
.ridgeblue border 3px ridge #0000ff;}
.ridgeorange border 3px ridge #ffa500;}
.ridgegreen border 3px ridge #008000;}
.ridgebrown border 3px ridge #a52a2a;}
.ridgesilver border 3px ridge #c0c0c0;}
.insetblack1 border 1px inset #000;}
.insetblack border 3px inset #000;}
.insetwhite1 border 1px inset #fff;}
.insetwhite border 3px inset #fff;}
.insetred border 3px inset #ff0000;}
.insetyellow border 3px inset #ffff00;}
.insetblue border 3px inset #0000ff;}
.insetorange border 3px inset #ffa500;}
.insetgreen border 3px inset #008000;}
.insetbrown border 3px inset #a52a2a;}
.insetsilver1 border 1px inset #c0c0c0;}
.insetsilver border 3px inset #c0c0c0;}
.outsetblack1 border 1px outset #000;}
.outsetblack border 3px outset #000;}
.outsetwhite1 border 1px outset #fff;}
.outsetwhite border 3px outset #fff;}
.outsetred border 3px outset #ff0000;}
.outsetyellow border 3px outset #ffff00;}
.outsetblue border 3px outset #0000ff;}
.outsetorange border 3px outset #ffa500;}
.outsetgreen border 3px outset #008000;}
.outsetbrown border 3px outset #a52a2a;}
.outsetsilver1 border 1px outset #c0c0c0;}
.outsetsilver border 3px outset #c0c0c0;}
/*========  font family class ======== */
.arial font-familyArialHelveticasans-serif; }
.
courierNew font-family'Courier New'Couriermonospace; }
.
georgia font-familyGeorgia'Times New Roman'Timesserif; }
.
lucidaConsole font-family'Lucida Console'Monacomonospace; }
.
lucidaSansUnicode font-family'Lucida Sans Unicode''Lucida Grande'sans-serif; }
.
tahoma font-familyTahomaGenevasans-serif; }
.
times font-family'Times New Roman'Timesserif; }
.
trebuchet font-family'Trebuchet MS'Helveticasans-serif; }
.
verdana font-familyVerdanaGenevasans-serif; }
.
msSans font-family'MS Sans Serif'Genevasans-serif; }
.
msSerif font-family'MS Serif''New York'serif; }
.
helvetica font-family'Helvetica Neue'HelveticaArialsans-serif; }
.
impact font-familyImpactCharcoalsans-serif; }
.
century font-family'Century Gothic''Lucida Grande''Lucida Sans Unicode'sans-serif; }
/*========  shadows class ======== */
.shadow text-shadow:         2px 2px 3px #aaa;}
.shadowlight text-shadow:     1px 1px 2px #aaa;}
.boxshadow {
    
box-shadow:             1px 2px 3px rgba(0,0,0,0.5);
        -
moz-box-shadow:     1px 2px 3px rgba(0,0,0,0.5);
        -
webkit-box-shadow1px 2px 3px rgba(0,0,0,0.5);
}
.
boxshadow1 {
    
box-shadow0 0 20px #787878;
        
-webkit-box-shadow:0 0 20px #787878;
        
-moz-box-shadow:0 0 20px #787878;
        
filter:progid:DXImageTransform.Microsoft.Shadow(color='#bbbbbb'Direction=135Strength=5); 
        
zoom1;
}
.
boxrelief {
    
box-shadow:             0 20px 10px -10px rgba(255,255,255,0.3inset;
        -
moz-box-shadow:     0 20px 10px -10px rgba(255,255,255,0.3inset;
        -
webkit-box-shadow0 20px 10px -10px rgba(255,255,255,0.3inset;
}
.
boxinset {
   
box-shadow:                0 3px 8px rgba(0,0,0,.24inset;
        -
moz-box-shadow:        0 3px 8px rgba(0,0,0,.4inset;
        -
webkit-box-shadow:     0 3px 8px rgba(0,0,0,.4inset;
}
/*========  multiple columns content ======== */
.twocolumn {
    
column-count:2column-gap:1.5em;
        -
moz-column-count2; -moz-column-gap1.5em;
        -
webkit-column-count2; -webkit-column-gap1.5em;
}
.
threecolumn {
    
column-count:3column-gap:1.2em;
        -
moz-column-count3; -moz-column-gap1.2em;
        -
webkit-column-count3; -webkit-column-gap1.2em;
}
.
forcolumn {
    
column-count:4column-gap:1.2em;
        -
moz-column-count4; -moz-column-gap1.2em;
        -
webkit-column-count4; -webkit-column-gap1.2em;
}
.
column10 {
    
column-width:10emcolumn-gap:1.2em;
        -
moz-column-width10em; -moz-column-gap1.2em;
        -
webkit-column-width10em; -webkit-column-gap1.2em;
}
.
column15 {
    
column-width:15emcolumn-gap:1.2em;
        -
moz-column-width15em; -moz-column-gap1.2em;
        -
webkit-column-width15em; -webkit-column-gap1.2em;
}
.
column20 {
    
column-width:20emcolumn-gap:1.2em;
        -
moz-column-width20em; -moz-column-gap1.2em;
        -
webkit-column-width20em; -webkit-column-gap1.2em;
}
.
column25 {
    
column-width:25emcolumn-gap:1.2em;
        -
moz-column-width25em; -moz-column-gap1.2em;
        -
webkit-column-width25em; -webkit-column-gap1.2em;
}

2
kris_fr
Re: xoops.css for 2.5.0
  • 2010/12/1 15:40

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi

Style sheets in your theme are loaded before or after xoops.css?
Then your problem may also come from the jgrowl redirection.

The new generic class xoops.css have to help users to easily format their content and for module developers to limit the css code in templates

Login

Who's Online

154 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits