Debian Codegraph @

dojox/mobile/themes/common/IconMenu_rtl.less

raw
1 .mblIconMenuItemRtl {
2 float: right;
3 }
4 .first-column(@v){
5 &.mblIconMenuItemFirstColumn{
6 border-right: none;
7 border-left: @v;
8 }
9 }
10
11 .menu-item-first-column(@v){
12 .mblIconMenuItemRtl{
13 .first-column (@v);
14 }
15 }
16
17 .top-radius(@r, @l){
18 border-top-right-radius: @r;
19 border-top-left-radius: @l;
20 }
21
22 .bottom-radius(@r, @l){
23 border-bottom-right-radius: @r;
24 border-bottom-left-radius: @l;
25 }
26
27 .first-row-first-column(@r, @l: 0px){
28 .mblIconMenuItemRtl.mblIconMenuItemFirstRow.mblIconMenuItemFirstColumn {
29 .top-radius(@r, @l);
30 }
31 }
32
33 .first-row-last-column(@r: 0px, @l){
34 .mblIconMenuItemRtl.mblIconMenuItemFirstRow.mblIconMenuItemLastColumn {
35 .top-radius(@r, @l);
36 }
37 }
38
39 .last-row-first-column(@r, @l: 0px){
40 .mblIconMenuItemRtl.mblIconMenuItemLastRow.mblIconMenuItemFirstColumn {
41 .bottom-radius(@r, @l);
42 }
43 }
44
45 .last-row-last-column(@r: 0px, @l){
46 .mblIconMenuItemRtl.mblIconMenuItemLastRow.mblIconMenuItemLastColumn {
47 .bottom-radius(@r, @l);
48 }
49 }
50 .mixin(android, @r:6px, @l: 0px, @v:~"1px solid rgba(96, 96, 96, 0.85)"){
51 .menu-item-first-column(@v);
52 .first-row-first-column(@r, @l);
53 .first-row-last-column(@l, @r);
54 .last-row-first-column(@r, @l);
55 .last-row-last-column(@l ,@r);
56
57 }
58
59 .mixin(iphone, @r:10px, @l: 0px, @v:~"1px solid #6b6c6f"){
60 .menu-item-first-column(@v);
61 .first-row-first-column(@r, @l);
62 .first-row-last-column(@l, @r);
63 .last-row-first-column(@r, @l);
64 .last-row-last-column(@l ,@r);
65
66 }
67
68 .mixin(custom, @r:3px, @l: 0px, @v:~"1px solid rgba(192, 192, 192, 0.85)"){
69 .menu-item-first-column(@v);
70 .first-row-first-column(@r, @l);
71 .first-row-last-column(@l, @r);
72 .last-row-first-column(@r, @l);
73 .last-row-last-column(@l ,@r);
74
75 }
76 .mixin(blackberry, @v:~"1px solid #000000"){
77 .first-column(@v);
78 }
79 .mixin(holoDark, @r:6px, @l: 0px, @v:~"1px solid rgba(96, 96, 96, 0.85)"){
80 .menu-item-first-column(@v);
81 .first-row-first-column(@r, @l);
82 .first-row-last-column(@l, @r);
83 .last-row-first-column(@r, @l);
84 .last-row-last-column(@l ,@r);
85
86 }
87 .mixin(ios7, @r:6px, @l: 0px, @v:~"1px solid rgba(96, 96, 96, 0.85)"){
88 .menu-item-first-column(@v);
89 .first-row-first-column(@r, @l);
90 .first-row-last-column(@l, @r);
91 .last-row-first-column(@r, @l);
92 .last-row-last-column(@l ,@r);
93
94 }
95 .mixin(@theme-id);