|
1 | | -// All sizing based on rem units |
2 | | -// 1px / 16px = 0.0625rem |
| 1 | +// all sizing based on *$px units |
| 2 | +$px: 1 / 16 + rem |
3 | 3 |
|
4 | 4 | .css-browsers |
5 | 5 | position: relative |
6 | | - background-color: #ffffff |
7 | | - border: 0.0625rem solid #bbbbbb |
| 6 | + border: 1*$px solid rgba(0,0,0,0.5) |
| 7 | + background-color: rgba(255,255,255,1.0) |
8 | 8 |
|
9 | | - .pull-right |
10 | | - float: right |
| 9 | + .css-browsers-toolbar |
| 10 | + padding: 7*$px |
| 11 | + border-bottom: 1*$px solid rgba(0,0,0,0.5) |
11 | 12 |
|
12 | | - a |
| 13 | + .css-browsers-btn |
| 14 | + display: inline-block |
| 15 | + width: 40*$px |
| 16 | + height: 35*$px |
| 17 | + padding-top: 5*$px |
| 18 | + border: 1*$px solid rgba(0,0,0,0.5) |
| 19 | + color: rgba(0,0,0,0.5) |
| 20 | + text-align: center |
13 | 21 | text-decoration: none |
| 22 | + cursor: pointer |
| 23 | + |
| 24 | + .css-browsers-forward |
| 25 | + margin-left: -5*$px |
| 26 | + border-left: none |
14 | 27 |
|
15 | | - .address |
16 | | - background: #ffffff |
17 | | - border: 0.0625rem solid rgba(0, 0, 0, 0.4) |
| 28 | + .css-browsers-address |
18 | 29 | display: inline-block |
19 | | - left: 5.375rem |
20 | | - padding: 0.5rem 0.5rem 0.438rem |
21 | 30 | position: absolute |
22 | | - right: 0.375rem |
23 | | - |
24 | | - .content |
25 | | - height: 25rem |
26 | | - overflow: hidden |
27 | | - position: relative |
28 | | - |
29 | | - .reload |
30 | | - color: #788083 |
| 31 | + right: 7*$px |
| 32 | + left: 95*$px |
| 33 | + height: 35*$px |
| 34 | + padding: 5*$px 10*$px |
| 35 | + border: 1*$px solid rgba(0,0,0,0.5) |
| 36 | + background: rgba(255,255,255,1.0) |
| 37 | + |
| 38 | + .css-browsers-reload |
| 39 | + float: right |
31 | 40 | font-weight: 700 |
| 41 | + color: rgba(0,0,0,0.5) |
32 | 42 |
|
33 | | - .toolbar |
34 | | - border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.4) |
35 | | - padding: 0.438rem |
36 | | - |
37 | | - .brbtn |
38 | | - border: 0.0625rem solid rgba(0, 0, 0, 0.3) |
39 | | - color: #788083 |
40 | | - cursor: pointer |
41 | | - display: inline-block |
42 | | - margin-right: -0.375rem |
43 | | - padding: 0.375rem 0.563rem |
| 43 | + .css-browsers-content |
| 44 | + position: relative |
| 45 | + height: 300*$px |
| 46 | + overflow: scroll |
44 | 47 |
|
45 | 48 | .css-browsers-safari-7 |
46 | | - border-radius: 0 |
47 | | - border-radius: 0.438rem 0.438rem 0 0 |
48 | | - box-shadow: 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.1) |
| 49 | + border-radius: 7*$px 7*$px 0*$px 0*$px |
| 50 | + box-shadow: 0*$px 3*$px 5*$px rgba(0,0,0,0.1) |
49 | 51 |
|
50 | | - .address |
51 | | - border-radius: 0.3125rem |
52 | | - box-shadow: inset 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0 rgba(255, 255, 255, 0.7) |
53 | | - font-size: 0.75rem |
| 52 | + .css-browsers-address |
| 53 | + padding: 8*$px |
| 54 | + font-size: 12*$px |
| 55 | + border-radius: 5*$px |
| 56 | + box-shadow: inset 0*$px 1*$px 2*$px rgba(0,0,0,0.2), 0*$px 1*$px 0*$px rgba(255,255,255,0.7) |
54 | 57 |
|
55 | | - .back |
56 | | - border-radius: 0.3125rem 0 0 0.3125rem |
| 58 | + .css-browsers-back |
| 59 | + border-radius: 5*$px 0*$px 0*$px 5*$px |
57 | 60 |
|
58 | | - .forward |
59 | | - border-radius: 0 0.3125rem 0.3125rem 0 |
| 61 | + .css-browsers-forward |
| 62 | + border-radius: 0*$px 5*$px 5*$px 0*$px |
60 | 63 |
|
61 | | - .toolbar |
62 | | - border-radius: 0.438rem 0.438rem 0 0 |
63 | | - box-shadow: inset 0 0.0625rem 0 #FFF |
64 | | - background: linear-gradient(to bottom, #e2e2e2 0%, #c8c8c8 100%) |
| 64 | + .css-browsers-toolbar |
| 65 | + border-radius: 7*$px 7*$px 0*$px 0*$px |
| 66 | + box-shadow: inset 0*$px 1*$px 0*$px rgba(255,255,255,1.0) |
| 67 | + background: linear-gradient(rgba(226, 226, 226, 1) 0%, rgba(200, 200, 200, 1) 100%) |
65 | 68 |
|
66 | | - .brbtn |
67 | | - background: linear-gradient(to bottom, #e2e2e2 0%, #c8c8c8 100%) |
68 | | - box-shadow: inset 0 0.0625rem 0 white, 0 0.0625rem 0 rgba(255, 255, 255, 0.7) |
69 | | - text-shadow: 0 0.0625rem 0 rgba(255, 255, 255, 0.7) |
| 69 | + .css-browsers-btn |
| 70 | + box-shadow: inset 0*$px 1*$px 0*$px rgba(255,255,255,1.0), 0*$px 1*$px 0*$px rgba(255,255,255,0.7) |
| 71 | + background: linear-gradient(rgba(226, 226, 226, 1) 0%, rgba(200, 200, 200, 1) 100%) |
| 72 | + text-shadow: 0*$px 1*$px 0*$px rgba(255,255,255,0.7) |
70 | 73 |
|
71 | 74 | &:hover |
72 | | - background: linear-gradient(to bottom, #ededed 0%, #c8c8c8 100%) |
73 | | - |
| 75 | + background: linear-gradient(rgba(237, 237, 237, 1) 0%, rgba(200, 200, 200, 1) 100%) |
74 | 76 | &:active, |
75 | 77 | &.active |
76 | | - background: linear-gradient(to bottom, #c8c8c8 0%, #e2e2e2 100%) |
| 78 | + background: linear-gradient(rgba(200, 200, 200, 1) 0%, rgba(226, 226, 226, 1) 100%) |
0 commit comments