Advertisement
DunDealShowdown

PS Layout

Nov 28th, 2014
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.46 KB | None | 0 0
  1. /*********************************************************
  2. * Global
  3. *********************************************************/
  4.  
  5. html, body {
  6. margin: 0;
  7. padding: 0;
  8. }
  9. body {
  10. color: white;
  11. font-size: 16px;
  12. font-family: Helvetica, Arial, sans-serif;
  13.  
  14. /* license: CC-BY source: http://commons.wikimedia.org/wiki/File:%22La_piedra%22_(2809466426).jpg */
  15. background: #344b6c url(http://i.imgur.com/L2UjnkI.png) /*no-repeat left center fixed*/ !important;
  16. -webkit-background-size: cover;
  17. -moz-background-size: cover;
  18. -o-background-size: cover;
  19. background-size: cover;
  20. }
  21.  
  22. .pad {
  23. margin: 0;
  24. padding: 5px 15px;
  25. }
  26. .label {
  27. font-size: 12px;
  28. font-weight: normal;
  29. display: block;
  30. }
  31. .optlabel {
  32. font-size: 12px;
  33. display: block;
  34. }
  35. .label strong {
  36. font-size: 12px;
  37. display: block;
  38. }
  39. .label .textbox {
  40. display: block;
  41. }
  42. .textbox {
  43. border: 1px solid lightgrey;
  44. border-radius: 3px;
  45. padding: 2px 3px;
  46. font-family: Helvetica, Arial, sans-serif;
  47. font-size: 12px;
  48.  
  49. box-shadow: none;
  50. background: white;
  51. color: black;
  52. }
  53. .textbox:hover {
  54. border-color: lightgrey;
  55. box-shadow: none;
  56. background: white;
  57. }
  58. .textbox:focus {
  59. outline: 0 none;
  60. border: 1px solid lightgrey;
  61. box-shadow: none;
  62. background: white;
  63. }
  64. a.subtle {
  65. text-decoration: none;
  66. color: black;
  67. }
  68. a.subtle:hover {
  69. text-decoration: underline;
  70. color: #6688CC;
  71. }
  72. .buttonbar {
  73. margin-top: 1em;
  74. text-align: center;
  75. }
  76.  
  77. /*********************************************************
  78. * Header
  79. *********************************************************/
  80.  
  81. .header {
  82. position: relative;
  83. height: 50px;
  84. background: /* url(http://i.imgur.com/W5irw2t.png) repeat-x left top scroll */ rgba(0, 0, 0, 0.5);
  85. }
  86. .header h1 {
  87. margin: 0;
  88. padding: 0;
  89. }
  90. .header .logo {
  91. display: none;
  92. float: left;
  93. margin: 2px 0 0 2px;
  94. }
  95.  
  96. .userbar {
  97. position: absolute;
  98. top: 14px;
  99. right: 14px;
  100. font-weight: bold;
  101. }
  102. .userbar .username {
  103. color: white;
  104. font-size: 20px;
  105. text-shadow: none;
  106. }
  107. .username {
  108. cursor: pointer;
  109. }
  110. .userbar button {
  111. cursor: pointer;
  112. }
  113. .userbar button.icon {
  114. border-radius: 1px;
  115. height: 21px;
  116. width: 23px;
  117. font-size: 14px;
  118. text-align: center;
  119. padding: 0;
  120. }
  121. .userbar button.icon i {
  122. margin: 0 -5px;
  123. }
  124.  
  125. .tabbar {
  126. position: absolute;
  127. bottom: 1px;
  128. left: 0;
  129. right: 0;
  130.  
  131. display: block;
  132. list-style: none;
  133. margin: 0;
  134. padding: 0 0 0 0;
  135. height: 37px;
  136. text-align: left;
  137.  
  138. color: white;
  139. text-shadow: none;
  140. font-size: 16px;
  141.  
  142. line-height: 100%;
  143. }
  144. .maintabbarbottom {
  145. content: "";
  146. display: block;
  147. position: absolute;
  148. left: 0;
  149. right: 0;
  150. bottom: -6px;
  151. height: 6px;
  152. background: white;
  153. border: 1px solid lightgrey;
  154. border-left: 0;
  155. border-right: 0;
  156. border-top: 0;
  157. margin: -1px 0 0 0;
  158. -webkit-box-shadow: none;
  159. -moz-box-shadow: none;
  160. box-shadow: none;
  161. }
  162. .tabbar.maintabbar {
  163. margin-left: 0px;
  164. margin-right: 165px;
  165. overflow: hidden;
  166. }
  167. .maintabbar .inner {
  168. width: 400%;
  169. }
  170. .maintabbar .overflow {
  171. position: absolute;
  172. bottom: 0;
  173. right: 0;
  174. z-index: 12;
  175. }
  176. .maintabbar .overflow button {
  177. height: 37px;
  178. margin: 0;
  179. }
  180.  
  181. .tabbar li,
  182. .tabbar ul {
  183. display: block;
  184. float: left;
  185.  
  186. list-style: none;
  187. margin: 0;
  188. padding: 0;
  189. }
  190. .tabbar a.button {
  191. outline: none;
  192. display: inline-block;
  193. height: 40px;
  194. min-width: 70px;
  195. cursor: pointer;
  196. text-align: center;
  197. text-shadow: none;
  198. border-radius: 5px;
  199. -webkit-box-shadow: none;
  200. -moz-box-shadow: none;
  201. box-shadow: none;
  202. white-space: nowrap;
  203.  
  204. /* default colors */
  205. color:black;
  206. text-shadow: none;
  207. border: solid 2px white;
  208. background: rgba(0, 0, 0, 0);
  209.  
  210. position: relative;
  211. padding: 0;
  212. margin: 0 0 0 0;
  213. top: 0px;
  214. border-radius: 5px;
  215. box-shadow: none;
  216. font-size: 14px;
  217. }
  218. .tabbar a.button i {
  219. display: block;
  220. text-align: center;
  221. margin: 1px auto 0 auto;
  222. font-style: normal;
  223. font-size: 12px;
  224. height: 14px;
  225. }
  226. .tabbar a.button span {
  227. display: block;
  228. overflow: hidden;
  229. }
  230. .tabbar a.button i.text {
  231. font-size: 12px;
  232. margin-right: 0px;
  233. padding-left: 2px;
  234. overflow: hidden;
  235. font-weight: bold;
  236. }
  237. .tabbar a.button i.text + span {
  238. margin-right: 0;
  239. }
  240. .tabbar a.button:hover {
  241. background: rgba(0, 0, 0, 0);
  242. border-color: white;
  243.  
  244. z-index: 0;
  245. }
  246. .tabbar a.button:active {
  247. background: rgba(0, 0, 0, 0);
  248. }
  249. .tabbar a.button.notifying {
  250. border-color: white;
  251. background: #C12942;
  252. }
  253. .tabbar a.button.notifying:hover {
  254. border-color: white;
  255. background: #C12942;
  256. }
  257. .tabbar a.button.cur,
  258. .tabbar a.button.cur:hover {
  259. color: white;
  260. background: rgba(0, 0, 0, 0);
  261. box-shadow: none;
  262. border-color: white;
  263. border-bottom: 0;
  264. cursor: default;
  265. padding-top: 3px;
  266. padding-bottom: 5px;
  267. top: 0px;
  268. }
  269.  
  270. .tabbar a.closable {
  271. padding-right: 8px;
  272. }
  273. .tabbar .closebutton {
  274. display: inline-block;
  275. margin: 0 0 0 -19px;
  276. width: 18px;
  277. position: relative;
  278. z-index: 11;
  279. top: 5px;
  280. vertical-align: top;
  281. }
  282. .tabbar a.cur + .closebutton {
  283. top: 3px;
  284. }
  285. .closebutton,
  286. .minimizebutton {
  287. text-decoration: none;
  288. font-size: 14px;
  289. color: white;
  290. text-shadow: none;
  291. border: 0;
  292. padding: 0;
  293. margin: 0;
  294. background: transparent;
  295. cursor: pointer;
  296. }
  297. .closebutton:hover,
  298. .minimizebutton:hover {
  299. color: #C12942;
  300. }
  301. .closebutton:active,
  302. .minimizebutton:active {
  303. color: #C12942;
  304. }
  305.  
  306. /*********************************************************
  307. * Rooms
  308. *********************************************************/
  309.  
  310. .ps-room {
  311. position: absolute;
  312. display: block;
  313. top: 56px;
  314. left: 0;
  315. right: 0;
  316. bottom: 0;
  317.  
  318. border-left: 1px solid lightgrey;
  319. margin-left: 0px;
  320. }
  321. .scrollable {
  322. overflow: auto;
  323. -webkit-overflow-scrolling: touch;
  324. overflow-scrolling: touch;
  325. }
  326. .ps-room.ps-room-light {
  327. background: rgba(0, 0, 0, 0);
  328. color: black;
  329. }
  330. .ps-room.ps-room-opaque {
  331. background: rgba(0, 0, 0, 0);
  332. color: black;
  333. }
  334.  
  335. .ps-overlay {
  336. position: absolute;
  337. top: 0;
  338. left: 0;
  339. right: 0;
  340. bottom: 0;
  341. background: rgba(0, 0, 0, 0);
  342. background: rgba(0, 0, 0, 0.5);
  343.  
  344. overflow: auto;
  345. -webkit-overflow-scrolling: touch;
  346. overflow-scrolling: touch;
  347. z-index: 20;
  348. }
  349. .ps-popup {
  350. position: absolute;
  351. top: auto; right: auto; left: auto; bottom: auto;
  352. text-align: left;
  353. background: url(http://i.imgur.com/L2UjnkI.png);
  354. color: black;
  355. border: 1px solid lightgrey;
  356. padding: 2px 10px;
  357.  
  358. border-radius: 5px;
  359. box-shadow: none;
  360. z-index: 20;
  361. }
  362. .ps-overlay .ps-popup {
  363. position: static;
  364. margin: 80px auto 20px auto;
  365. max-width: 320px;
  366. }
  367. .ps-popup p,
  368. .ps-popup h3 {
  369. margin: 7px 0;
  370. }
  371. .ps-popup h3 {
  372. font-size: 12px;
  373. }
  374. p.or {
  375. font-size: 12pt;
  376. font-style: italic;
  377. font-weight: bold;
  378. color: grey;
  379. margin: 20px 0;
  380. text-align: center;
  381. }
  382. p.or:before,
  383. p.or:after {
  384. content: "";
  385. font-size: 10px;
  386. padding: 0 0 0 85px;
  387. margin: 0 9px 0 0;
  388. border-bottom: 1px solid lightgrey;
  389. position: relative;
  390. top: -7px;
  391. }
  392. p.or:after {
  393. margin: 0 0 0 9px;
  394. }
  395. .ps-popup p.error {
  396. font-weight: bold;
  397. color: #C12942;
  398. }
  399.  
  400. .popupmenu, popupmenu li {
  401. margin: -2px 0 -1px 0;
  402. padding: 0;
  403. list-style: none;
  404. font-size: 10px;
  405. }
  406. .popupmenu h3 {
  407. margin: 5px 0 0 -2px;
  408. padding: 1px 0;
  409. font-size: 10px;
  410. color: #552439;
  411. }
  412. .popupmenu li:first-child h3 {
  413. margin-top: 0;
  414. }
  415. .popupmenu button {
  416. display: block;
  417. cursor: pointer;
  418. font-size: 8pt;
  419. font-family: Helvetica, Arial, sans-serif;
  420. margin: 0 0 0 6px;
  421. padding: 0 4px;
  422. border: 1px;
  423. border-radius: 2px;
  424. background: transparent;
  425. color: black;
  426. width: 204px;
  427. height: 19px;
  428. text-align: left;
  429.  
  430. box-sizing: border-box;
  431. }
  432. @media (max-height:590px) {
  433. .popupmenu button {
  434. height: 17px;
  435. }
  436. .popupmenu h3 {
  437. margin-top: 2px;
  438. }
  439. .popupmenu, popupmenu li {
  440. margin: -3px 0 -2px 0;
  441. }
  442. }
  443. @media (max-height:518px) {
  444. .popupmenu button {
  445. height: 16px;
  446. }
  447. .popupmenu h3 {
  448. margin-top: 1px;
  449. }
  450. }
  451.  
  452. .popupmenu button.sel {
  453. padding: 0 3px;
  454. border: 1px solid lightgrey;
  455. }
  456. .popupmenu button:hover,
  457. .popupmenu button.sel:hover {
  458. padding: 0 3px;
  459. border: 1px solid lightgrey;
  460. background: url(http://i.imgur.com/L2UjnkI.png);
  461. }
  462. .select {
  463. cursor: pointer;
  464. box-sizing: border-box;
  465. width: 230px;
  466. height: 32px;
  467. padding: 0 5px;
  468. font-size: 9pt;
  469. text-align: left;
  470. font-family: Helvetica, Arial, sans-serif;
  471.  
  472. border-radius: 4px;
  473. border: 1px solid lightgrey;
  474. background: url(http://i.imgur.com/L2UjnkI.png);
  475. box-shadow: none;
  476. color: black;
  477. }
  478.  
  479.  
  480.  
  481.  
  482.  
  483. /* ----------------------------------------------------------------------------------28-11-2014 19:56*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement