Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #203 (new improvement)

Opened 6 years ago

Last modified 6 years ago

Where is ccss/default.css?

Reported by: JianZhan Owned by:
Priority: minor Milestone: 2.2
Component: unspecified Version: 2.2
Keywords: Cc:

Description

Hi Sir,

I can not find this default.css in my server.

My server has webroot/css/default.css But I changed this file and not affect ccss/default.css?

Maybe it was another folder?

I checked all folers and can not fixed this problem.

Sincerely

Jian Zhan

Change History

comment:1 Changed 6 years ago by JianZhan

  • Milestone changed from 2.4 to 2.2

No changed is cookie problem.

I still change webroot/css/default.css but web page still load old ccss/default.css.

Sincerely

Jian Zhan

comment:2 Changed 6 years ago by JianZhan

  • Version set to 2.2

Hi Sir,

I deleted webroot/css/default.css file and no effect layout.

I think webroot/css/default.css is not necessary file.

I tried to add .AddtoCart?{

cursor:pointer;

cursor:hand;

width:100px;
height:35px;

margin-top: 3px;
padding-bottom: 9px;

border:#000 solid 0px;
color: #fff;
font-size: 12px;
font-weight: bold;
background-color: #000;
background:url(http://lavaink.com/csslavaink/AddtoCartButton.png) no-repeat;


}
.AddtoCart:Hover {

background:url(http://lavaink.com/csslavaink/AddtoCartButtonH.png) no-repeat;

}
.AddtoCart? img {

width:100px;
height:30px;

}

Where should i put my css codes into?

Sincerely

Jian Zhan

comment:3 Changed 6 years ago by JianZhan

I tried add my css codes to _layout.sass but I get error info:
Invalid indentation: /home/content/95/4770795/html/lavagallery22/webroot/css/default/_layout.sass::147 Source: width:100px

Error: An Internal Error Has Occurred.

How can I add my css codes into layout css files?

Sincerely

Jian Zhan

comment:4 Changed 6 years ago by sebastian

First of all: I'm very happy that you are playing with phtagr and enjoying it. This is really great!

phtagr uses the CSS preprocessor SASS (http://sass-lang.com) with Compass (http://compass-style.org) which have the file extension .sass. With SASS you can use variables like color to write css. The sass file is than converted automatically to css. Further, the format of sass and css is a bit different. Please have a look to the sass website if you like to change the style sheet.

Unfortunately, the php sass+compass compiler does not work with PHP 5.4 and the compiled default.css file is required for PHP 5.4. So both sass and css files are required to work properly with php 5.3 and php 5.4.

Please use the mailing list phtagr-gallery@lists.sourceforge.net for questions regarding own code changes because it is not related to bug or a feature request. IMHO the mailing list is a better place to discuss changes.

Note: See TracTickets for help on using tickets.