Debian Codegraph @

browserpass-extension/src/options/options.less

raw
1 @font-face {
2 font-family: "Open Sans";
3 font-style: normal;
4 font-weight: 400;
5 src: local("Open Sans"), url("/fonts/OpenSans-Regular.ttf") format("truetype");
6 }
7
8 @font-face {
9 font-family: "Open Sans";
10 font-style: normal;
11 font-weight: 300;
12 src: local("Open Sans Light"), url("/fonts/OpenSans-Light.ttf") format("truetype");
13 }
14
15 html,
16 body {
17 box-sizing: border-box;
18 overflow: hidden;
19 margin: 0;
20 }
21
22 body {
23 margin: 10px 20px 20px;
24 }
25
26 h3 {
27 margin-top: 25px;
28 }
29
30 h3:first-child {
31 margin-top: 0;
32 }
33
34 .notice {
35 margin-top: -10px;
36 margin-bottom: 10px;
37 color: gray;
38 font-size: 10px;
39 }
40
41 .option {
42 display: flex;
43 align-items: center;
44 height: 16px;
45 line-height: 16px;
46 margin-bottom: 5px;
47 margin-top: 5px;
48 }
49
50 .option input[type="checkbox"] {
51 height: 12px;
52 margin: 2px 6px 2px 0;
53 padding: 0;
54 }
55
56 .option input[type="text"] {
57 background-color: white;
58 color: black;
59 border: none;
60 border-bottom: 1px solid #aaa;
61 border-radius: 0;
62 min-height: 0px;
63 height: 21px;
64 overflow: hidden;
65 padding: 0;
66 width: 125px;
67 margin-left: 5px;
68 }
69
70 .option.custom-store input[type="text"] {
71 margin: -4px 6px 0 0;
72 width: 16%;
73 }
74
75 .option.custom-store input[type="text"].path {
76 width: calc(100% - 16% * 3 - 6px * 3 - 16px);
77 }
78
79 .option.custom-store a.remove {
80 color: #f00;
81 display: block;
82 height: 16px;
83 line-height: 16px;
84 margin: 0;
85 padding: 0;
86 text-decoration: none;
87 width: 16px;
88 cursor: pointer;
89 }
90
91 .add-store {
92 cursor: pointer;
93 display: block;
94 margin-top: 12px;
95 margin-bottom: 30px;
96 color: rgb(17, 85, 204);
97 text-decoration: underline;
98 }
99
100 .error {
101 margin-bottom: 30px;
102 color: red;
103 }
104
105 .save {
106 cursor: pointer;
107 margin-right: 10px;
108 }
109
110 @-moz-document url-prefix() {
111 body {
112 background: #fff;
113 border: 1px solid #000;
114 font-family: "Open Sans";
115 margin: 2px;
116 padding: 12px;
117 }
118
119 .option.custom-store input[type="text"] {
120 background: #fff;
121 margin: 2px;
122 }
123
124 .option.custom-store a.remove {
125 font-size: 12px;
126 }
127 }