Ticket #608 (assigned defect)

Opened 14 years ago

Last modified 10 years ago

ul / li elements are not defined by the Font style

Reported by: ebarroca Owned by: trac
Priority: P2 Milestone: CPS 3.4.10
Component: CPSSkins Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by gracinet) (diff)

When setting a font style, ul/li elements are not affected by the style. I think Default paragraph style should be applied on li too (not only on p).

Maybe it could also be interesting to add the possibility to define the bullet (an image for example) on li elements.

Change History

comment:1 Changed 14 years ago by ebarroca

  • rep_platform changed from Macintosh to All
  • op_sys changed from MacOS X to All

comment:2 Changed 14 years ago by jmorliaguet

  • Status changed from new to assigned
  • Milestone set to CPS 3.4.0

The reason is that the <ul>, <li> is defined in portal box shape / color already, so there is a conflict.

however there is a need for custom stylesheets (CSS snippets):

these could either be defined: a) in custom styles b) in an attribute of the displayed object (portlet, templet, slot) c) in a custom.css method associated to the object.

I feel that b) is the best place to have them, since it would make it clear for users that the custom CSS settings override the styles already associated to the object.

Then you'll be able to write:

ul {

color: red;

}

li {

list-style-type: square;

}

p {

padding: 0.5em;

}

(at your own risk..)

comment:3 Changed 14 years ago by ebarroca

  • Milestone changed from CPS 3.4.0 to CPS 3.4.1

comment:4 Changed 13 years ago by sfermigier

  • Milestone changed from CPS 3.4.1 to CPS 3.4.2

comment:5 Changed 10 years ago by gracinet

  • Description modified (diff)
  • Milestone changed from CPS 3.5.0 to CPS 3.4.10

The default theme system in trunk is CPSDesignerThemes now

Note: See TracTickets for help on using tickets.