Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit 980ed6c

Browse files
committed
Update editorconfig to use spaces instead of tabs
1 parent 0393a94 commit 980ed6c

File tree

4 files changed

+115
-112
lines changed

4 files changed

+115
-112
lines changed

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
root = true
22

33
[*]
4-
indent_style = tab
4+
indent_style = space
55
indent_size = 2
66
end_of_line = lf
77
charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
1010

11-
[*.js]
12-
indent_style = space
11+
[*.go]
12+
indent_style = tab

chrome/otp.css

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
body {
2-
margin: 0;
3-
padding: 8px;
4-
width: max-content;
5-
width: -moz-max-content;
6-
font-family: monospace;
7-
font-size: 1em;
8-
white-space: nowrap;
2+
margin: 0;
3+
padding: 8px;
4+
width: max-content;
5+
width: -moz-max-content;
6+
font-family: monospace;
7+
font-size: 1em;
8+
white-space: nowrap;
99
}
1010

1111
button {
12-
background: #eeeeee;
13-
color: black;
14-
border: 1px solid #888888;
15-
border-radius: 2px;
16-
padding: 1px 6px;
12+
background: #eeeeee;
13+
color: black;
14+
border: 1px solid #888888;
15+
border-radius: 2px;
16+
padding: 1px 6px;
1717
}
1818

1919
button:focus {
20-
background: #cccccc;
20+
background: #cccccc;
2121
}
2222

2323
#otp {
24-
text-align: center;
25-
border: 1px solid #888888;
26-
border-radius: 2px;
27-
background: white;
28-
color: black;
24+
text-align: center;
25+
border: 1px solid #888888;
26+
border-radius: 2px;
27+
background: white;
28+
color: black;
2929
}
3030

3131
#copy-icon {
32-
height: 1em;
33-
vertical-align: middle;
32+
height: 1em;
33+
vertical-align: middle;
3434
}

chrome/script.browserify.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ function view() {
3737
const autoSubmit = localStorage.getItem("autoSubmit") == "true";
3838
results = logins.map(function(login) {
3939
let selector = "button.login";
40-
let options = { onclick: getLoginData.bind(login), title: "Fill form" + (autoSubmit ? " and submit" : "") };
40+
let options = {
41+
onclick: getLoginData.bind(login),
42+
title: "Fill form" + (autoSubmit ? " and submit" : "")
43+
};
4144

4245
let faviconUrl = getFaviconUrl(domain);
4346
if (faviconUrl) {

chrome/styles.css

Lines changed: 88 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,152 +1,152 @@
11
body {
2-
padding: 0;
3-
margin: 0;
4-
font-family: sans-serif;
5-
min-width: 280px;
6-
background: white;
7-
font-size: 14px;
2+
padding: 0;
3+
margin: 0;
4+
font-family: sans-serif;
5+
min-width: 280px;
6+
background: white;
7+
font-size: 14px;
88
}
99

1010
.search > form {
11-
border-bottom: 1px solid #bbb;
12-
display: flex;
13-
flex-wrap: nowrap;
11+
border-bottom: 1px solid #bbb;
12+
display: flex;
13+
flex-wrap: nowrap;
1414
}
1515

1616
.search > form :last-child {
17-
width: 100%;
17+
width: 100%;
1818
}
1919

2020
.search input {
21-
box-sizing: border-box;
22-
width: 100%;
23-
padding: 6px;
24-
border: 0;
25-
background: url("icon-search.svg") center right 6px no-repeat;
26-
background-size: 16px 16px;
27-
background-color: white;
28-
color: black;
29-
padding-right: 20px;
21+
box-sizing: border-box;
22+
width: 100%;
23+
padding: 6px;
24+
border: 0;
25+
background: url("icon-search.svg") center right 6px no-repeat;
26+
background-size: 16px 16px;
27+
background-color: white;
28+
color: black;
29+
padding-right: 20px;
3030
}
3131

3232
#filter-search {
33-
background: #eee;
34-
border: 0;
35-
box-sizing: border-box;
36-
display: none;
37-
padding: 6px;
38-
padding-top: 5px;
39-
white-space: nowrap;
33+
background: #eee;
34+
border: 0;
35+
box-sizing: border-box;
36+
display: none;
37+
padding: 6px;
38+
padding-top: 5px;
39+
white-space: nowrap;
4040
}
4141

4242
.search input:focus {
43-
outline: 0;
43+
outline: 0;
4444
}
4545

4646
.status-text {
47-
padding: 6px;
47+
padding: 6px;
4848
}
4949

5050
.results {
51-
width: 100%;
52-
min-width: 160px;
51+
width: 100%;
52+
min-width: 160px;
5353
}
5454

5555
.entry {
56-
display: flex;
57-
flex-flow: row;
58-
border: 0;
59-
border-bottom: 1px dotted #ccc;
56+
display: flex;
57+
flex-flow: row;
58+
border: 0;
59+
border-bottom: 1px dotted #ccc;
6060
}
6161

6262
.copy,
6363
.launch {
64-
width: 32px;
65-
border: 0;
66-
cursor: pointer;
64+
width: 32px;
65+
border: 0;
66+
cursor: pointer;
6767
}
6868

6969
.url {
70-
background: no-repeat url("icon-globe.svg") center;
71-
background-size: 16px 16px;
70+
background: no-repeat url("icon-globe.svg") center;
71+
background-size: 16px 16px;
7272
}
7373

7474
.username {
75-
background: no-repeat url("icon-user.svg") center;
76-
background-size: 16px 16px;
75+
background: no-repeat url("icon-user.svg") center;
76+
background-size: 16px 16px;
7777
}
7878

7979
.password {
80-
background: no-repeat url("icon-key.svg") center;
81-
background-size: 16px 16px;
80+
background: no-repeat url("icon-key.svg") center;
81+
background-size: 16px 16px;
8282
}
8383

8484
.login {
85-
flex: 1;
86-
-webkit-appearance: none;
87-
-moz-appearance: none;
88-
padding: 12px;
89-
cursor: pointer;
90-
border: 0;
91-
text-align: left;
92-
background-color: white;
93-
color: black;
94-
line-height: 1.2;
95-
white-space: nowrap;
85+
flex: 1;
86+
-webkit-appearance: none;
87+
-moz-appearance: none;
88+
padding: 12px;
89+
cursor: pointer;
90+
border: 0;
91+
text-align: left;
92+
background-color: white;
93+
color: black;
94+
line-height: 1.2;
95+
white-space: nowrap;
9696
}
9797

9898
.login.favicon {
99-
background-repeat: no-repeat;
100-
background-position: left 8px center;
101-
background-size: 16px 16px;
102-
padding-left: 32px;
99+
background-repeat: no-repeat;
100+
background-position: left 8px center;
101+
background-size: 16px 16px;
102+
padding-left: 32px;
103103
}
104104

105105
.entry:last-of-type {
106-
border-bottom: 0;
106+
border-bottom: 0;
107107
}
108108

109109
.entry > *:hover,
110110
.entry > *:focus {
111-
outline: 0;
112-
background-color: #eee;
111+
outline: 0;
112+
background-color: #eee;
113113
}
114114

115115
.loader {
116-
margin: 12px auto;
117-
display: block;
118-
text-indent: -9999999px;
119-
border: 3px solid rgba(0, 0, 0, 0.2);
120-
border-left-color: #000000;
121-
-webkit-transform: translateZ(0);
122-
-webkit-animation: load8 1.1s infinite linear;
123-
overflow: hidden;
124-
border-radius: 50%;
125-
vertical-align: middle;
126-
width: 12px;
127-
height: 12px;
116+
margin: 12px auto;
117+
display: block;
118+
text-indent: -9999999px;
119+
border: 3px solid rgba(0, 0, 0, 0.2);
120+
border-left-color: #000000;
121+
-webkit-transform: translateZ(0);
122+
-webkit-animation: load8 1.1s infinite linear;
123+
overflow: hidden;
124+
border-radius: 50%;
125+
vertical-align: middle;
126+
width: 12px;
127+
height: 12px;
128128
}
129129

130130
#clipboard-container {
131-
position: fixed;
132-
top: 0px;
133-
left: 0px;
134-
width: 0px;
135-
height: 0px;
136-
z-index: 100;
137-
opacity: 0;
131+
position: fixed;
132+
top: 0px;
133+
left: 0px;
134+
width: 0px;
135+
height: 0px;
136+
z-index: 100;
137+
opacity: 0;
138138
}
139139

140140
#clipboard {
141-
width: 1px;
142-
height: 1px;
141+
width: 1px;
142+
height: 1px;
143143
}
144144

145145
@keyframes load8 {
146-
0% {
147-
-webkit-transform: rotate(0deg);
148-
}
149-
100% {
150-
-webkit-transform: rotate(360deg);
151-
}
146+
0% {
147+
-webkit-transform: rotate(0deg);
148+
}
149+
100% {
150+
-webkit-transform: rotate(360deg);
151+
}
152152
}

0 commit comments

Comments
 (0)