column.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. @import "vars";
  2. @import "mixins";
  3. .column-row {
  4. min-height: 100%;
  5. box-sizing: content-box;
  6. display: -webkit-flex;
  7. display: flex;
  8. -webkit-flex-flow: row nowrap;
  9. flex-flow: row nowrap;
  10. -webkit-justify-content: center;
  11. justify-content:center;
  12. margin: auto;
  13. }
  14. .section {
  15. &.active {
  16. .column-border.in {
  17. background-color: rgba(40,140,215,0.25);
  18. border: 1px solid rgba(255,255,255,0.5);
  19. .edge-handle {display: block; }
  20. &:after{
  21. border: 1px dotted rgba(40,140,215,0.5);
  22. }
  23. }
  24. }
  25. }
  26. .column {
  27. min-height: 50px;
  28. // min-height: 100%;
  29. position: relative;
  30. -webkit-flex: 1 auto;
  31. flex: 1 auto;
  32. // background-clip: content-box;
  33. // background-color: rgba(40,140,215,0.0125);
  34. // box-shadow: 0px 0px 0px 1px rgba(40,140,215,0.1);
  35. .artifact {
  36. &:last-child {margin-bottom: 0px; }
  37. &.over {
  38. @include transition( margin-top 0.1s ease-in-out 0.05s);
  39. position: relative;
  40. z-index: 1000;
  41. }
  42. }
  43. &:first-child .column-border .edge-handle:first-child { display: none !important;}
  44. &:last-child .column-border .edge-handle:last-child { display: none !important; }
  45. .column-border {
  46. border: 1px solid rgba(255,255,255,0.125);
  47. // &.in {display: block; }
  48. // border-style: solid;
  49. // border-width: 1px;
  50. // -moz-border-image: url('../images/border-dotted.png') 1 repeat;
  51. // -webkit-border-image: url('../images/border-dotted.png') 1 repeat;
  52. // -o-border-image: url('../images/border-dotted.png') 1 repeat;
  53. // border-image: url('../images/border-dotted.png') 1 fill repeat;
  54. position: absolute;
  55. width: auto;
  56. height: auto;
  57. right: -1px;
  58. left: -1px;
  59. top: -1px;
  60. bottom: -1px;
  61. z-index: 2000;
  62. pointer-events: none;
  63. .edge-handle {display: none; }
  64. &:after{
  65. border: 1px dotted rgba(40,140,215,0.125);
  66. content: "";
  67. display: block;
  68. position: absolute;
  69. width: auto;
  70. height: auto;
  71. right: -1px;
  72. left: -1px;
  73. top: -1px;
  74. bottom: -1px;
  75. }
  76. }
  77. }