aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/newui-sections.scss
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-07 04:24:06 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-07 04:24:13 +0800
commitd46a79df25afa0973f19210048b929fa5ba76117 (patch)
tree53e4918a2bb8c824c82598d568e8c96b41eb023e /ui/app/css/itcss/components/newui-sections.scss
parentb65dc85b0a87d4646a2671656d18166f208228d4 (diff)
downloadtangerine-wallet-browser-d46a79df25afa0973f19210048b929fa5ba76117.tar.gz
tangerine-wallet-browser-d46a79df25afa0973f19210048b929fa5ba76117.tar.zst
tangerine-wallet-browser-d46a79df25afa0973f19210048b929fa5ba76117.zip
Organize app components scss
Diffstat (limited to 'ui/app/css/itcss/components/newui-sections.scss')
-rw-r--r--ui/app/css/itcss/components/newui-sections.scss109
1 files changed, 109 insertions, 0 deletions
diff --git a/ui/app/css/itcss/components/newui-sections.scss b/ui/app/css/itcss/components/newui-sections.scss
new file mode 100644
index 000000000..23cf4a39a
--- /dev/null
+++ b/ui/app/css/itcss/components/newui-sections.scss
@@ -0,0 +1,109 @@
+/*
+ NewUI Container Elements
+ */
+
+.main-container {
+ position: absolute;
+ z-index: 18;
+ box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
+ font-family: DIN OT;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: stretch;
+ overflow-y: scroll;
+}
+
+.sidebar {
+ flex: 1 0 230px;
+ background: rgb(250, 250, 250);
+ z-index: 26;
+ position: fixed;
+ top: 35px;
+ left: 0px;
+ right: 0px;
+ bottom: 0px;
+ opacity: 1;
+ visibility: visible;
+ will-change: transform;
+ overflow-y: auto;
+ box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 4px;
+ width: 85%;
+ height: 100%;
+}
+
+.sidebar-overlay {
+ z-index: 25;
+ position: fixed;
+ top: 35px;
+ left: 0px;
+ right: 0px;
+ bottom: 0px;
+ opacity: 1;
+ visibility: visible;
+ background-color: rgba(0, 0, 0, 0.3);
+}
+
+@media screen and (min-width: 576px) {
+ .lap-visible {
+ display: flex;
+ }
+
+ .phone-visible {
+ display: none;
+ }
+
+ .main-container {
+ margin-top: 35px;
+ width: 85%;
+ height: 90vh;
+ }
+
+ button.btn-clear {
+ width: 75px;
+ height: 32px;
+ font-size: .6em;
+ background: white;
+ border: 1px solid;
+ }
+}
+
+@media screen and (min-width: 769px) {
+ .main-container {
+ margin-top: 35px;
+ width: 80%;
+ height: 82vh;
+ }
+}
+
+@media screen and (min-width: 1281px) {
+ .main-container {
+ margin-top: 35px;
+ width: 65%;
+ height: 82vh;
+ }
+}
+
+@media screen and (max-width: 575px) {
+ .lap-visible {
+ display: none;
+ }
+
+ .phone-visible {
+ display: flex;
+ }
+
+ .main-container {
+ margin-top: 35px;
+ // position: relative;
+ width: 100%;
+ height: 100%;
+ }
+
+ button.btn-clear {
+ width: 100px;
+ height: 50px;
+ font-size: .7em;
+ background: red;
+ border: 1px solid;
+ }
+}