PageRenderTime 50ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/TimeSheatKPI/Public/css/Site.css

https://gitlab.com/daniel0422/timesheet
CSS | 735 lines | 560 code | 136 blank | 39 comment | 0 complexity | ef96b6bc38ffcd16446456eb7a92d9d7 MD5 | raw file
  1. html {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. body {
  6. color: #333; background-color: #fff;
  7. font-size: .85em;
  8. font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
  9. margin: 0;
  10. padding: 0;
  11. }
  12. a {
  13. color: #333;
  14. outline: none;
  15. padding-left: 3px;
  16. padding-right: 3px;
  17. text-decoration: underline;
  18. }
  19. header, footer, hgroup,
  20. nav, section {
  21. display: block;
  22. }
  23. mark {
  24. background-color: #a6dbed;
  25. padding-left: 5px;
  26. padding-right: 5px;
  27. }
  28. .float-left {
  29. float: left;
  30. }
  31. .float-right {
  32. float: right;
  33. }
  34. .clear-fix:after {
  35. content: ".";
  36. clear: both;
  37. display: block;
  38. height: 0;
  39. visibility: hidden;
  40. }
  41. h1, h2, h3,
  42. h4, h5, h6 {
  43. color: #000;
  44. margin-bottom: 0;
  45. padding-bottom: 0;
  46. }
  47. h1 {
  48. font-size: 2em;
  49. }
  50. h2 {
  51. font-size: 1.75em;
  52. }
  53. h3 {
  54. font-size: 1.2em;
  55. }
  56. h4 {
  57. font-size: 1.1em;
  58. }
  59. h5, h6 {
  60. font-size: 1em;
  61. }
  62. h5 a:link, h5 a:visited, h5 a:active {
  63. padding: 0;
  64. text-decoration: none;
  65. }
  66. /* main layout
  67. ----------------------------------------------------------*/
  68. .content-wrapper {
  69. margin: 0 0 0 120px;
  70. }
  71. #body {
  72. background-color: #efeeef;
  73. clear: both;
  74. padding-bottom: 35px;
  75. }
  76. .main-content {
  77. background: url("../Images/accent.png") no-repeat;
  78. padding-left: 10px;
  79. padding-top: 30px;
  80. }
  81. .featured + .main-content {
  82. background: url("../Images/heroAccent.png") no-repeat;
  83. }
  84. header .content-wrapper {
  85. padding-top: 20px;
  86. }
  87. footer {
  88. clear: both;
  89. background-color: #e2e2e2;
  90. font-size: .8em;
  91. height: 100px;
  92. }
  93. /* site title
  94. ----------------------------------------------------------*/
  95. .site-title {
  96. color: #c8c8c8;
  97. font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
  98. font-size: 2.3em;
  99. margin: 0;
  100. }
  101. /* login
  102. ----------------------------------------------------------*/
  103. #login {
  104. display: block;
  105. font-size: .85em;
  106. margin: 0 0 10px;
  107. text-align: right;
  108. }
  109. #login a {
  110. background-color: #d3dce0;
  111. margin-left: 10px;
  112. margin-right: 3px;
  113. padding: 2px 3px;
  114. text-decoration: none;
  115. }
  116. #login a.username {
  117. background: none;
  118. margin: 0;
  119. padding: 0;
  120. text-decoration: underline;
  121. }
  122. #login ul {
  123. margin: 0;
  124. }
  125. #login li {
  126. display: inline;
  127. list-style: none;
  128. }
  129. /* menu
  130. ----------------------------------------------------------*/
  131. ul#menu {
  132. font-size: 1.3em;
  133. font-weight: 600;
  134. margin: 0 0 5px;
  135. padding: 0;
  136. text-align: right;
  137. }
  138. ul#menu li {
  139. display: inline;
  140. list-style: none;
  141. padding-left: 15px;
  142. }
  143. ul#menu li a {
  144. background: none;
  145. color: #999;
  146. text-decoration: none;
  147. }
  148. ul#menu li a:hover {
  149. color: #333;
  150. text-decoration: none;
  151. }
  152. /* page elements
  153. ----------------------------------------------------------*/
  154. /* featured */
  155. .featured {
  156. background-color: #fff;
  157. }
  158. .featured .content-wrapper {
  159. background-color: #7ac0da;
  160. background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
  161. background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
  162. background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
  163. background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
  164. background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
  165. color: #3e5667;
  166. padding: 20px 40px 30px 40px;
  167. }
  168. .featured hgroup.title h1, .featured hgroup.title h2 {
  169. color: #fff;
  170. }
  171. .featured p {
  172. font-size: 1.1em;
  173. }
  174. /* page titles */
  175. hgroup.title {
  176. margin-bottom: 10px;
  177. }
  178. hgroup.title h1, hgroup.title h2 {
  179. display: inline;
  180. }
  181. hgroup.title h2 {
  182. font-weight: normal;
  183. margin-left: 3px;
  184. }
  185. /* features */
  186. section.feature {
  187. width: 300px;
  188. float: left;
  189. padding: 10px;
  190. }
  191. /* ordered list */
  192. ol.round {
  193. list-style-type: none;
  194. padding-left: 0;
  195. }
  196. ol.round li {
  197. margin: 25px 0;
  198. padding-left: 45px;
  199. }
  200. ol.round li.zero {
  201. background: url("../Images/orderedList0.png") no-repeat;
  202. }
  203. ol.round li.one {
  204. background: url("../Images/orderedList1.png") no-repeat;
  205. }
  206. ol.round li.two {
  207. background: url("../Images/orderedList2.png") no-repeat;
  208. }
  209. ol.round li.three {
  210. background: url("../Images/orderedList3.png") no-repeat;
  211. }
  212. ol.round li.four {
  213. background: url("../Images/orderedList4.png") no-repeat;
  214. }
  215. ol.round li.five {
  216. background: url("../Images/orderedList5.png") no-repeat;
  217. }
  218. ol.round li.six {
  219. background: url("../Images/orderedList6.png") no-repeat;
  220. }
  221. ol.round li.seven {
  222. background: url("../Images/orderedList7.png") no-repeat;
  223. }
  224. ol.round li.eight {
  225. background: url("../Images/orderedList8.png") no-repeat;
  226. }
  227. ol.round li.nine {
  228. background: url("../Images/orderedList9.png") no-repeat;
  229. }
  230. /* content */
  231. article {
  232. float: left;
  233. width: 70%;
  234. }
  235. aside {
  236. float: right;
  237. width: 25%;
  238. }
  239. aside ul {
  240. list-style: none;
  241. padding: 0;
  242. }
  243. aside ul li {
  244. background: url("../Images/bullet.png") no-repeat 0 50%;
  245. padding: 2px 0 2px 20px;
  246. }
  247. .label {
  248. font-weight: 700;
  249. }
  250. /* login page */
  251. #loginForm {
  252. border-right: solid 2px #c8c8c8;
  253. float: left;
  254. width: 55%;
  255. }
  256. #loginForm .validation-error {
  257. display: block;
  258. margin-left: 15px;
  259. }
  260. #loginForm .validation-summary-errors ul {
  261. margin: 0;
  262. padding: 0;
  263. }
  264. #loginForm .validation-summary-errors li {
  265. display: inline;
  266. list-style: none;
  267. margin: 0;
  268. }
  269. #loginForm input {
  270. width: 250px;
  271. }
  272. #loginForm input[type="checkbox"],
  273. #loginForm input[type="submit"],
  274. #loginForm input[type="button"],
  275. #loginForm button {
  276. width: auto;
  277. }
  278. #socialLoginForm {
  279. margin-left: 40px;
  280. float: left;
  281. width: 40%;
  282. }
  283. #socialLoginForm h2 {
  284. margin-bottom: 5px;
  285. }
  286. #socialLoginList button {
  287. margin-bottom: 12px;
  288. }
  289. #logoutForm {
  290. display: inline;
  291. }
  292. /* contact */
  293. .contact h3 {
  294. font-size: 1.2em;
  295. }
  296. .contact p {
  297. margin: 5px 0 0 10px;
  298. }
  299. .contact iframe {
  300. border: 1px solid #333;
  301. margin: 5px 0 0 10px;
  302. }
  303. /* forms */
  304. fieldset {
  305. border: none;
  306. margin: 0;
  307. padding: 0;
  308. }
  309. fieldset legend {
  310. display: none;
  311. }
  312. fieldset ol {
  313. padding: 0;
  314. list-style: none;
  315. }
  316. fieldset ol li {
  317. padding-bottom: 5px;
  318. }
  319. label {
  320. display: block;
  321. font-size: 1.2em;
  322. font-weight: 600;
  323. }
  324. label.checkbox {
  325. display: inline;
  326. }
  327. input, textarea {
  328. border: 1px solid #e2e2e2;
  329. background: #fff;
  330. color: #333;
  331. font-size: 1.2em;
  332. margin: 5px 0 6px 0;
  333. padding: 5px;
  334. width: 300px;
  335. }
  336. textarea {
  337. font-family: inherit;
  338. width: 500px;
  339. }
  340. input:focus, textarea:focus {
  341. border: 1px solid #7ac0da;
  342. }
  343. input[type="checkbox"] {
  344. background: transparent;
  345. border: inherit;
  346. width: auto;
  347. }
  348. input[type="submit"],
  349. input[type="button"],
  350. button {
  351. background-color: #d3dce0;
  352. border: 1px solid #787878;
  353. cursor: pointer;
  354. font-size: 1.2em;
  355. font-weight: 600;
  356. padding: 7px;
  357. margin-right: 8px;
  358. width: auto;
  359. }
  360. td input[type="submit"],
  361. td input[type="button"],
  362. td button {
  363. font-size: 1em;
  364. padding: 4px;
  365. margin-right: 4px;
  366. }
  367. /* info and errors */
  368. .message-info {
  369. border: 1px solid;
  370. clear: both;
  371. padding: 10px 20px;
  372. }
  373. .message-error {
  374. clear: both;
  375. color: #e80c4d;
  376. font-size: 1.1em;
  377. font-weight: bold;
  378. margin: 20px 0 10px 0;
  379. }
  380. .message-success {
  381. color: #7ac0da;
  382. font-size: 1.3em;
  383. font-weight: bold;
  384. margin: 20px 0 10px 0;
  385. }
  386. .error {
  387. color: #e80c4d;
  388. }
  389. /* styles for validation helpers */
  390. .field-validation-error {
  391. color: #e80c4d;
  392. font-weight: bold;
  393. }
  394. .field-validation-valid {
  395. display: none;
  396. }
  397. input.input-validation-error {
  398. border: 1px solid #e80c4d;
  399. }
  400. input[type="checkbox"].input-validation-error {
  401. border: 0 none;
  402. }
  403. .validation-summary-errors {
  404. color: #e80c4d;
  405. font-weight: bold;
  406. font-size: 1.1em;
  407. }
  408. .validation-summary-valid {
  409. display: none;
  410. }
  411. /* tables
  412. ----------------------------------------------------------*/
  413. table {
  414. border-collapse: collapse;
  415. border-spacing: 0;
  416. margin-top: 0.75em;
  417. border: 0 none;
  418. }
  419. th {
  420. font-size: 1.2em;
  421. text-align: left;
  422. border: none 0px;
  423. padding-left: 0;
  424. }
  425. th a {
  426. display: block;
  427. position: relative;
  428. }
  429. th a:link, th a:visited, th a:active, th a:hover {
  430. color: #333;
  431. font-weight: 600;
  432. text-decoration: none;
  433. padding: 0;
  434. }
  435. th a:hover {
  436. color: #000;
  437. }
  438. th.asc a, th.desc a {
  439. margin-right: .75em;
  440. }
  441. th.asc a:after, th.desc a:after {
  442. display: block;
  443. position: absolute;
  444. right: 0em;
  445. top: 0;
  446. font-size: 0.75em;
  447. }
  448. th.asc a:after {
  449. content: '▲';
  450. }
  451. th.desc a:after {
  452. content: '▼';
  453. }
  454. td {
  455. padding: 0.25em 2em 0.25em 0em;
  456. border: 0 none;
  457. }
  458. tr.pager td {
  459. padding: 0 0.25em 0 0;
  460. }
  461. /********************
  462. * Mobile Styles *
  463. ********************/
  464. @media only screen and (max-width: 850px) {
  465. /* header
  466. ----------------------------------------------------------*/
  467. header .float-left,
  468. header .float-right {
  469. float: none;
  470. }
  471. /* logo */
  472. header .site-title {
  473. margin: 10px;
  474. text-align: center;
  475. }
  476. /* login */
  477. #login {
  478. font-size: .85em;
  479. margin: 0 0 12px;
  480. text-align: center;
  481. }
  482. #login ul {
  483. margin: 5px 0;
  484. padding: 0;
  485. }
  486. #login li {
  487. display: inline;
  488. list-style: none;
  489. margin: 0;
  490. padding: 0;
  491. }
  492. #login a {
  493. background: none;
  494. color: #999;
  495. font-weight: 600;
  496. margin: 2px;
  497. padding: 0;
  498. }
  499. #login a:hover {
  500. color: #333;
  501. }
  502. /* menu */
  503. nav {
  504. margin-bottom: 5px;
  505. }
  506. ul#menu {
  507. margin: 0;
  508. padding: 0;
  509. text-align: center;
  510. }
  511. ul#menu li {
  512. margin: 0;
  513. padding: 0;
  514. }
  515. /* main layout
  516. ----------------------------------------------------------*/
  517. .main-content,
  518. .featured + .main-content {
  519. background-position: 10px 0;
  520. }
  521. .content-wrapper {
  522. padding-right: 10px;
  523. padding-left: 10px;
  524. }
  525. .featured .content-wrapper {
  526. padding: 10px;
  527. }
  528. /* page content */
  529. article, aside {
  530. float: none;
  531. width: 100%;
  532. }
  533. /* ordered list */
  534. ol.round {
  535. list-style-type: none;
  536. padding-left: 0;
  537. }
  538. ol.round li {
  539. padding-left: 10px;
  540. margin: 25px 0;
  541. }
  542. ol.round li.zero,
  543. ol.round li.one,
  544. ol.round li.two,
  545. ol.round li.three,
  546. ol.round li.four,
  547. ol.round li.five,
  548. ol.round li.six,
  549. ol.round li.seven,
  550. ol.round li.eight,
  551. ol.round li.nine {
  552. background: none;
  553. }
  554. /* features */
  555. section.feature {
  556. float: none;
  557. padding: 10px;
  558. width: auto;
  559. }
  560. section.feature img {
  561. color: #999;
  562. content: attr(alt);
  563. font-size: 1.5em;
  564. font-weight: 600;
  565. }
  566. /* forms */
  567. input {
  568. width: 90%;
  569. }
  570. /* login page */
  571. #loginForm {
  572. border-right: none;
  573. float: none;
  574. width: auto;
  575. }
  576. #loginForm .validation-error {
  577. display: block;
  578. margin-left: 15px;
  579. }
  580. #socialLoginForm {
  581. margin-left: 0;
  582. float: none;
  583. width: auto;
  584. }
  585. /* footer
  586. ----------------------------------------------------------*/
  587. footer .float-left,
  588. footer .float-right {
  589. float: none;
  590. }
  591. footer {
  592. text-align: center;
  593. height: auto;
  594. padding: 10px 0;
  595. }
  596. footer p {
  597. margin: 0;
  598. }
  599. }