_space.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. @mixin fn($space,$direction,$size,$n) {
  2. @if $n {
  3. #{$space}-#{$direction}: #{$size*$uni-space-root}px
  4. } @else {
  5. #{$space}-#{$direction}: #{-$size*$uni-space-root}px
  6. }
  7. }
  8. @mixin get-styles($direction,$i,$space,$n){
  9. @if $direction == t {
  10. @include fn($space, top,$i,$n);
  11. }
  12. @if $direction == r {
  13. @include fn($space, right,$i,$n);
  14. }
  15. @if $direction == b {
  16. @include fn($space, bottom,$i,$n);
  17. }
  18. @if $direction == l {
  19. @include fn($space, left,$i,$n);
  20. }
  21. @if $direction == x {
  22. @include fn($space, left,$i,$n);
  23. @include fn($space, right,$i,$n);
  24. }
  25. @if $direction == y {
  26. @include fn($space, top,$i,$n);
  27. @include fn($space, bottom,$i,$n);
  28. }
  29. @if $direction == a {
  30. @if $n {
  31. #{$space}:#{$i*$uni-space-root}px;
  32. } @else {
  33. #{$space}:#{-$i*$uni-space-root}px;
  34. }
  35. }
  36. }
  37. @each $orientation in m,p {
  38. $space: margin;
  39. @if $orientation == m {
  40. $space: margin;
  41. } @else {
  42. $space: padding;
  43. }
  44. @for $i from 0 through 16 {
  45. @each $direction in t, r, b, l, x, y, a {
  46. .uni-#{$orientation}#{$direction}-#{$i} {
  47. @include get-styles($direction,$i,$space,true);
  48. }
  49. .uni-#{$orientation}#{$direction}-n#{$i} {
  50. @include get-styles($direction,$i,$space,false);
  51. }
  52. }
  53. }
  54. }
PANIC: session(release): write data/sessions/0/4/04cd47a12ae9e789: no space left on device

PANIC

session(release): write data/sessions/0/4/04cd47a12ae9e789: no space left on device
/root/go/pkg/mod/github.com/go-macaron/session@v0.0.0-20190805070824-1a3cdc6f5659/session.go:199 (0x8bc0f8)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/context.go:81 (0x83623b)
/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80b5f4)
/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80b51c)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/context.go:125 (0x8363b2)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/context.go:115 (0x8473a6)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/recovery.go:161 (0x84739d)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/logger.go:40 (0x839a24)
/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80b5f4)
/root/go/pkg/mod/github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80b51c)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/context.go:125 (0x8363b2)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/router.go:187 (0x8412dd)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/router.go:304 (0x8423ec)
/root/go/pkg/mod/gopkg.in/macaron.v1@v1.5.0/macaron.go:218 (0x83adde)
/usr/local/btgo/src/net/http/server.go:2936 (0x7b23b5)
	serverHandler.ServeHTTP: handler.ServeHTTP(rw, req)
/usr/local/btgo/src/net/http/server.go:1995 (0x7add91)
	(*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req)
/usr/local/btgo/src/runtime/asm_amd64.s:1598 (0x47e160)
	goexit: BYTE	$0x90	// NOP