Project

General

Profile

Actions

Feature #15361

closed

Use css pseudo-classes instead of cycle("odd", "even")

Added by Vadim Pushtaev about 11 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

I'm not sure it's a right way to ask such questions, so I'm sorry in advance.

I'm trying to produce some solution for making drag'n'drop in tables possible (see #12909).

I have a problem with class="<%= cycle("odd", "even") %>">, static classes are not suitable for drag'n'drop.

What do you think about using :odd and :even css pseudo-classes just to avoid static classes? I can make a patch, but will it be accepted?


Files

use_pseudo_classes.patch (27.6 KB) use_pseudo_classes.patch Marius BĂLTEANU, 2016-05-31 00:47
use_pseudo_classes_v2.patch (28.3 KB) use_pseudo_classes_v2.patch Marius BĂLTEANU, 2016-08-23 00:26
issues_list.png (81.2 KB) issues_list.png Marius BĂLTEANU, 2016-12-05 23:57
3.4.0_use_pseudo_classes_v3.patch (29.4 KB) 3.4.0_use_pseudo_classes_v3.patch Marius BĂLTEANU, 2016-12-06 00:07
add_odd-even_class_to_time_entries_block_from_my_page.patch (1.38 KB) add_odd-even_class_to_time_entries_block_from_my_page.patch Marius BĂLTEANU, 2017-01-25 20:53
Actions

Also available in: Atom PDF