cdm.less 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. @fonts-ui-bold: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
  2. @fonts-ui: "Segoe UI Web", "Segoe UI", Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif;
  3. .cdm {
  4. margin-right : 4px;
  5. .cdmHeader, .cdmFooter {
  6. display : table;
  7. }
  8. .cdmHeader img, .cdmHeader input, .cdmFooter img {
  9. vertical-align : middle;
  10. }
  11. .cdmHeader > div, .cdmFooter > div {
  12. white-space : nowrap;
  13. }
  14. .cdmHeader > span, .cdmFooter > span.left {
  15. width : 100%;
  16. }
  17. .cdmHeader img, .cdmFooter img {
  18. margin : 0px 4px;
  19. }
  20. .cdmHeader {
  21. > * {
  22. display : table-cell;
  23. padding : 5px;
  24. }
  25. span.updated {
  26. color : #555;
  27. font-weight : normal;
  28. font-size : 11px;
  29. white-space : nowrap;
  30. vertical-align : middle;
  31. }
  32. input {
  33. margin-right : 5px;
  34. }
  35. div.updPic {
  36. width : 25px;
  37. display : inline-block;
  38. text-align : center;
  39. }
  40. div.updPic img {
  41. vertical-align : middle;
  42. }
  43. input {
  44. margin-left : 4px;
  45. margin-right : 4px;
  46. }
  47. }
  48. .cdmFooter {
  49. height : 30px;
  50. padding-left : 5px;
  51. font-weight : normal;
  52. color : #555;
  53. clear : both;
  54. > * {
  55. display : table-cell;
  56. vertical-align : middle;
  57. }
  58. }
  59. .cdmIntermediate {
  60. margin : 10px;
  61. }
  62. .cdmContentInner {
  63. margin : 10px;
  64. line-height : 1.5;
  65. font-size : 16px;
  66. h1 {
  67. font-size : 16px;
  68. }
  69. h2,
  70. h3,
  71. h4 {
  72. font-size : 15px;
  73. }
  74. }
  75. .cdmIntermediate img,
  76. .cdmIntermediate video,
  77. .cdmContentInner img,
  78. .cdmContentInner video {
  79. border-width : 0px;
  80. max-width : 98%;
  81. height : auto;
  82. }
  83. }
  84. .cdm.expanded {
  85. margin-top : 4px;
  86. margin-bottom : 4px;
  87. .cdmFooter {
  88. border: 0px solid #ddd;
  89. border-bottom-width: 1px;
  90. }
  91. > hr {
  92. margin-top : 0px;
  93. margin-bottom : 0px;
  94. }
  95. }
  96. .cdm.expandable {
  97. background-color : #f0f0f0;
  98. border: 0px solid #ddd;
  99. border-bottom-width: 1px;
  100. > hr {
  101. display : none;
  102. }
  103. div.cdmHeader span.titleWrap {
  104. white-space : nowrap;
  105. text-overflow : ellipsis;
  106. overflow : hidden;
  107. max-width : 500px;
  108. }
  109. }
  110. .cdm.expandable.Unread {
  111. background : white;
  112. }
  113. .cdm.expandable.Selected {
  114. background : #f9fbff;
  115. }
  116. .cdm.expandable.active {
  117. background : white ! important;
  118. }
  119. div.cdm.expandable.active div.cdmHeader span.titleWrap {
  120. white-space : normal;
  121. }
  122. div.cdm.expandable div.cdmHeader a.title {
  123. font-weight : 600;
  124. color : #555;
  125. font-size : 14px;
  126. -webkit-transition : color 0.2s;
  127. transition : color 0.2s;
  128. text-rendering: optimizelegibility;
  129. font-family : @fonts-ui-bold;
  130. }
  131. div.cdm.expandable.Unread div.cdmHeader a.title {
  132. color : black;
  133. }
  134. div.cdm.expandable.active div.cdmHeader a.title {
  135. color: #0088cc;
  136. font-size: 16px;
  137. font-weight: 600;
  138. text-rendering: optimizelegibility;
  139. font-family: @fonts-ui-bold;
  140. }
  141. div.cdm.expanded div.cdmHeader {
  142. background : transparent ! important;
  143. }
  144. div.cdm.expanded div.cdmHeader a.title {
  145. font-size : 16px;
  146. color : #999;
  147. font-weight : 600;
  148. -webkit-transition : color 0.2s;
  149. transition : color 0.2s;
  150. text-rendering: optimizelegibility;
  151. font-family : @fonts-ui-bold;
  152. }
  153. div.cdm.expanded.active {
  154. background : white;
  155. }
  156. div.cdm.expanded.active div.cdmHeader a.title {
  157. color : #0088cc;
  158. }
  159. div.cdm.expanded.Unread div.cdmHeader a.title {
  160. color : black;
  161. }
  162. div.cdm.expanded div.cdmContent {
  163. color : #555;
  164. }
  165. div.cdm.expanded.Unread div.cdmContent {
  166. color : black;
  167. }
  168. div.cdm.active div.cdmContent {
  169. color : black;
  170. }
  171. span.cdmExcerpt {
  172. white-space : nowrap;
  173. font-size : 11px;
  174. color : #999;
  175. font-weight : normal;
  176. cursor : pointer;
  177. }
  178. div.cdmContent div.postEnclosures {
  179. margin-top : 1em;
  180. color : #555;
  181. }
  182. div.cdmFeedTitle {
  183. border: 0px solid #0088cc;
  184. border-bottom-width: 1px;
  185. padding : 5px 3px 5px 5px;
  186. }
  187. div.cdmFeedTitle a.title {
  188. color : #555;
  189. font-weight : bold;
  190. }
  191. div.cdmFeedTitle a {
  192. color : #555;
  193. }
  194. div.cdmFeedTitle a:hover {
  195. color : #0088cc;
  196. }
  197. div.cdmHeader span.hlFeed {
  198. float : right;
  199. font-weight : normal;
  200. font-style : italic;
  201. }
  202. div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a {
  203. vertical-align : middle;
  204. color : #555;
  205. font-weight : normal;
  206. font-style : italic;
  207. font-size : 11px;
  208. }
  209. div.cdm .hlFeed a {
  210. border-radius : 4px;
  211. display : inline-block;
  212. padding : 1px 4px 1px 4px;
  213. }
  214. div.cdmContentInner p {
  215. /*max-width : 650px;*/
  216. -webkit-hyphens: auto;
  217. -moz-hyphens: auto;
  218. hyphens: auto;
  219. }
  220. div.cdmContentInner iframe {
  221. min-width : 50%;
  222. max-width : 98%;
  223. }
  224. div.cdmHeader span.author {
  225. white-space : nowrap;
  226. color : #555;
  227. font-size : 11px;
  228. font-weight : normal;
  229. }
  230. div#floatingTitle {
  231. position : absolute;
  232. z-index : 5;
  233. top : 0px;
  234. right : 0px;
  235. left : 0px;
  236. border: 0px solid #ddd;
  237. border-bottom-width: 1px;
  238. background : white;
  239. color : #555;
  240. box-shadow : 0px 1px 1px -1px rgba(0,0,0,0.1);
  241. > * {
  242. display : table-cell;
  243. white-space : nowrap;
  244. vertical-align : middle;
  245. padding : 9px 5px;
  246. }
  247. img {
  248. margin-right : 4px;
  249. margin-left : 4px;
  250. }
  251. span.author {
  252. color : #555;
  253. font-size : 11px;
  254. font-weight : normal;
  255. }
  256. a.title {
  257. font-size : 16px;
  258. color : #999;
  259. -webkit-transition : color 0.2s;
  260. transition : color 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 : #555;
  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 : #555;
  285. font-size : 11px;
  286. }
  287. div.hlFeed a {
  288. color : #555;
  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 : #555;
  335. padding-right : 10px;
  336. font-size : 11px;
  337. white-space : nowrap;
  338. }
  339. a.catchup:hover {
  340. color : #0088cc;
  341. }
  342. }