-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated eslint rules * added basic pinning * improved tab data handling * tab UI improvements * improved responsiveness * updated tab icons
- Loading branch information
1 parent
43ac1e3
commit 65e86ef
Showing
14 changed files
with
395 additions
and
208 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
@import "uikit/src/less/uikit.theme.less"; | ||
|
||
.fa-lock, .fa-lock-open { | ||
height: 1em; | ||
} | ||
|
||
.content-pane { | ||
outline: white solid 1px; | ||
height: 99%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
@import "uikit/src/less/uikit.theme.less"; | ||
|
||
.nav-bar { | ||
overflow: hidden; | ||
min-width: 20vw; | ||
white-space: nowrap; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
@import "uikit/src/less/uikit.theme.less"; | ||
|
||
.root-component { | ||
height: 100vh; | ||
width: 100vw; | ||
overflow: hidden; | ||
} | ||
|
||
.content { | ||
width: 100vw; | ||
height: 100%; | ||
} | ||
|
||
@media only screen and (max-width: 50em) { | ||
.inactive { | ||
display: none; | ||
} | ||
.active { | ||
width: 100vw; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
@import "uikit/src/less/uikit.theme.less"; | ||
|
||
.plus-symbol { | ||
color: white; | ||
.svg-inline--fa { | ||
min-height: 1em; | ||
height: 1em; | ||
} | ||
|
||
.tabs { | ||
display: flex; | ||
.tab { | ||
flex: auto; | ||
padding: 0.5em; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
outline: #2f2f2f solid 2px; | ||
} | ||
|
||
.new-tab-button { | ||
margin-top: auto; | ||
align-self: stretch; | ||
justify-self: stretch; | ||
.tab-name { | ||
margin: 0 0.3em; | ||
min-width: 0; | ||
} | ||
|
||
@media only screen and (max-width: 50em) { | ||
.tab-name { | ||
display: none; | ||
} | ||
.tab { | ||
padding: 1em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
@import "uikit/src/less/uikit.theme.less"; | ||
|
||
.undo-redo { | ||
min-width: 5em; | ||
min-width: 6em; | ||
width: 100%; | ||
overflow: hidden; | ||
} | ||
} | ||
|
||
.fa-arrow-left, .fa-arrow-right { | ||
height: 1em; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { TabData } from './tab-data' | ||
|
||
let index = 0 | ||
|
||
export const tabList: TabData[] = [ | ||
TabData.create({ | ||
id: index++, | ||
name: 'Regulations', | ||
data: 'Content of regulations tab', | ||
icon: 'r' | ||
}), | ||
TabData.create({ | ||
id: index++, | ||
name: 'Functions', | ||
data: 'Content of functions tab', | ||
icon: 'f' | ||
}), | ||
TabData.create({ | ||
id: index++, | ||
name: 'Observations', | ||
data: 'Content of observations tab', | ||
icon: 'o' | ||
}), | ||
TabData.create({ | ||
id: index++, | ||
name: 'Properties', | ||
data: 'Content of properties tab', | ||
icon: 'p' | ||
}), | ||
TabData.create({ | ||
id: index++, | ||
name: 'Analysis', | ||
data: 'Content of analysis tab', | ||
icon: 'a' | ||
}) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.