cdm.less 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  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 : @default-text;
  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 : @default-text;
  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:not(.active) {
  112. background : desaturate(@color-accent, 25%);
  113. a,
  114. .cdmHeader a.title,
  115. span {
  116. color : white;
  117. }
  118. }
  119. .cdm.expandable.active {
  120. background : white ! important;
  121. }
  122. div.cdm.expandable.active div.cdmHeader span.titleWrap {
  123. white-space : normal;
  124. }
  125. div.cdm.expandable div.cdmHeader a.title {
  126. font-weight : 600;
  127. color : @default-text;
  128. font-size : 14px;
  129. transition : color 0.2s, background 0.2s;
  130. text-rendering: optimizelegibility;
  131. font-family : @fonts-ui-bold;
  132. }
  133. div.cdm.expandable.Unread div.cdmHeader a.title {
  134. color : black;
  135. }
  136. div.cdm.expandable.active div.cdmHeader a.title {
  137. color: @color-link;
  138. font-size: 16px;
  139. font-weight: 600;
  140. text-rendering: optimizelegibility;
  141. font-family: @fonts-ui-bold;
  142. }
  143. div.cdm.expanded div.cdmHeader {
  144. background : transparent ! important;
  145. }
  146. div.cdm.expanded div.cdmHeader a.title {
  147. font-size : 16px;
  148. color : #999;
  149. font-weight : 600;
  150. transition : color 0.2s, background 0.2s;
  151. text-rendering: optimizelegibility;
  152. font-family : @fonts-ui-bold;
  153. }
  154. div.cdm.expanded.active {
  155. background : white;
  156. }
  157. div.cdm.expanded.active div.cdmHeader a.title {
  158. color : @color-link;
  159. }
  160. div.cdm.expanded.Unread div.cdmHeader a.title {
  161. color : black;
  162. }
  163. div.cdm.expanded div.cdmContent {
  164. color : @default-text;
  165. }
  166. div.cdm.expanded.Unread div.cdmContent {
  167. color : black;
  168. }
  169. div.cdm.active div.cdmContent {
  170. color : black;
  171. }
  172. span.cdmExcerpt {
  173. white-space : nowrap;
  174. font-size : 11px;
  175. color : #999;
  176. font-weight : normal;
  177. cursor : pointer;
  178. }
  179. div.cdmContent div.postEnclosures {
  180. margin-top : 1em;
  181. color : @default-text;
  182. }
  183. div.cdmFeedTitle {
  184. border: 0px solid @color-link;
  185. border-bottom-width: 1px;
  186. padding : 5px 3px 5px 5px;
  187. }
  188. div.cdmFeedTitle a.title {
  189. color : @default-text;
  190. font-weight : bold;
  191. }
  192. div.cdmFeedTitle a {
  193. color : @default-text;
  194. }
  195. div.cdmFeedTitle a:hover {
  196. color : @color-link;
  197. }
  198. div.cdmHeader span.hlFeed {
  199. float : right;
  200. font-weight : normal;
  201. font-style : italic;
  202. }
  203. div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
  204. vertical-align : middle;
  205. color : @default-text;
  206. font-weight : normal;
  207. font-style : italic;
  208. font-size : 11px;
  209. }
  210. div.cdm .hlFeed a {
  211. border-radius : 4px;
  212. display : inline-block;
  213. padding : 1px 4px 1px 4px;
  214. }
  215. div.cdmContentInner p {
  216. /*max-width : 650px;*/
  217. -webkit-hyphens: auto;
  218. -moz-hyphens: auto;
  219. hyphens: auto;
  220. }
  221. div.cdmContentInner iframe {
  222. min-width : 50%;
  223. max-width : 98%;
  224. }
  225. div.cdmHeader span.author {
  226. white-space : nowrap;
  227. color : @default-text;
  228. font-size : 11px;
  229. font-weight : normal;
  230. }
  231. div#floatingTitle {
  232. position : absolute;
  233. z-index : 5;
  234. top : 0px;
  235. right : 0px;
  236. left : 0px;
  237. border: 0px solid #ddd;
  238. border-bottom-width: 1px;
  239. background : white;
  240. color : @default-text;
  241. box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
  242. > * {
  243. display : table-cell;
  244. white-space : nowrap;
  245. vertical-align : middle;
  246. padding : 9px 5px;
  247. }
  248. img {
  249. margin-right : 4px;
  250. margin-left : 4px;
  251. }
  252. span.author {
  253. color : @default-text;
  254. font-size : 11px;
  255. font-weight : normal;
  256. }
  257. a.title {
  258. font-size : 16px;
  259. color : #999;
  260. transition : color 0.2s, background 0.2s;
  261. font-weight : 600;
  262. text-rendering: optimizelegibility;
  263. font-family : @fonts-ui-bold;
  264. }
  265. img.anchor {
  266. margin-left : 0px;
  267. }
  268. div.hlFeed {
  269. padding-right : 10px;
  270. color : @default-text;
  271. font-weight : normal;
  272. font-style : italic;
  273. font-size : 11px;
  274. white-space : nowrap;
  275. }
  276. div.hlFeed a {
  277. border-radius : 4px;
  278. display : inline-block;
  279. padding : 1px 4px 1px 4px;
  280. }
  281. span.updated {
  282. padding-right : 10px;
  283. white-space : nowrap;
  284. color : @default-text;
  285. font-size : 11px;
  286. }
  287. div.hlFeed a {
  288. color : @default-text;
  289. }
  290. span.titleWrap {
  291. width : 100%;
  292. white-space : normal;
  293. }
  294. .dijit,
  295. img.hlScorePic {
  296. display : none;
  297. }
  298. }
  299. div#floatingTitle.Unread a.title {
  300. color : black;
  301. }
  302. .cdm.high .cdmHeader {
  303. a.title.high,
  304. .cdmExcerpt,
  305. span.author {
  306. color : #00aa00;
  307. }
  308. }
  309. .cdm.Unread.high .cdmHeader {
  310. a.title.high,
  311. .cdmExcerpt,
  312. span.author {
  313. color : #00dd00;
  314. }
  315. }
  316. .cdm .cdmHeader a.title.low,
  317. .cdm.low .cdmHeader .cdmExcerpt,
  318. .cdm.Unread .cdmHeader a.title.low,
  319. .cdm.Unread.low .cdmHeader .cdmExcerpt,
  320. .cdm.low .cdmHeader span.author {
  321. color : #909090;
  322. text-decoration : line-through;
  323. }
  324. .cdmFeedTitle {
  325. > * {
  326. display : table-cell;
  327. vertical-align : middle;
  328. }
  329. a.title {
  330. width : 100%;
  331. }
  332. a.catchup {
  333. text-align : right;
  334. color : @default-text;
  335. padding-right : 10px;
  336. font-size : 11px;
  337. white-space : nowrap;
  338. }
  339. a.catchup:hover {
  340. color : @color-link;
  341. }
  342. }