PageRenderTime 1045ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/dumbhippo/branches/linux-client-1-1-32-bugfix/server/web/css3/site-positions.css

https://gitlab.com/manoj-makkuboy/magnetism
CSS | 758 lines | 571 code | 141 blank | 46 comment | 0 complexity | 79e6200dcd03408a08f9fa063773b400 MD5 | raw file
  1. @CHARSET "UTF-8";
  2. body {
  3. margin-top: 0px;
  4. margin-bottom: 0px;
  5. margin-left: 10px;
  6. margin-right: 10px;
  7. padding: 0px;
  8. text-align: center; /* center the page for IE */
  9. }
  10. #dhPageOuter {
  11. position: relative;
  12. /* Override the text-align on body */
  13. text-align: left;
  14. /* Set the bounds on the page size for firefox, ignored by IE; the 640 isn't scientific,
  15. * it's just a heuristic for when things start looking hosed at a particular font size */
  16. min-width: 640px;
  17. max-width: 1000px;
  18. /* And for IE, ignored by firefox */
  19. width:expression(document.body.clientWidth < 660 ? 640 : document.body.clientWidth > 1020 ? 1000 : document.body.clientWidth - 20);
  20. /* Center the page for firefox */
  21. margin-left: auto;
  22. margin-right: auto;
  23. }
  24. /* browsers have default margins on forms it seems */
  25. form {
  26. margin: 0px;
  27. }
  28. /* post descriptions have <p> tags, avoid extra space from them */
  29. .dh-blurb p {
  30. margin-top: 1px;
  31. margin-bottom: 1px;
  32. }
  33. #dhPage {
  34. position: relative;
  35. margin-top: 0px;
  36. width: 100%;
  37. }
  38. /* specific only to input entries and not textarea's which have specified rows */
  39. input.dh-text-input {
  40. height: 23px;
  41. }
  42. .dh-page-title {
  43. }
  44. .dh-page-title-link {
  45. margin-left: 5px;
  46. }
  47. .dh-page-title-container {
  48. width: 100%;
  49. position: relative;
  50. margin-bottom: 8px;
  51. margin-top: 8px;
  52. }
  53. .dh-page-options-container {
  54. position: absolute;
  55. right: 0;
  56. top: 0;
  57. text-align: right;
  58. width: 50%;
  59. }
  60. .dh-page-options-tip-area {
  61. position: relative;
  62. display: block;
  63. float: right;
  64. clear: both;
  65. top: -13px;
  66. }
  67. .dh-page-options-options-area {
  68. position: relative;
  69. display: block;
  70. float: right;
  71. clear: right;
  72. top: -10px;
  73. right: 0px;
  74. }
  75. .dh-page-options-sub-options-area {
  76. width: 100%;
  77. position: relative;
  78. top: -4px;
  79. margin-bottom: 4px;
  80. }
  81. #dhPageFooter {
  82. clear: both;
  83. margin-top: 10px;
  84. }
  85. #dhWebServices {
  86. text-align: center;
  87. }
  88. .dh-amazon-attribution, .dh-yahoo-attribution {
  89. margin: 15px; /* Yahoo! request */
  90. }
  91. .dh-compact-item {
  92. margin-top: 10px;
  93. }
  94. .dh-compact-item .dh-image {
  95. width: 60px;
  96. height: 60px;
  97. background-color: white; /* debug */
  98. /* without this IE will grow the box a bit apparently */
  99. overflow: hidden;
  100. }
  101. .dh-compact-item .dh-next-to-image {
  102. width: 110px;
  103. margin-left: 10px;
  104. overflow: hidden;
  105. }
  106. .dh-compact-item .dh-next-to-image .dh-name {
  107. /* on the page this is 10px, not sure where the extra px come from */
  108. margin-bottom: 3px;
  109. }
  110. .dh-compact-item .dh-next-to-image .dh-action-link, .dh-compact-item .dh-next-to-image .dh-presence {
  111. margin-top: 2px;
  112. }
  113. #dhPageFooter {
  114. clear: both;
  115. margin-top: 10px;
  116. text-align: right;
  117. }
  118. .dh-nowplaying {
  119. width: 440px;
  120. /* when the badge has a label, this is wrong. */
  121. /* height: 120px; */
  122. }
  123. .dh-grow-div-around-floats {
  124. clear: both;
  125. }
  126. .dh-song-with-art {
  127. position: relative;
  128. }
  129. .dh-song-image {
  130. float: left;
  131. width: 75px;
  132. text-align: center;
  133. }
  134. .dh-song-with-art .dh-song-info {
  135. float: left;
  136. margin-left: 8px;
  137. width: 147px;
  138. }
  139. .dh-one-line-song div {
  140. display: inline;
  141. }
  142. .dh-one-line-song {
  143. width: 100%;
  144. }
  145. .dh-invisible {
  146. display: none;
  147. }
  148. .dh-option-list-option {
  149. margin-left: 5px;
  150. margin-right: 5px;
  151. }
  152. /* Position this so the stock photo popup is relative to it */
  153. #dhChooseStockLinkContainer {
  154. position: relative;
  155. }
  156. div.dh-notification {
  157. padding: 4px;
  158. width: 468px;
  159. }
  160. .dh-popup {
  161. position: absolute;
  162. }
  163. /* For the nested div onion creating the borders of the popup,
  164. * position: relative would make more sense but seems to
  165. * confuse firefox into drawing the background color of the outermost
  166. * div over the top and bottom of the chooser.
  167. * Using float: left fixes firefox, but creates the "double margin"
  168. * bug in IE, which is fixed with display:inline
  169. * (inline is invalid on floats, but gets ignored except
  170. * to mysteriously fix the IE double margin bug)
  171. */
  172. .dh-popup .dh-border {
  173. /* hacks! see comment above */
  174. float: left;
  175. display: inline;
  176. /* end hacks */
  177. margin-left: 0px;
  178. margin-top: 0px;
  179. /* background of parent is drop shadow */
  180. margin-bottom: 1px;
  181. }
  182. .dh-popup .dh-content-padding {
  183. /* hacks! see comment above */
  184. float: left;
  185. display: inline;
  186. /* end hacks */
  187. /* background of parent is the black border */
  188. margin-top: 1px;
  189. margin-bottom: 1px;
  190. margin-left: 1px;
  191. }
  192. .dh-popup .dh-content {
  193. /* hacks! see comment above */
  194. float: left;
  195. display: inline;
  196. /* end hacks */
  197. margin-top: 10px;
  198. margin-left: 10px;
  199. /* IE seems to ignore margin-bottom, I don't know why,
  200. * since we don't set any heights padding works too
  201. */
  202. padding-bottom: 10px;
  203. /* if we have a fixed width, don't exceed it */
  204. overflow: hidden;
  205. }
  206. .dh-popup .dh-content .dh-title {
  207. position: relative;
  208. }
  209. .dh-page-shinybox-title-large {
  210. margin-top: 5px;
  211. margin-bottom: 5px;
  212. }
  213. .dh-page-shinybox-subtitle {
  214. margin-top: 10px;
  215. }
  216. .dh-shiny-box {
  217. margin-bottom: 10px;
  218. display: block;
  219. }
  220. .dh-shiny-box-spacer-table {
  221. width: 100%;
  222. }
  223. .dh-shiny-box-left {
  224. float: left;
  225. clear: left;
  226. }
  227. .dh-shiny-box-right {
  228. float: right;
  229. clear: right;
  230. }
  231. .dh-shiny-box-bottom {
  232. width: 100%;
  233. }
  234. .dh-shiny-box-content-side-spacer {
  235. width: 10px;
  236. }
  237. .dh-shiny-box-content-border {
  238. margin: 0px 0px;
  239. }
  240. .dh-stacker-container {
  241. width: 100%;
  242. display: block;
  243. }
  244. .dh-stacker-block {
  245. width: 100%;
  246. }
  247. .dh-stacker-block-mouse-tip {
  248. display: none;
  249. position: absolute;
  250. z-index: 2;
  251. }
  252. .dh-stacker-block-left {
  253. margin-top: 5px;
  254. margin-bottom: 5px;
  255. margin-right: 5px;
  256. margin-left: 3px;
  257. }
  258. .dh-stacker-block-title-image {
  259. position: relative;
  260. top: 1px;
  261. }
  262. .dh-stacker-block-title-lock {
  263. position: relative;
  264. top: 1px;
  265. padding-right: 5px;
  266. padding-left: 5px;
  267. }
  268. .dh-stacker-block-bottom-padding {
  269. font-size: 4px;
  270. height: 4px;
  271. }
  272. .dh-stacker-block-icon-column {
  273. width: 26px;
  274. }
  275. .dh-stacker-block-icon {
  276. margin: 5px;
  277. }
  278. .dh-stacker-block-beside-image .dh-stacker-block-icon {
  279. margin: 0px;
  280. }
  281. .dh-stacker-block p {
  282. margin: 0px;
  283. padding: 0px;
  284. }
  285. .dh-stacker-block-header {
  286. height: 40px;
  287. width: 100%;
  288. }
  289. .dh-stacker-block-header-description {
  290. overflow: hidden;
  291. }
  292. .dh-stacker-block-description {
  293. margin-left: 20px;
  294. }
  295. .dh-stacker-block-right {
  296. text-align: right;
  297. margin-right: 5px;
  298. }
  299. .dh-stacker-block-right-container-inner {
  300. width: 100%;
  301. margin-top: 5px;
  302. white-space: nowrap;
  303. }
  304. .dh-stacker-block-right-container-inner-table {
  305. width: 100%;
  306. table-layout: fixed;
  307. }
  308. .dh-stacker-block-right-from-image {
  309. margin-right: 5px;
  310. }
  311. .dh-stacker-block-hr {
  312. border: none;
  313. height: 1px;
  314. color: #666666;
  315. margin-left: 5px;
  316. margin-right: 5px;
  317. }
  318. .dh-stacker-block-content-left {
  319. width: 20px;
  320. }
  321. .dh-stacker-block-content {
  322. margin-top: 10px;
  323. width: 100%;
  324. }
  325. .dh-stacker-block-content-container {
  326. width: 100%;
  327. }
  328. .dh-stacker-block-content-padding {
  329. height: 8px;
  330. }
  331. .dh-stacker-block-controls {
  332. padding-right: 5px;
  333. }
  334. .dh-stacker-block-content-main {
  335. width: 100%;
  336. }
  337. .dh-stacker-block-sent-to {
  338. text-align: right;
  339. }
  340. .dh-stacker-block-time-qualifier {
  341. display: none;
  342. }
  343. .dh-stacker-block-chat-time-ago {
  344. margin-left: 5px;
  345. }
  346. .dh-half-shinybox-left-container {
  347. width: 49%;
  348. float: left;
  349. }
  350. .dh-half-shinybox-right-container {
  351. width: 49%;
  352. float: right;
  353. text-align: left;
  354. }
  355. .dh-thumbnail-box-border, .dh-rss-box-border {
  356. position: relative;
  357. width: 478px;
  358. margin-top: 10px;
  359. margin-bottom: 10px;
  360. /* FIXME this should be margin on the inner box, not padding here, or the width will be broken */
  361. padding: 1px;
  362. }
  363. .dh-thumbnail-box, .dh-rss-box {
  364. position: relative;
  365. padding: 0px;
  366. margin: 0px;
  367. }
  368. .dh-thumbnail-meta, .dh-rss-meta {
  369. position: relative;
  370. height: 26px;
  371. /* FIXME this should be margin on an inner box, not padding here, or the width will be broken */
  372. padding-top: 6px;
  373. }
  374. .dh-thumbnail-service, .dh-rss-service {
  375. position: absolute;
  376. left: 10px;
  377. }
  378. .dh-thumbnail-status, .dh-rss-status {
  379. position: absolute;
  380. right: 10px;
  381. }
  382. .dh-thumbnail-photos-border {
  383. position: relative;
  384. /* 478px is the whole photos box width, minus 2px more for the border */
  385. width: 476px;
  386. overflow: hidden;
  387. }
  388. .dh-thumbnail-photos {
  389. margin: 10px;
  390. margin-top: 0px;
  391. /*
  392. * The thumbs each have a 20px right margin, we cap the whole size at 475px.
  393. * So we need to be at least that wide. It's OK to be larger than the
  394. * page width by up to the size of the right margin, since it will just
  395. * get chopped.
  396. */
  397. width: 496px;
  398. }
  399. .dh-thumbnail-photo {
  400. float: left;
  401. margin-right: 20px;
  402. padding: 0px;
  403. }
  404. .dh-thumbnail-photo img {
  405. border: none;
  406. margin: 0px;
  407. }
  408. .dh-thumbnail-photo .dh-thumbnail-title {
  409. overflow: hidden;
  410. text-align: center;
  411. }
  412. .dh-more, .dh-back {
  413. margin-top: 5px;
  414. margin-bottom: 5px;
  415. }
  416. .dh-person-info .dh-back {
  417. margin-top: 30px;
  418. }
  419. .dh-person-header-next-to-image {
  420. margin-left: 10px;
  421. }
  422. div.dh-person-header {
  423. padding-top: 8px;
  424. }
  425. div.dh-person-header-title {
  426. }
  427. .dh-person-header-description {
  428. margin-left: 5px;
  429. }
  430. .dh-person-header .dh-person-info {
  431. width: 100%;
  432. }
  433. .dh-person-header-next-to-image .dh-favicons {
  434. padding-top: 5px;
  435. }
  436. .dh-person-header-stats {
  437. padding-top: 1px;
  438. padding-bottom: 2px;
  439. }
  440. .dh-download-header-area {
  441. margin-top: 5px;
  442. }
  443. .dh-learnmore-section {
  444. width: 100%;
  445. }
  446. .dh-learnmore-section-top {
  447. margin-top: 5px;
  448. }
  449. .dh-learnmore-header {
  450. margin-bottom: 5px;
  451. }
  452. #dhLearnMoreNextStep {
  453. margin-top: 5px;
  454. margin-bottom: 10px;
  455. }
  456. #dhLearnMoreNextStep td {
  457. padding-right: 10px;
  458. }
  459. #dhLearnMoreButtons td {
  460. padding-right: 0px;
  461. }
  462. .dh-download-details {
  463. border-left: 2px solid #999999;
  464. padding-left: 10px;
  465. white-space: nowrap;
  466. }
  467. .dh-learnmore-summary {
  468. margin-bottom: 5px;
  469. }
  470. .dh-learnmore-illustration {
  471. float: left;
  472. display: inline;
  473. margin-right: 10px;
  474. }
  475. /* overflow: auto keeps all the text to the right of the float instead of pushing part of it underneath
  476. the float. If this text is floated as a block it tries to be 100% wide in Firefox and all of the text
  477. ends up underneath the image. */
  478. .dh-learnmore-explanation {
  479. overflow: auto;
  480. }
  481. .dh-learnmore-explanation p {
  482. margin-top: 0px;
  483. margin-bottom: 7px;
  484. }
  485. .dh-download-buttons img, .dh-download-buttons-or {
  486. margin-right: 10px;
  487. }
  488. .dh-thumbnail-block-border {
  489. width: 100%;
  490. }
  491. .dh-thumbnail-block-thumbs {
  492. margin: 10px;
  493. width: 100%;
  494. }
  495. .dh-thumbnail-block-thumb {
  496. float: left;
  497. margin-right: 20px;
  498. padding: 0px;
  499. overflow: hidden;
  500. text-align: center;
  501. }
  502. .dh-thumbnail-block-thumb img {
  503. border: none;
  504. margin: 0px;
  505. }
  506. .dh-thumbnail-block-thumb .dh-thumbnail-title {
  507. overflow: hidden;
  508. }
  509. .dh-thumbnail-block-more {
  510. float: left;
  511. }
  512. #dhTermsOfUseNote, #dhFacebookNote {
  513. padding: 5px;
  514. margin-bottom: 5px;
  515. }
  516. .dh-tooltip {
  517. position: absolute;
  518. display: none;
  519. z-index: 2;
  520. }
  521. .dh-person-item {
  522. position: relative;
  523. display: block;
  524. float: left;
  525. margin: 5px;
  526. width: 72px;
  527. overflow: hidden;
  528. }
  529. .dh-person-item-more-info {
  530. min-width: 270px;
  531. padding: 3px;
  532. }
  533. .dh-person-item .dh-image {
  534. height: 60px;
  535. width: 60px;
  536. margin-left: 6px;
  537. }
  538. .dh-person-item-more-info .dh-image {
  539. height: 60px;
  540. width: 60px;
  541. padding-right: 3px;
  542. }
  543. .dh-person-item-name {
  544. text-align: center;
  545. white-space: nowrap;
  546. }
  547. .dh-person-item-more-info .dh-presence {
  548. position: relative;
  549. float: left;
  550. display: inline;
  551. margin-right: 2px;
  552. }
  553. .dh-person-item-more-info .dh-person-item-name {
  554. position: relative;
  555. float: left;
  556. clear: right;
  557. display: inline;
  558. margin-top: -2px;
  559. text-align: left;
  560. }
  561. .dh-person-item-more-info .dh-favicons {
  562. width: 200px;
  563. }
  564. .dh-invitation-date {
  565. margin-left: 1px;
  566. }
  567. .dh-photo {
  568. position: relative;
  569. }
  570. .dh-photo .dh-presence {
  571. position: absolute;
  572. top: 0px;
  573. right: -5px;
  574. }
  575. #dhAccountStatus, #dhAccountDisabled {
  576. position: relative;
  577. padding-left: 9px;
  578. padding-right: 9px;
  579. padding-top: 4px;
  580. padding-bottom: 4px;
  581. margin-bottom: 15px;
  582. }
  583. .dh-account-status-secondary {
  584. padding-left: 15px;
  585. }
  586. .dh-account-status-secondary input {
  587. margin-left: 0px;
  588. }
  589. #dhDownloadMessageClose {
  590. position: absolute;
  591. top: 2px;
  592. right: 3px;
  593. }
  594. .dh-section-header {
  595. margin-top: 5px;
  596. }
  597. .dh-message {
  598. padding: 5px;
  599. margin-top: 5px;
  600. margin-bottom: 5px;
  601. }
  602. .dh-message a {
  603. margin-right: 5px;
  604. margin-left: 5px;
  605. }
  606. .dh-shinybox-bottom-content {
  607. position: relative;
  608. margin-top: 5px;
  609. margin-bottom: -10px;
  610. }
  611. .dh-tip {
  612. margin-right: 30px;
  613. margin-left: 30px;
  614. }
  615. .dh-tip-tip {
  616. padding-left: 5px;
  617. }