browser-demo.sass 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. @import inline-block
  2. html, body
  3. height: 100%
  4. overflow: hidden
  5. font-family: "proxima-nova", sans-serif
  6. .tether.tether-theme-arrows-dark .tether-content
  7. filter: none
  8. background: #000
  9. ul
  10. color: #fff
  11. list-style: none
  12. padding: 0
  13. margin: 0
  14. .tether.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content:before
  15. border-right-color: #000
  16. .browser-demo
  17. position: absolute
  18. top: 0
  19. left: 0
  20. bottom: 0
  21. right: 0
  22. *, *:after, *:before
  23. box-sizing: border-box
  24. .top
  25. position: absolute
  26. height: 60px
  27. padding: 20px
  28. line-height: 40px
  29. width: 100%
  30. border-bottom: 1px solid rgba(0, 0, 0, .1)
  31. .bottom
  32. position: absolute
  33. top: 60px
  34. bottom: 0
  35. width: 100%
  36. .left
  37. border-right: 1px solid rgba(0, 0, 0, .1)
  38. position: absolute
  39. width: 30%
  40. height: 100%
  41. overflow: auto
  42. .item
  43. height: 64px
  44. border-bottom: 1px solid rgba(0, 0, 0, .1)
  45. cursor: pointer
  46. &:hover, &.tether-open
  47. background: rgba(0, 0, 0, .1)
  48. border-bottom: 1px solid rgba(0, 0, 0, 0)
  49. &:last-child
  50. border-bottom: 0
  51. .right
  52. position: absolute
  53. width: 70%
  54. right: 0
  55. height: 100%
  56. padding: 20px
  57. .title
  58. +inline-block
  59. background: rgba(0, 0, 0, .1)
  60. width: 150px
  61. height: 15px
  62. margin-bottom: 20px
  63. .word
  64. +inline-block
  65. background: rgba(0, 0, 0, .1)
  66. width: 50px
  67. height: 8px
  68. margin-right: 5px
  69. margin-bottom: 5px
  70. &:nth-last-child(4n+1)
  71. width: 73px
  72. &:nth-last-child(10n+1)
  73. width: 14px
  74. &:nth-last-child(9n+1)
  75. width: 80px