Conditions | 1 |
Paths | 1 |
Total Lines | 29 |
Code Lines | 27 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function init() |
||
30 | { |
||
31 | $this->view->registerCss(<<<CSS |
||
32 | .cart-item .dl-config { display: none; } |
||
33 | |||
34 | dl.dl-config { |
||
35 | padding: 1em 0 0; |
||
36 | display: flex; |
||
37 | flex-flow: row wrap; |
||
38 | } |
||
39 | |||
40 | dl.dl-config dt { |
||
41 | flex-basis: 16%; |
||
42 | text-align: left; |
||
43 | width: auto; |
||
44 | } |
||
45 | |||
46 | dl.dl-config dt::after { |
||
47 | content: ":"; |
||
48 | } |
||
49 | |||
50 | dl.dl-config dd { |
||
51 | flex-basis: 70%; |
||
52 | flex-grow: 1; |
||
53 | margin: 0; |
||
54 | padding: 0; |
||
55 | } |
||
56 | CSS |
||
57 | , [], __CLASS__ . '_client_css'); |
||
58 | } |
||
83 |