aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/generic
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-14 16:31:27 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-14 16:31:27 +0800
commit2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453 (patch)
treed7fc03550944151b6a057d08b7a6361612ba6ca7 /ui/app/css/itcss/generic
parentb8aa529d29434978f511e67211d8a5ff9e2f553c (diff)
downloadtangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar.gz
tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar.zst
tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.zip
Lint and cleanup all scss
Diffstat (limited to 'ui/app/css/itcss/generic')
-rw-r--r--ui/app/css/itcss/generic/index.scss20
-rw-r--r--ui/app/css/itcss/generic/reset.scss133
2 files changed, 125 insertions, 28 deletions
diff --git a/ui/app/css/itcss/generic/index.scss b/ui/app/css/itcss/generic/index.scss
index a0ce312cc..a1ffa98a3 100644
--- a/ui/app/css/itcss/generic/index.scss
+++ b/ui/app/css/itcss/generic/index.scss
@@ -8,12 +8,13 @@
box-sizing: border-box;
}
-html, body {
+html,
+body {
font-family: 'Montserrat Regular', Arial;
- color: #4D4D4D;
+ color: #4d4d4d;
font-weight: 300;
line-height: 1.4em;
- background: #F7F7F7;
+ background: #f7f7f7;
width: 100%;
height: 100%;
margin: 0;
@@ -26,17 +27,19 @@ html {
.app-root {
overflow: hidden;
- position: relative
+ position: relative;
}
.app-primary {
display: flex;
}
-input:focus, textarea:focus {
+input:focus,
+textarea:focus {
outline: none;
}
+/* stylelint-disable */
#app-content {
overflow-x: hidden;
min-width: 357px;
@@ -44,18 +47,19 @@ input:focus, textarea:focus {
display: flex;
flex-direction: column;
}
+/* stylelint-enable */
a {
text-decoration: none;
color: inherit;
}
-a:hover{
+a:hover {
color: #df6b0e;
}
-input.large-input, textarea.large-input {
- /*margin-bottom: 24px;*/
+input.large-input,
+textarea.large-input {
padding: 8px;
}
diff --git a/ui/app/css/itcss/generic/reset.scss b/ui/app/css/itcss/generic/reset.scss
index 094893ae3..2c70ee70a 100644
--- a/ui/app/css/itcss/generic/reset.scss
+++ b/ui/app/css/itcss/generic/reset.scss
@@ -1,48 +1,139 @@
-/* http://meyerweb.com/eric/tools/css/reset/
+/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, embed,
-figure, figcaption, footer, header, hgroup,
-menu, nav, output, ruby, section, summary,
-time, mark, audio, video {
+html,
+body,
+div,
+span,
+applet,
+object,
+iframe,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+p,
+blockquote,
+pre,
+a,
+abbr,
+acronym,
+address,
+big,
+cite,
+code,
+del,
+dfn,
+em,
+img,
+ins,
+kbd,
+q,
+s,
+samp,
+small,
+strike,
+strong,
+sub,
+sup,
+tt,
+var,
+b,
+u,
+i,
+center,
+dl,
+dt,
+dd,
+ol,
+ul,
+li,
+fieldset,
+form,
+label,
+legend,
+table,
+caption,
+tbody,
+tfoot,
+thead,
+tr,
+th,
+td,
+article,
+aside,
+canvas,
+details,
+embed,
+figure,
+figcaption,
+footer,
+header,
+hgroup,
+menu,
+nav,
+output,
+ruby,
+section,
+summary,
+time,
+mark,
+audio,
+video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
+ /* stylelint-disable */
font: inherit;
+ /* stylelint-enable */
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
-article, aside, details, figcaption, figure,
-footer, header, hgroup, menu, nav, section {
+
+/* stylelint-disable */
+
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+menu,
+nav,
+section {
display: block;
}
+
body {
line-height: 1;
}
-ol, ul {
+
+ol,
+ul {
list-style: none;
}
-blockquote, q {
+
+blockquote,
+q {
quotes: none;
}
-blockquote:before, blockquote:after,
-q:before, q:after {
+
+blockquote:before,
+blockquote:after,
+q:before,
+q:after {
content: '';
content: none;
}
+
table {
border-collapse: collapse;
border-spacing: 0;
@@ -51,3 +142,5 @@ table {
button {
border-style: none;
}
+
+/* stylelint-enable */