dfghgfhplkjbv

src/components/Video/Player.module.scss

Feb 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. @import 'src/styles/utility';
  2.  
  3. .root {
  4. display: flex;
  5. justify-content: space-between;
  6. margin-bottom: 48px;
  7.  
  8. @media (max-width: $xl) {
  9. flex-direction: column;
  10. }
  11. }
  12.  
  13. .title {
  14. @include reset-webkit-margin();
  15. @include base-font();
  16.  
  17. border-bottom: 1px #fff dashed;
  18. color: #fff;
  19. display: flex;
  20. flex-basis: 30%;
  21. flex-direction: column;
  22. font-size: 1.875rem;
  23. font-weight: 700;
  24. justify-content: center;
  25. line-height: 1.2;
  26. padding: 15px 10px;
  27. padding-top: 0;
  28.  
  29. position: relative;
  30.  
  31. @media (max-width: $xl) {
  32. margin-bottom: 32px;
  33. }
  34. }
  35.  
  36. .duration {
  37. color: #6e31c4;
  38. margin: 5px 0;
  39. }
  40.  
  41. .videoWrapper {
  42. @include base-transition();
  43.  
  44. background-color: $black;
  45. box-shadow: 4px 4px 0 0 $black;
  46. margin-top: -160px;
  47. position: relative;
  48.  
  49. width: 50%;
  50.  
  51. &:hover {
  52. box-shadow: 0 0 0 0 $black;
  53. transform: translate(2px, 2px);
  54. }
  55.  
  56. @media (max-width: $xl) {
  57. margin-top: initial;
  58. width: 100vw;
  59. position: relative;
  60. left: 50%;
  61. margin-left: -50vw;
  62. }
  63. }
  64.  
  65. .video {
  66. height: 0;
  67. overflow: hidden;
  68. padding-bottom: 56.25%;
  69. position: relative;
  70.  
  71. iframe,
  72. object,
  73. embed {
  74. height: 100%;
  75. left: 0;
  76. position: absolute;
  77. top: 0;
  78. width: 100%;
  79. }
  80. }
  81.  
  82. .videoAdminDashboard {
  83. height: 480px;
  84. width: 640px;
  85. }
  86.  
  87. @-moz-document url-prefix() {
  88. .videoWrapper {
  89. margin-top: -200px;
  90. @media (max-width: $xl) {
  91. margin-top: 0;
  92. }
  93. }
  94.  
  95. .title {
  96. @media (max-width: $xl) {
  97. margin-top: -65px;
  98. }
  99. }
  100. }
Advertisement
Add Comment
Please, Sign In to add comment