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