cdm.less 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. .cdm {
  2. margin-right : 4px;
  3. .cdmHeader, .cdmFooter {
  4. display : table;
  5. }
  6. .cdmHeader img, .cdmHeader input, .cdmFooter img {
  7. vertical-align : middle;
  8. }
  9. .cdmHeader > div, .cdmFooter > div {
  10. white-space : nowrap;
  11. }
  12. .cdmHeader > span, .cdmFooter > span.left {
  13. width : 100%;
  14. }
  15. .cdmHeader img, .cdmFooter img {
  16. margin : 0px 4px;
  17. }
  18. .cdmHeader {
  19. > * {
  20. display : table-cell;
  21. padding : 5px;
  22. }
  23. span.updated {
  24. color : #555;
  25. font-weight : normal;
  26. font-size : 11px;
  27. white-space : nowrap;
  28. vertical-align : middle;
  29. }
  30. input {
  31. margin-right : 5px;
  32. }
  33. div.updPic {
  34. width : 25px;
  35. display : inline-block;
  36. text-align : center;
  37. }
  38. div.updPic img {
  39. vertical-align : middle;
  40. }
  41. input {
  42. margin-left : 4px;
  43. margin-right : 4px;
  44. }
  45. }
  46. .cdmFooter {
  47. height : 30px;
  48. padding-left : 5px;
  49. font-weight : normal;
  50. color : #555;
  51. clear : both;
  52. > * {
  53. display : table-cell;
  54. vertical-align : middle;
  55. }
  56. }
  57. .cdmIntermediate {
  58. margin : 10px;
  59. }
  60. .cdmContentInner {
  61. margin : 10px;
  62. line-height : 1.5;
  63. font-size : 16px;
  64. h1 {
  65. font-size : 16px;
  66. }
  67. h2,
  68. h3,
  69. h4 {
  70. font-size : 15px;
  71. }
  72. }
  73. .cdmIntermediate img,
  74. .cdmIntermediate video,
  75. .cdmContentInner img,
  76. .cdmContentInner video {
  77. border-width : 0px;
  78. max-width : 98%;
  79. height : auto;
  80. }
  81. }
  82. .cdm.expanded {
  83. margin-top : 4px;
  84. margin-bottom : 4px;
  85. .cdmFooter {
  86. border: 0px solid #ddd;
  87. border-bottom-width: 1px;
  88. }
  89. > hr {
  90. margin-top : 0px;
  91. margin-bottom : 0px;
  92. }
  93. }
  94. .cdm.expandable {
  95. background-color : #f0f0f0;
  96. border: 0px solid #ddd;
  97. border-bottom-width: 1px;
  98. > hr {
  99. display : none;
  100. }
  101. div.cdmHeader span.titleWrap {
  102. white-space : nowrap;
  103. text-overflow : ellipsis;
  104. overflow : hidden;
  105. max-width : 500px;
  106. }
  107. }
  108. .cdm.expandable.Unread {
  109. background : white;
  110. }
  111. .cdm.expandable.Selected {
  112. background : #f9fbff;
  113. }
  114. .cdm.expandable.active {
  115. background : white ! important;
  116. }
  117. div.cdm.expandable.active div.cdmHeader span.titleWrap {
  118. white-space : normal;
  119. }
  120. div.cdm.expandable div.cdmHeader a.title {
  121. font-weight : 600;
  122. color : #555;
  123. font-size : 14px;
  124. -webkit-transition : color 0.2s;
  125. transition : color 0.2s;
  126. text-rendering: optimizelegibility;
  127. font-family : @fonts-ui-bold;
  128. }
  129. div.cdm.expandable.Unread div.cdmHeader a.title {
  130. color : black;
  131. }
  132. div.cdm.expandable.active div.cdmHeader a.title {
  133. color: @color-link;
  134. font-size: 16px;
  135. font-weight: 600;
  136. text-rendering: optimizelegibility;
  137. font-family: @fonts-ui-bold;
  138. }
  139. div.cdm.expanded div.cdmHeader {
  140. background : transparent ! important;
  141. }
  142. div.cdm.expanded div.cdmHeader a.title {
  143. font-size : 16px;
  144. color : #999;
  145. font-weight : 600;
  146. -webkit-transition : color 0.2s;
  147. transition : color 0.2s;
  148. text-rendering: optimizelegibility;
  149. font-family : @fonts-ui-bold;
  150. }
  151. div.cdm.expanded.active {
  152. background : white;
  153. }
  154. div.cdm.expanded.active div.cdmHeader a.title {
  155. color : @color-link;
  156. }
  157. div.cdm.expanded.Unread div.cdmHeader a.title {
  158. color : black;
  159. }
  160. div.cdm.expanded div.cdmContent {
  161. color : #555;
  162. }
  163. div.cdm.expanded.Unread div.cdmContent {
  164. color : black;
  165. }
  166. div.cdm.active div.cdmContent {
  167. color : black;
  168. }
  169. span.cdmExcerpt {
  170. white-space : nowrap;
  171. font-size : 11px;
  172. color : #999;
  173. font-weight : normal;
  174. cursor : pointer;
  175. }
  176. div.cdmContent div.postEnclosures {
  177. margin-top : 1em;
  178. color : #555;
  179. }
  180. div.cdmFeedTitle {
  181. border: 0px solid @color-link;
  182. border-bottom-width: 1px;
  183. padding : 5px 3px 5px 5px;
  184. }
  185. div.cdmFeedTitle a.title {
  186. color : #555;
  187. font-weight : bold;
  188. }
  189. div.cdmFeedTitle a {
  190. color : #555;
  191. }
  192. div.cdmFeedTitle a:hover {
  193. color : @color-link;
  194. }
  195. div.cdmHeader span.hlFeed {
  196. float : right;
  197. font-weight : normal;
  198. font-style : italic;
  199. }
  200. div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
  201. vertical-align : middle;
  202. color : #555;
  203. font-weight : normal;
  204. font-style : italic;
  205. font-size : 11px;
  206. }
  207. div.cdm .hlFeed a {
  208. border-radius : 4px;
  209. display : inline-block;
  210. padding : 1px 4px 1px 4px;
  211. }
  212. div.cdmContentInner p {
  213. /*max-width : 650px;*/
  214. -webkit-hyphens: auto;
  215. -moz-hyphens: auto;
  216. hyphens: auto;
  217. }
  218. div.cdmContentInner iframe {
  219. min-width : 50%;
  220. max-width : 98%;
  221. }
  222. div.cdmHeader span.author {
  223. white-space : nowrap;
  224. color : #555;
  225. font-size : 11px;
  226. font-weight : normal;
  227. }
  228. div#floatingTitle {
  229. position : absolute;
  230. z-index : 5;
  231. top : 0px;
  232. right : 0px;
  233. left : 0px;
  234. border: 0px solid #ddd;
  235. border-bottom-width: 1px;
  236. background : white;
  237. color : #555;
  238. box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
  239. > * {
  240. display : table-cell;
  241. white-space : nowrap;
  242. vertical-align : middle;
  243. padding : 9px 5px;
  244. }
  245. img {
  246. margin-right : 4px;
  247. margin-left : 4px;
  248. }
  249. span.author {
  250. color : #555;
  251. font-size : 11px;
  252. font-weight : normal;
  253. }
  254. a.title {
  255. font-size : 16px;
  256. color : #999;
  257. -webkit-transition : color 0.2s;
  258. transition : color 0.2s;
  259. font-weight : 600;
  260. text-rendering: optimizelegibility;
  261. font-family : @fonts-ui-bold;
  262. }
  263. img.anchor {
  264. margin-left : 0px;
  265. }
  266. div.hlFeed {
  267. padding-right : 10px;
  268. color : #555;
  269. font-weight : normal;
  270. font-style : italic;
  271. font-size : 11px;
  272. white-space : nowrap;
  273. }
  274. div.hlFeed a {
  275. border-radius : 4px;
  276. display : inline-block;
  277. padding : 1px 4px 1px 4px;
  278. }
  279. span.updated {
  280. padding-right : 10px;
  281. white-space : nowrap;
  282. color : #555;
  283. font-size : 11px;
  284. }
  285. div.hlFeed a {
  286. color : #555;
  287. }
  288. span.titleWrap {
  289. width : 100%;
  290. white-space : normal;
  291. }
  292. .dijit,
  293. img.hlScorePic {
  294. display : none;
  295. }
  296. }
  297. div#floatingTitle.Unread a.title {
  298. color : black;
  299. }
  300. .cdm.high .cdmHeader {
  301. a.title.high,
  302. .cdmExcerpt,
  303. span.author {
  304. color : #00aa00;
  305. }
  306. }
  307. .cdm.Unread.high .cdmHeader {
  308. a.title.high,
  309. .cdmExcerpt,
  310. span.author {
  311. color : #00dd00;
  312. }
  313. }
  314. .cdm .cdmHeader a.title.low,
  315. .cdm.low .cdmHeader .cdmExcerpt,
  316. .cdm.Unread .cdmHeader a.title.low,
  317. .cdm.Unread.low .cdmHeader .cdmExcerpt,
  318. .cdm.low .cdmHeader span.author {
  319. color : #909090;
  320. text-decoration : line-through;
  321. }
  322. .cdmFeedTitle {
  323. > * {
  324. display : table-cell;
  325. vertical-align : middle;
  326. }
  327. a.title {
  328. width : 100%;
  329. }
  330. a.catchup {
  331. text-align : right;
  332. color : #555;
  333. padding-right : 10px;
  334. font-size : 11px;
  335. white-space : nowrap;
  336. }
  337. a.catchup:hover {
  338. color : @color-link;
  339. }
  340. }