Skip to content

Commit

Permalink
feat: added global styles to pages (#252)
Browse files Browse the repository at this point in the history
* feat: added global styles to pages

* fix: merge bug

* fix: delete unused style rules

---------

Co-authored-by: Nikita Teremovskiy <[email protected]>
  • Loading branch information
Lisofffa and Ni-2 authored Dec 8, 2023
1 parent 19c1df4 commit 4d72fcc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 38 deletions.
8 changes: 8 additions & 0 deletions src/contentscript/overlay/root/assets/styles/pages.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.wrapper {
overflow: hidden;
display: flex;
flex: 1 1 auto;
flex-direction: column;

width: 100%;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@import '../../assets/styles/color.variables';
@import '../../assets/styles/null';
@import '../../assets/styles/pages';
@import './adaptive';

.wrapper {
display: flex;
align-items: center;
justify-content: end;
margin-bottom: 5px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
@import '../../assets/styles/null';
@import '../../assets/styles/color.variables';
@import '../../assets/styles/pages';
@import './modalStyles';
@import './adaptive';

// ToDo: code duplication

.wrapper {
overflow: hidden;
overflow: -moz-scrollbars-none;
display: flex;
flex: 1 1 auto;
flex-direction: column;

width: 100%;
height: calc(100vh - 100px);
padding-bottom: 10px;

-ms-overflow-style: none;
}

.wrapper::-webkit-scrollbar {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
@import '../../assets/styles/color.variables';
@import '../../assets/styles/null';
@import '../../assets/styles/pages';
@import './adaptive';


.wrapper {
overflow: hidden;
overflow: -moz-scrollbars-none;
display: flex;
flex-direction: column;

width: 100%;
height: 100%;

-ms-overflow-style: none;
}

.wrapper::-webkit-scrollbar {
Expand Down Expand Up @@ -223,4 +215,4 @@
background-image: url('../../assets/icons/notificationIcons/bg.png');
background-repeat: no-repeat;
background-size: 100%;
}
}
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
@import '../../../assets/styles/null';
@import '../../../assets/styles/color.variables';
@import '../../../assets/styles/animate';
@import '../../../assets/styles/pages';
@import './adaptive';

// ToDo: looks that the code below is duplicated

.wrapper {
overflow: hidden;
overflow: -moz-scrollbars-none;
display: flex;
flex: 1 1 auto;
flex-direction: column;

width: 100%;
max-height: calc(100vh - 100px);
padding-bottom: 10px;

-ms-overflow-style: none;
}

.wrapper::-webkit-scrollbar {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
@import '../../../assets/styles/color.variables';
@import '../../../assets/styles/null';
@import '../../../assets/styles/pages';
@import './adaptive';

.wrapper {
overflow: hidden;
overflow: -moz-scrollbars-none;

width: 100%;
height: 100%;
padding: 10px;

-ms-overflow-style: none;
}

.wrapperTokenomics {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
@import '../../assets/styles/null';
@import '../../assets/styles/color.variables';
@import '../../assets/styles/pages';

.wrapper {
display: flex;
flex-direction: column;
width: 100%;
margin-top: 25px;
}

Expand Down

0 comments on commit 4d72fcc

Please sign in to comment.