Changeset 2296


Ignore:
Timestamp:
03/18/10 15:28:45 (14 years ago)
Author:
rodsouza
Message:

Ticket #992 - Permitir a inclusão da folha de estilo base para os temas.

Location:
trunk/phpgwapi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.common.inc.php

    r2274 r2296  
    13071307                                } 
    13081308 
    1309                                 $css = _css( 'phpgwapi', "css/{$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ]}" ); 
     1309                                $css = _css( 'phpgwapi', 'css/base' ); 
     1310                                $css .= _css( 'phpgwapi', "css/{$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ]}" ); 
    13101311                                $css .= _css( $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ], "css/{$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ]}" ); 
    13111312                                $css .= _css( $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ], 'app' ); 
  • trunk/phpgwapi/templates/default/css/azul.css

    r2294 r2296  
    22{ 
    33        background-color: #e9e9e9; 
    4         font-size: 11px; 
    5         font-family: Verdana, Arial, Helvetica, sans-serif; 
    6         margin: 0px; 
    7         padding: 0px; 
    84} 
    95 
     
    117a:visited 
    128{ 
    13         cursor: pointer; 
    149        color: #000066; 
    15         text-decoration: none; 
    1610} 
    1711 
     
    1913a:active 
    2014{ 
    21         cursor: pointer; 
    2215        color: #ff9933; 
    23         text-decoration: underline; 
    2416} 
    2517 
     
    2820{ 
    2921        background-color: #eee; 
    30         height: 16px; 
    31         text-align: left; 
    32 } 
    33  
    34 a.appTitles, 
    35 .appTitles 
    36 { 
    37         font-size: 10px; 
    38         height: 18px; 
    39         padding: 2px 0px; 
    4022} 
    4123 
    4224a.textSidebox 
    4325{ 
    44         font-size: 10px; 
    45         border-top: #aaa 0px none; 
    46 } 
    47  
    48 img 
    49 { 
    50         border-width: 0px; 
    51         border-style: none; 
     26        border-top-color: #aaa; 
    5227} 
    5328 
     
    5530button 
    5631{ 
    57         border: 1px #bbb solid; 
     32        border-color: #bbb; 
    5833        color: #069; 
    59         font-family: Arial, Helvetica, sans-serif; 
    60         font-size: 11px; 
    61 } 
    62  
    63 button, 
    64 input[type=button], 
    65 input[type=image], 
    66 input[type=submit] 
    67 { 
    68         cursor: pointer; 
    69         cursor: hand; 
    7034} 
    7135 
    7236input[type=image] 
    7337{ 
    74         border: 0px #bbb none; 
     38        border-color: #bbb; 
    7539} 
    7640 
    7741select 
    7842{ 
    79         border: 1px #bbb solid; 
     43        border-color: #bbb; 
    8044        color: #006; 
    81         font-family: Arial, Helvetica, sans-serif; 
    82         font-size: 11px; 
    83         z-index: -1; 
    84 } 
    85  
    86 td 
    87 { 
    88         font-size: 11px; 
    89 } 
    90  
    91 ul 
    92 { 
    93         list-style-image: url( "../images/orange-ball.png" ); 
    94 } 
    95  
    96 #admin_info 
    97 { 
    98         margin-right: 10px; 
    99         position: relative; 
    100         text-align: center; 
    10145} 
    10246 
     
    10448{ 
    10549        background: #fff url( ../images/bgBlockContent.jpg ) repeat-x; 
    106         border: 1px solid #9c9c9c; 
    107         border-top: 0px; 
    108         margin: 0px 2px; 
    109         padding: 1px; 
    110         padding-left: 15px; 
     50        border-color: #9c9c9c; 
    11151} 
    11252 
     
    11454{ 
    11555        background: url( ../images/bgAppTitle.png ); 
    116         border: 1px solid #9c9c9c; 
    117         border-bottom: 0px; 
    118         color: #000066; 
    119         font-family: Verdana, Arial, Helvetica, sans-serif; 
    120         font-size: 16px; 
    121         font-style: italic; 
    122         font-variant: small-caps; 
    123         font-weight: normal; 
    124         height: 24px; 
    125         line-height: 24px; 
    126         margin: 2px; 
    127         margin-bottom: 0px; 
    128         padding: 0px; 
    129         text-align: center; 
     56        border-color: #9c9c9c; 
     57        color: #006; 
    13058        text-shadow: 0.2em 0.2em 3px #999; 
    13159} 
     
    13462{ 
    13563        background: #fff url( ../images/background-icon-bar.png ) repeat-x; 
    136         border-top: 1px solid #9c9c9c; 
     64        border-top-color: #9c9c9c; 
    13765} 
    13866 
     
    14472#divGenTime 
    14573{ 
    146         bottom: 14px; 
    14774        color: #f00; 
    148         font-size: 9px; 
    149         text-align: center; 
    150         width: 99%; 
    151 } 
    152  
    153 #divLogo 
    154 { 
    155         left: 20px; 
    156         position: absolute; 
    157         top: 5px; 
    158         z-index: 51; 
    15975} 
    16076 
    16177#divMain 
    16278{ 
    163         background-color: #fff; 
    164         border: 1px solid #7e7e7e; 
    165         margin-top: 0px; 
    166         padding: 9px; 
     79        background: #fff; 
     80        border-color: #7e7e7e; 
    16781} 
    16882 
    16983#divPoweredBy 
    17084{ 
    171         background-color: #fff; 
     85        background: #fff; 
    17286        color: #999; 
    173         font-family: Verdana, Arial, Helvetica, sans-serif; 
    174         font-size: 10px; 
    175         padding: 7px; 
    176         text-decoration: none; 
    177         text-align: center; 
    17887} 
    17988 
    18089#divSideboxContainer 
    18190{ 
    182         background-color: #fff; 
    183         border: 1px solid; 
    184         left: 0px; 
    185         position: relative; 
    186         top: 0px; 
    187         width: 150px; 
    188         z-index: 40; 
    189 } 
    190  
    191 #divStatusBar 
    192 { 
    193         height: 24px; 
    194         padding-left: 10px; 
    195         padding-top: 0px; 
     91        background: #fff; 
    19692} 
    19793 
    19894#extraIcons 
    19995{ 
    200         background-color: #eee; 
    201         border: 1px solid #7e7e7e; 
     96        background: #eee; 
     97        border-color: #7e7e7e; 
    20298} 
    20399 
     
    211107{ 
    212108        background-color: #fff; 
    213         width: 100%; 
    214109} 
    215110 
    216111#tdSidebox 
    217112{ 
    218         background-color: #fff; 
    219         overflow: visible; 
    220         width: 170px; 
    221 } 
    222  
    223 #user_info 
    224 { 
    225         padding-left: 17px; 
     113        background: #fff; 
    226114} 
    227115 
    228116.conteudo 
    229117{ 
    230         border: 1px solid #4A79B1; 
    231         border-top: 0px; 
     118        border-color: #4A79B1; 
    232119        color: #003; 
    233         font-family: Verdana, Arial, Helvetica, sans-serif; 
    234         font-size: 10px; 
    235         font-weight: normal; 
    236         overflow: none; 
    237         padding: 2px; 
    238         width: 99.5%; 
    239         -moz-border-radius: 0px 0px 6px 6px; 
    240120} 
    241121 
    242122.divSideboxHeader 
    243123{ 
    244         background-color: #416faa; 
     124        background: #416faa; 
    245125        color: #fff; 
    246         height: 15px; 
    247         padding-top: 2px; 
    248         text-align: center; 
    249 } 
    250  
    251 .dsused 
    252 { 
    253         background-image: url( ../images/dsused.gif ); 
    254126} 
    255127 
    256128.extraIconsRow 
    257129{ 
    258         border-top: 1px solid #ddd; 
    259         padding: 2px; 
     130        border-top-color: #ddd; 
    260131} 
    261132 
    262133.greyLine 
    263134{ 
    264         border-top: 1px solid #7e7e7e; 
    265         height: 1px; 
    266         margin: 1px; 
     135        border-top-color: #7e7e7e; 
    267136} 
    268137 
    269138.grid_email_class 
    270139{ 
    271         border-bottom: 1px solid #cfcfcf; 
     140        border-bottom-color: #cfcfcf; 
    272141} 
    273142 
    274143.image-menu 
    275144{ 
    276         padding: 0px; 
    277145        background: url( ../../../../phpgwapi/templates/default/images/folder_bg.png ); 
    278146} 
     
    280148.last_menu 
    281149{ 
    282         border-bottom: 1px solid #4a79b1; 
    283         -moz-border-radius: 0px 0px 0px 0px; 
     150        border-bottom-color: #4a79b1; 
    284151} 
    285152 
     
    287154{ 
    288155        background: url( ../../../../phpgwapi/templates/default/images/logo_expresso.jpg ) no-repeat 0 3px; 
    289         width: 191px; 
    290 } 
    291  
    292 .menu, 
    293 .menu-sel 
    294 { 
    295         border: 1px solid; 
    296         cursor: pointer; 
    297         font: bold 13px Lucidatypewriter,monospace; 
    298         height: 20px; 
    299         margin-bottom: 0px; 
    300         padding: 0px 5px 0px 0px; 
    301         text-align: center; 
    302         text-decoration: none; 
    303         -moz-border-radius: 9px 9px 0px 0px; 
    304         -moz-user-select: none; 
    305156} 
    306157 
    307158.menu 
    308159{ 
    309         background-color: #c8d7ea; 
     160        background: #c8d7ea; 
    310161        border-color: #f4f7fc; 
    311         border-bottom: 1px solid #4a79b1; 
     162        border-bottom-color: #4a79b1; 
    312163} 
    313164 
     
    316167        background-color: #f7f7f7; 
    317168        border-color: #4a79b1; 
    318         border-bottom: 0px; 
    319169        color: #00f; 
    320170} 
     
    323173{ 
    324174        background-image: url( ../../../../phpgwapi/templates/default/images/degrade.png ); 
    325         background-repeat: repeat-x; 
    326 } 
    327  
    328 .navbar_but, 
    329 .navbar_butOut, 
     175} 
     176 
     177.navbar_but 
     178{ 
     179        background-image: url(../../../../phpgwapi/templates/default/images/back_app.png); 
     180} 
     181 
    330182.navbar_butOver 
    331183{ 
    332         background-repeat: no-repeat; 
    333         cursor: pointer; 
    334         cursor: hand; 
    335         height: 40px; 
    336         padding-right: 6px; 
    337         text-align: center; 
    338         vertical-align: center; 
    339         width: 40px; 
    340 } 
    341  
    342 .navbar_but 
    343 { 
    344         background-image: url(../../../../phpgwapi/templates/default/images/back_app.png); 
    345 } 
    346  
    347 .navbar_butOver 
    348 { 
    349184        background-image: url( ../../../../phpgwapi/templates/default/images/back_app_over.png ); 
    350185} 
     
    355190} 
    356191 
    357 .prefSection 
    358 { 
    359         font-weight: bold; 
    360         font-size: 16px; 
    361         line-height: 40px; 
    362 } 
    363  
    364 .sideboxSpace 
    365 { 
    366         height: 9px; 
    367 } 
    368  
    369192.tblHeadApp 
    370193{ 
    371         border: #9c9c9c 1px solid; 
     194        border-color: #9c9c9c; 
    372195} 
    373196 
    374197.textSidebox 
    375198{ 
    376         border-top: 1px solid #aaa; 
    377         font-size: 10px; 
    378         height: 18px; 
    379         padding-top: 2px; 
    380         padding-bottom: 2px; 
     199        border-top-color: #aaa; 
    381200} 
    382201 
     
    384203{ 
    385204        background-image: url( ../../../../phpgwapi/templates/default/images/fundo_topo.png ); 
    386         position: absolute; 
    387 } 
    388  
    389 .whiteSpace 
    390 { 
    391         width: 2px; 
    392205} 
    393206 
     
    398211{ 
    399212        color: #3f3f3f; 
    400         background-color: #fff; 
    401         -moz-user-select: none; 
     213        background: #fff; 
    402214} 
    403215 
     
    405217.tr_msg_read2 
    406218{ 
    407         background-color: #f4f8fb; 
     219        background: #f4f8fb; 
    408220} 
    409221 
     
    413225.message_header 
    414226{ 
    415         background-color: #abc6e1; 
     227        background: #abc6e1; 
    416228} 
    417229 
  • trunk/phpgwapi/templates/default/css/rochas.css

    r2294 r2296  
    22{ 
    33        background-color: #e9e9e9; 
    4         font-size: 11px; 
    5         font-family: Verdana, Arial, Helvetica, sans-serif; 
    6         margin: 0px; 
    7         padding: 0px; 
    84} 
    95 
     
    117a:visited 
    128{ 
    13         cursor: pointer; 
    149        color: #000066; 
    15         text-decoration: none; 
    1610} 
    1711 
     
    1913a:active 
    2014{ 
    21         cursor: pointer; 
    2215        color: #ff9933; 
    23         text-decoration: underline; 
    2416} 
    2517 
     
    2820{ 
    2921        background-color: #eee; 
    30         height: 16px; 
    31         text-align: left; 
    32 } 
    33  
    34 a.appTitles, 
    35 .appTitles 
    36 { 
    37         font-size: 10px; 
    38         height: 18px; 
    39         padding: 2px 0px; 
    4022} 
    4123 
    4224a.textSidebox 
    4325{ 
    44         font-size: 10px; 
    45         border-top: #aaa 0px none; 
    46 } 
    47  
    48 img 
    49 { 
    50         border-width: 0px; 
    51         border-style: none; 
     26        border-top-color: #aaa; 
    5227} 
    5328 
     
    5530button 
    5631{ 
    57         border: 1px #bbb solid; 
     32        border-color: #bbb; 
    5833        color: #069; 
    59         font-family: Arial, Helvetica, sans-serif; 
    60         font-size: 11px; 
    61 } 
    62  
    63 button, 
    64 input[type=button], 
    65 input[type=image], 
    66 input[type=submit] 
    67 { 
    68         cursor: pointer; 
    69         cursor: hand; 
    7034} 
    7135 
    7236input[type=image] 
    7337{ 
    74         border: 0px #bbb none; 
     38        border-color: #bbb; 
    7539} 
    7640 
    7741select 
    7842{ 
    79         border: 1px #bbb solid; 
     43        border-color: #bbb; 
    8044        color: #006; 
    81         font-family: Arial, Helvetica, sans-serif; 
    82         font-size: 11px; 
    83         z-index: -1; 
    84 } 
    85  
    86 td 
    87 { 
    88         font-size: 11px; 
    89 } 
    90  
    91 ul 
    92 { 
    93         list-style-image: url( "../images/orange-ball.png" ); 
    94 } 
    95  
    96 #admin_info 
    97 { 
    98         margin-right: 10px; 
    99         position: relative; 
    100         text-align: center; 
    10145} 
    10246 
     
    10448{ 
    10549        background: #eeeee0; 
    106         border: 1px solid #9c9c9c; 
    107         border-top: 0px; 
    108         margin: 0px 2px; 
    109         padding: 1px; 
    110         padding-left: 15px; 
     50        border-color: #9c9c9c; 
    11151} 
    11252 
     
    11454{ 
    11555        background: #eeeee0; 
    116         border: 1px solid #9c9c9c; 
    117         border-bottom: 0px; 
     56        border-color: #9c9c9c; 
    11857        color: #006; 
    119         font-family: Verdana, Arial, Helvetica, sans-serif; 
    12058        font-size: 14px; 
    12159        font-weight: bold; 
    122         height: 24px; 
    123         line-height: 24px; 
    124         margin: 2px; 
    125         margin-bottom: 0px; 
    126         padding: 0px; 
    127         text-align: center; 
    12860} 
    12961 
    13062#divAppIconBar 
    13163{ 
    132         background: #fff url(../images/background-icon-bar.png) repeat-x; 
    133         border-top: 1px solid #9c9c9c; 
     64        background: #fff url( ../images/background-icon-bar.png ) repeat-x; 
     65        border-top-color: #9c9c9c; 
    13466} 
    13567 
     
    14173#divGenTime 
    14274{ 
    143         bottom: 14px; 
    14475        color: #f00; 
    145         font-size: 9px; 
    146         text-align: center; 
    147         width: 99%; 
    148 } 
    149  
    150 #divLogo 
    151 { 
    152         left: 20px; 
    153         position: absolute; 
    154         top: 5px; 
    155         z-index: 51; 
    15676} 
    15777 
    15878#divMain 
    15979{ 
    160         background-color: #fff; 
    161         border: 1px solid #7e7e7e; 
    162         margin-top: 0px; 
    163         padding: 9px; 
     80        background: #fff; 
     81        border-color: #7e7e7e; 
    16482} 
    16583 
    16684#divPoweredBy 
    16785{ 
    168         background-color: #fff; 
     86        background: #fff; 
    16987        color: #999; 
    170         font-family: Verdana, Arial, Helvetica, sans-serif; 
    171         font-size: 10px; 
    172         padding: 7px; 
    173         text-decoration: none; 
    174         text-align: center; 
    17588} 
    17689 
    17790#divSideboxContainer 
    17891{ 
    179         background-color: #fff; 
    180         border: 1px solid; 
    181         left: 0px; 
    182         position: relative; 
    183         top: 0px; 
    184         width: 150px; 
    185         z-index: 40; 
    186 } 
    187  
    188 #divStatusBar 
    189 { 
    190         height: 24px; 
    191         padding-left: 10px; 
    192         padding-top: 0px; 
     92        background: #fff; 
    19393} 
    19494 
    19595#extraIcons 
    19696{ 
    197         background-color: #eee; 
    198         border: 1px solid #7e7e7e; 
     97        background: #eee; 
     98        border-color: #7e7e7e; 
    19999} 
    200100 
     
    208108{ 
    209109        background-color: #fff; 
    210         width: 100%; 
    211110} 
    212111 
    213112#tdSidebox 
    214113{ 
    215         background-color: #fff; 
    216         overflow: visible; 
    217         width: 170px; 
    218 } 
    219  
    220 #user_info 
    221 { 
    222         padding-left: 17px; 
     114        background: #fff; 
    223115} 
    224116 
    225117.conteudo 
    226118{ 
    227         border: 1px solid #4A79B1; 
    228         border-top: 0px; 
     119        border-color: #4A79B1; 
    229120        color: #003; 
    230         font-family: Verdana, Arial, Helvetica, sans-serif; 
    231         font-size: 10px; 
    232         font-weight: normal; 
    233         overflow: none; 
    234         padding: 2px; 
    235         width: 99.5%; 
    236         -moz-border-radius: 0px 0px 6px 6px; 
    237121} 
    238122 
    239123.divSideboxHeader 
    240124{ 
    241         background-color: #006; 
     125        background: #006; 
    242126        color: #fff; 
    243         height: 15px; 
    244         padding-top: 2px; 
    245         text-align: center; 
    246 } 
    247  
    248 .dsused 
    249 { 
    250         background-image: url( ../images/dsused.gif ); 
    251127} 
    252128 
    253129.extraIconsRow 
    254130{ 
    255         border-top: 1px solid #ddd; 
    256         padding: 2px; 
     131        border-top-color: #ddd; 
    257132} 
    258133 
    259134.greyLine 
    260135{ 
    261         border-top: 1px solid #7e7e7e; 
    262         height: 1px; 
    263         margin: 1px; 
     136        border-top-color: #7e7e7e; 
    264137} 
    265138 
    266139.grid_email_class 
    267140{ 
    268         border-bottom: 1px solid #cfcfcf; 
     141        border-bottom-color: #cfcfcf; 
    269142} 
    270143 
    271144.image-menu 
    272145{ 
    273         padding: 0px; 
    274146        background: #ddf4fe url( ../../../../phpgwapi/templates/default/images/folder_bg_canyon.jpg ) no-repeat scroll center bottom; 
    275147} 
     
    277149.last_menu 
    278150{ 
    279         border-bottom: 1px solid #4a79b1; 
    280         -moz-border-radius: 0px 0px 0px 0px; 
     151        border-bottom-color: #4a79b1; 
    281152} 
    282153 
     
    288159} 
    289160 
    290 .menu, 
     161.menu 
     162{ 
     163        background: #a19183; 
     164        border-color: #f4f7fc; 
     165        border-bottom-color: #4a79b1; 
     166} 
     167 
    291168.menu-sel 
    292169{ 
    293         border: 1px solid; 
    294         cursor: pointer; 
    295         font: bold 13px Lucidatypewriter,monospace; 
    296         height: 20px; 
    297         margin-bottom: 0px; 
    298         padding: 0px 5px 0px 0px; 
    299         text-align: center; 
    300         text-decoration: none; 
    301         -moz-border-radius: 9px 9px 0px 0px; 
    302         -moz-user-select: none; 
    303 } 
    304  
    305 .menu 
    306 { 
    307         background-color: #a19183; 
    308         border-color: #f4f7fc; 
    309         border-bottom: 1px solid #4a79b1; 
    310 } 
    311  
    312 .menu-sel 
    313 { 
    314170        background-color: #f7f7f7; 
    315     border-color: #A19183; 
    316         border-bottom: 0px; 
     171        border-color: #A19183; 
    317172        color: #00f; 
    318173} 
     
    321176{ 
    322177        background-image: url( ../../../../phpgwapi/templates/default/images/degrade.png ); 
    323         background-repeat: repeat-x; 
    324 } 
    325  
    326 .navbar_but, 
    327 .navbar_butOut, 
     178} 
     179 
     180.navbar_but 
     181{ 
     182        background-image: url( ../../../../phpgwapi/templates/default/images/back_app_canyon.png ); 
     183} 
     184 
    328185.navbar_butOver 
    329186{ 
    330         background-repeat: no-repeat; 
    331         cursor: pointer; 
    332         cursor: hand; 
    333         height: 40px; 
    334         padding-right: 6px; 
    335         text-align: center; 
    336         vertical-align: center; 
    337         width: 40px; 
    338 } 
    339  
    340 .navbar_but 
    341 { 
    342         background-image: url( ../../../../phpgwapi/templates/default/images/back_app_canyon.png ); 
    343 } 
    344  
    345 .navbar_butOver 
    346 { 
    347         background-image: url( ../../../../phpgwapi/templates/default/images/back_app_over_canyon.png ); 
     187        background-image: url( ../../../../phpgwapi/templates/default/images/back_app_over_canyon.png ); 
    348188} 
    349189 
    350190.navbar_butOut 
    351191{ 
    352         background-image: url( ../../../../phpgwapi/templates/default/images/back_app_out_canyon.png ); 
    353 } 
    354  
    355 .prefSection 
    356 { 
    357         font-weight: bold; 
    358         font-size: 16px; 
    359         line-height: 40px; 
    360 } 
    361  
    362 .sideboxSpace 
    363 { 
    364         height: 9px; 
     192        background-image: url( ../../../../phpgwapi/templates/default/images/back_app_out_canyon.png ); 
    365193} 
    366194 
    367195.tblHeadApp 
    368196{ 
    369         border: #9c9c9c 1px solid; 
     197        border-color: #9c9c9c; 
    370198} 
    371199 
    372200.textSidebox 
    373201{ 
    374         border-top: 1px solid #aaa; 
    375         font-size: 10px; 
    376         height: 18px; 
    377         padding-top: 2px; 
    378         padding-bottom: 2px; 
     202        border-top-color: #aaa; 
    379203} 
    380204 
     
    382206{ 
    383207        background-image: url(../../../../phpgwapi/templates/default/images/fundo_topo_canyon.png); 
    384         position: absolute; 
    385208} 
    386209 
     
    396219{ 
    397220        color: #615143; 
    398         background-color: #fff; 
    399         -moz-user-select: none; 
     221        background: #fff; 
    400222} 
    401223 
     
    403225.tr_msg_read2 
    404226{ 
    405         background-color: #eeeee0; 
     227        background: #eeeee0; 
    406228} 
    407229 
     
    411233.message_header 
    412234{ 
    413         background-color: #cfb69e; 
     235        background: #cfb69e; 
    414236} 
    415237 
Note: See TracChangeset for help on using the changeset viewer.