newVideo.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. @charset "UTF-8";
  2. @import "base/base";
  3. @import "base/mixins";
  4. /* S ZhuanTi Common */
  5. $main_width: 1000px;
  6. $yahei: "Microsoft YaHei", SimHei, sans-serif;
  7. html {
  8. font-size: 12px;
  9. }
  10. body {
  11. font-family: $yahei;
  12. a {
  13. text-decoration: none;
  14. color:#666;
  15. &:hover {
  16. text-decoration: none;
  17. }
  18. }
  19. p, a, span, em, i, h1, h2, h3, h4, h5, h6 {
  20. text-rendering: optimizeLegibility;
  21. -webkit-font-smoothing: antialiased;
  22. }
  23. .clearfix{clear: both}
  24. }
  25. .o-wrap{
  26. width: 600px;
  27. height: 470px;
  28. padding: 15px;
  29. overflow: hidden;
  30. outline: none;
  31. position: relative;
  32. clear: both;
  33. }
  34. .page-newVideo{
  35. overflow: hidden;
  36. .mod-tabs-hd{
  37. @include clearfix;
  38. width: 100%;
  39. background: #ecf3f9;
  40. position: relative;
  41. .btn-refresh{
  42. position: absolute;
  43. top: 4px;
  44. right: 10px;
  45. width: 25px;
  46. height: 20px;
  47. vertical-align: 10px\9;
  48. border: 1px solid #cfdeea;
  49. background-color: #ecf3f9;
  50. -webkit-border-radius: 2px;
  51. border-radius: 2px;
  52. -webkit-background-clip: padding-box;
  53. -moz-background-clip: padding;
  54. background-clip: padding-box;
  55. cursor: pointer;
  56. background: url(../img/refresh.png?__sprite) 6px 3px no-repeat;
  57. &:hover{
  58. background-color: #cfdeea;
  59. }
  60. }
  61. }
  62. .mod-main{
  63. overflow: hidden;
  64. }
  65. .mod-tabs-trigger{
  66. width: 560px;
  67. li{
  68. float: left;
  69. height: 30px;
  70. line-height: 30px;
  71. text-align: center;
  72. color: #666;
  73. font-size: 12px;
  74. background-color: #ecf3f9;
  75. cursor: pointer;
  76. &.selected{
  77. background-color: #ddebf7;
  78. font-weight: 700;
  79. &:hover a{
  80. color: #666;
  81. }
  82. }
  83. &:hover a{
  84. color: #f26460;
  85. }
  86. }
  87. &.col-6{
  88. li{
  89. width: 16.6%;
  90. }
  91. }
  92. }
  93. .o-video-hd{
  94. margin-top: 15px;
  95. @include clearfix;
  96. li{
  97. float: left;
  98. padding: 0 10px;
  99. height: 25px;
  100. line-height: 25px;
  101. text-align: center;
  102. color: #666;
  103. font-size: 12px;
  104. cursor: pointer;
  105. a:hover,a:visited,a:active,a:link{
  106. outline: 0;
  107. }
  108. &.selected{
  109. background-color: #ddebf7;
  110. font-weight: 700;
  111. &:hover a{
  112. color: #666;
  113. }
  114. }
  115. &:hover a{
  116. color: #f26460;
  117. }
  118. }
  119. }
  120. .o-video-bd{
  121. @include clearfix;
  122. ul{
  123. @include clearfix;
  124. font-family: "微软雅黑";
  125. font-size: 12px;
  126. margin-right: -15px;
  127. }
  128. .o-video-list{
  129. float: left;
  130. width: 190px;
  131. height: 155px;
  132. margin-right:15px;
  133. margin-top:15px;
  134. a:hover,a:visited,a:active,a:link{
  135. outline: 0;
  136. }
  137. }
  138. .list-pic{
  139. width: 190px;
  140. height: 107px;
  141. display: block;
  142. position: relative;
  143. overflow: hidden;
  144. img{
  145. @include inline-block;
  146. width: 100%;
  147. overflow: hidden
  148. }
  149. em{
  150. position: absolute;
  151. top: 0;
  152. left: 0;
  153. color:#ccc;
  154. }
  155. .video-time{
  156. position: absolute;
  157. width: 60px;
  158. height: 18px;
  159. line-height: 18px;
  160. text-align: center;
  161. color: #fff;
  162. background: #000;
  163. @include opacity(0.5);
  164. right: 0;
  165. bottom: 0;
  166. }
  167. }
  168. .video-title{
  169. color: #666;
  170. @include inline-block;
  171. margin: 7px 0;
  172. width: 190px;
  173. @include ellipsis;
  174. }
  175. .video-msg{
  176. @include clearfix;
  177. color: #999;
  178. em{
  179. float: right;
  180. position: relative;
  181. top: 2px;
  182. margin-right: 15px;
  183. vertical-align: bottom;
  184. @include inline-block;
  185. width: 11px;
  186. height: 12px;
  187. background: url("../img/icon-person.png?__sprite") no-repeat;
  188. }
  189. .video-desc{
  190. float: left;
  191. }
  192. .video-people{
  193. float: right;
  194. }
  195. }
  196. }
  197. }