aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/index.sass
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-04 16:11:03 +0800
committercrupest <crupest@outlook.com>2020-06-04 16:11:03 +0800
commit84efc7812457a10074ea8b55534abc4948e5ae1c (patch)
tree057a8a357254ca0e05e934c53b704d304dd97b99 /Timeline/ClientApp/src/index.sass
parent79c60b556cd3efe66b159ffda690a12c7f6bea17 (diff)
downloadtimeline-84efc7812457a10074ea8b55534abc4948e5ae1c.tar.gz
timeline-84efc7812457a10074ea8b55534abc4948e5ae1c.tar.bz2
timeline-84efc7812457a10074ea8b55534abc4948e5ae1c.zip
refactor(front): Refactor scss to sass and refactor timeline styles.
Diffstat (limited to 'Timeline/ClientApp/src/index.sass')
-rw-r--r--Timeline/ClientApp/src/index.sass72
1 files changed, 72 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/index.sass b/Timeline/ClientApp/src/index.sass
new file mode 100644
index 00000000..b5fcc112
--- /dev/null
+++ b/Timeline/ClientApp/src/index.sass
@@ -0,0 +1,72 @@
+@import '~bootstrap/scss/bootstrap'
+$fa-font-path: '~@fortawesome/fontawesome-free/webfonts'
+@import '~@fortawesome/fontawesome-free/scss/fontawesome'
+@import '~@fortawesome/fontawesome-free/scss/solid'
+@import '~@fortawesome/fontawesome-free/scss/brands'
+
+@import './common/common'
+@import './common/alert'
+@import './home/home'
+@import './about/about'
+@import './timeline/timeline'
+@import './timeline/timeline-ui'
+@import './user/user-page'
+
+body
+ margin: 0
+
+#app
+ display: flex
+ flex-direction: column
+
+small
+ line-height: 1.2
+
+.width-1px
+ width: 1px
+
+.flex-fix-length
+ flex-grow: 0
+ flex-shrink: 0
+
+.position-lt
+ left: 0
+ top: 0
+
+.position-rb
+ right: 0
+ bottom: 0
+
+.app-bar
+ z-index: 1035
+
+.avatar
+ width: 60px
+
+.avatar.large
+ width: 100px
+
+.avatar.small
+ width: 40px
+
+.mt-appbar
+ margin-top: 56px
+
+.icon-button
+ font-size: 20px
+
+.large-icon
+ font-size: 26px
+
+textarea
+ resize: none
+
+.white-space-no-wrap
+ white-space: nowrap
+
+.cru-card
+ @extend .shadow
+ @extend .border
+ @extend .border-primary
+ @extend .rounded
+ @extend .bg-light