aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pages/settings/index.scss
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-09-12 08:32:37 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-09-20 07:37:23 +0800
commitb579ee9619d5d775484f382b800c3426311da19d (patch)
tree33c4e1293178d1c6cdb4bdd74ee7732d516d072a /ui/app/components/pages/settings/index.scss
parent3c3fed46cb032f59cd30daae04c17475196cd5c9 (diff)
downloadtangerine-wallet-browser-b579ee9619d5d775484f382b800c3426311da19d.tar.gz
tangerine-wallet-browser-b579ee9619d5d775484f382b800c3426311da19d.tar.zst
tangerine-wallet-browser-b579ee9619d5d775484f382b800c3426311da19d.zip
Refactor settings page to use JSX and follow component file folder structure
Diffstat (limited to 'ui/app/components/pages/settings/index.scss')
-rw-r--r--ui/app/components/pages/settings/index.scss80
1 files changed, 80 insertions, 0 deletions
diff --git a/ui/app/components/pages/settings/index.scss b/ui/app/components/pages/settings/index.scss
new file mode 100644
index 000000000..138ebcfc5
--- /dev/null
+++ b/ui/app/components/pages/settings/index.scss
@@ -0,0 +1,80 @@
+@import './info-tab/index';
+
+@import './settings-tab/index';
+
+.settings-page {
+ position: relative;
+ background: $white;
+ display: flex;
+ flex-flow: column nowrap;
+
+ &__header {
+ padding: 25px 25px 0;
+ }
+
+ &__close-button::after {
+ content: '\00D7';
+ font-size: 40px;
+ color: $dusty-gray;
+ position: absolute;
+ top: 25px;
+ right: 30px;
+ cursor: pointer;
+ }
+
+ &__content {
+ padding: 25px;
+ height: auto;
+ overflow: auto;
+ }
+
+ &__content-row {
+ display: flex;
+ flex-direction: row;
+ padding: 10px 0 20px;
+
+ @media screen and (max-width: 575px) {
+ flex-direction: column;
+ padding: 10px 0;
+ }
+ }
+
+ &__content-item {
+ flex: 1;
+ min-width: 0;
+ display: flex;
+ flex-direction: column;
+ padding: 0 5px;
+ min-height: 71px;
+
+ @media screen and (max-width: 575px) {
+ height: initial;
+ padding: 5px 0;
+ }
+
+ &--without-height {
+ height: initial;
+ }
+ }
+
+ &__content-label {
+ text-transform: capitalize;
+ }
+
+ &__content-description {
+ font-size: 14px;
+ color: $dusty-gray;
+ padding-top: 5px;
+ }
+
+ &__content-item-col {
+ max-width: 300px;
+ display: flex;
+ flex-direction: column;
+
+ @media screen and (max-width: 575px) {
+ max-width: 100%;
+ width: 100%;
+ }
+ }
+}