mirror of
https://github.com/szimek/sharedrop.git
synced 2026-06-13 21:03:07 +08:00
divide styles into categories
This commit is contained in:
parent
6638654ce2
commit
758ef3edcf
@ -1,2 +0,0 @@
|
||||
$blue: #0088cc
|
||||
$green: #a4c540
|
||||
@ -1,13 +1,17 @@
|
||||
@import compass/reset
|
||||
@import compass/css3
|
||||
|
||||
@import variables
|
||||
@import mixins
|
||||
@import layout
|
||||
@import modal
|
||||
@import header
|
||||
@import footer
|
||||
@import users
|
||||
@import media
|
||||
@import popover
|
||||
@import glyphicons-filetypes
|
||||
@import base/variables
|
||||
@import base/mixins
|
||||
@import base/element_defaults
|
||||
@import base/glyphicons_filetypes
|
||||
|
||||
@import modules/modules
|
||||
@import modules/modal
|
||||
@import modules/users
|
||||
@import modules/popover
|
||||
|
||||
@import layout/header
|
||||
@import layout/footer
|
||||
@import layout/media
|
||||
|
||||
|
||||
23
app/styles/base/_element_defaults.sass
Normal file
23
app/styles/base/_element_defaults.sass
Normal file
@ -0,0 +1,23 @@
|
||||
*
|
||||
+box-sizing(border-box)
|
||||
&::before, &::after
|
||||
+box-sizing(border-box)
|
||||
|
||||
html
|
||||
height: 100%
|
||||
font-family: $font-family
|
||||
font-size: 10px
|
||||
|
||||
body
|
||||
height: 100%
|
||||
|
||||
a
|
||||
text-decoration: none
|
||||
|
||||
b, strong
|
||||
font-weight: bold
|
||||
|
||||
.invisible
|
||||
height: 0
|
||||
width: 0
|
||||
opacity: 0
|
||||
@ -12,7 +12,7 @@
|
||||
outline: none
|
||||
width: auto
|
||||
cursor: pointer
|
||||
font-family: Helvetica, Arial, sans-serif
|
||||
font-family: $font-family
|
||||
|
||||
=circle($size)
|
||||
display: inline-block
|
||||
4
app/styles/base/_variables.sass
Normal file
4
app/styles/base/_variables.sass
Normal file
@ -0,0 +1,4 @@
|
||||
$font-family: "Helvetica Neue", sans-serif
|
||||
|
||||
$blue: #0088cc
|
||||
$green: #a4c540
|
||||
@ -6,7 +6,7 @@
|
||||
width: 100%
|
||||
height: 60px
|
||||
background: transparent
|
||||
color: #000
|
||||
color: black
|
||||
+user-select(none)
|
||||
.logo
|
||||
position: relative
|
||||
@ -37,13 +37,13 @@
|
||||
a
|
||||
display: inline-block
|
||||
transition: opacity .2s linear
|
||||
color: #000
|
||||
color: black
|
||||
img
|
||||
vertical-align: middle
|
||||
|
||||
.about
|
||||
+circle(18px)
|
||||
border: 1px solid #000
|
||||
border: 1px solid black
|
||||
font-size: 12px
|
||||
opacity: .18
|
||||
margin-top: -2px
|
||||
@ -1,22 +1,3 @@
|
||||
*
|
||||
+box-sizing(border-box)
|
||||
&::before, &::after
|
||||
+box-sizing(border-box)
|
||||
|
||||
html
|
||||
height: 100%
|
||||
font-family: "Helvetica Neue", sans-serif
|
||||
font-size: 10px
|
||||
|
||||
body
|
||||
height: 100%
|
||||
|
||||
a
|
||||
text-decoration: none
|
||||
|
||||
b, strong
|
||||
font-weight: bold
|
||||
|
||||
.preloader
|
||||
position: absolute
|
||||
left: 0
|
||||
@ -40,11 +21,6 @@ b, strong
|
||||
.preloader
|
||||
opacity: 0
|
||||
|
||||
.invisible
|
||||
height: 0
|
||||
width: 0
|
||||
opacity: 0
|
||||
|
||||
.error
|
||||
position: absolute
|
||||
top: 0
|
||||
@ -143,8 +143,6 @@ $user-size: 76px
|
||||
&::after
|
||||
opacity: 1
|
||||
|
||||
|
||||
|
||||
+keyframes(shadow)
|
||||
0%
|
||||
opacity: 0
|
||||
Loading…
Reference in New Issue
Block a user