ui.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. /**********************************
  2. * Fonts used across the page *
  3. **********************************/
  4. /* Font used for inputs */
  5. @font-face {
  6. font-family: 'Nunito';
  7. src: url('/fonts/Nunito-Regular.ttf');
  8. }
  9. /**********************************
  10. * Styles to be applied across *
  11. * all the site for all the *
  12. * elements of it's type *
  13. **********************************/
  14. /* Styles for the body of the page */
  15. body{
  16. background-color: #111111;
  17. }
  18. /* Style for all links */
  19. a{
  20. color: #555555;
  21. text-shadow: 0 0 0.5em #7777ff;
  22. text-decoration: none;
  23. }
  24. /* Elements fith bold font */
  25. span.bold{
  26. font-weight: bold;
  27. }
  28. /**********************************
  29. * Toolbar style *
  30. **********************************/
  31. /* Container for the header */
  32. div#header_parent{
  33. width: 100%;
  34. text-align: center;
  35. }
  36. /* The actual header */
  37. nav#header{
  38. text-align: center;
  39. height: 3.4em;
  40. display: inline;
  41. z-index: 300;
  42. margin-left: auto;
  43. margin-right: auto;
  44. font-weight: bold;
  45. font-size: 110%;
  46. }
  47. /* Dummy <span> to use as vertical separator between links */
  48. nav#header span.link_separator{
  49. border-left: 0.077em solid rgba(200, 200, 200, .5);
  50. }
  51. /* All the links in the bar. Contains the text and the icon */
  52. nav#header a{
  53. margin: auto;
  54. text-decoration: none;
  55. color: #cccccc;
  56. text-shadow: 0 0 0.5em #000000;
  57. }
  58. /* Contains everithing inside each link (direct and only child of a.header_link) */
  59. nav#header span.header_container {
  60. margin: auto;
  61. text-align: center;
  62. min-width: 3.125em;
  63. margin-right: 0.43em;
  64. margin-left: 0.43em;
  65. padding-left: 0.625em;
  66. padding-top: 0.375em;
  67. padding-bottom: 0.375em;
  68. padding-right: 2.19em;
  69. display: inline-block;
  70. position: relative;
  71. transition: all .3s ease-in-out;
  72. box-shadow: 0 0 0.063em rgba(0, 0, 0, 0);
  73. border: rgba(0,0,0,0) solid 0.063em;
  74. border-radius: 0.5em;
  75. }
  76. nav#header span.header_container:hover {
  77. border: rgba(255, 255, 255, 0.5) solid 0.063em;
  78. background-color: rgba(255, 255, 255, 0.2);
  79. }
  80. /* Contains the icon for each entry */
  81. nav#header span.header_icon_container{
  82. border-bottom: 0.063em solid #999999;
  83. padding-bottom: 0.313em;
  84. }
  85. /* Icon for each entry of the header */
  86. nav#header img.header_icon{
  87. opacity: 0.1;
  88. width: 1.563em;
  89. height: 1.563em;
  90. vertical-align: middle;
  91. transition: opacity 0.4s ease-in-out;
  92. }
  93. nav#header span.header_container:hover img.header_icon{
  94. opacity: 0.9;
  95. }
  96. /* A line separating the header from the rest of the page */
  97. hr#header_separator{
  98. width: 70%;
  99. }
  100. /**********************************
  101. * Footer style *
  102. **********************************/
  103. /* The actual footer */
  104. div#footer{
  105. display: inline-block;
  106. font-size: 80%;
  107. text-align: center;
  108. height: 3.438em;
  109. margin-left: auto;
  110. margin-right: auto;
  111. margin-top: 3.125em;
  112. margin-bottom: 3.125em;
  113. color: #dddddd;
  114. }
  115. /* A table containing all the elements in the footer */
  116. div#footer table#footer_table{
  117. margin-left: auto;
  118. margin-right: auto;
  119. width: 80%;
  120. table-layout: fixed;
  121. }
  122. /* An horizontal line separating the page contents from the footer */
  123. div#footer hr#footer_separator{
  124. /* margin-top: 3.125em; */
  125. border: 0;
  126. background-color: #444444;
  127. height: 0.1em;
  128. width: 70%;
  129. }
  130. /* Left area of the footer */
  131. div#footer td#footer_left{
  132. width: 33%;
  133. text-align: left;
  134. }
  135. /* Middle area of the footer */
  136. div#footer td#footer_center{
  137. width: 33%;
  138. text-align: center;
  139. }
  140. /* Right area of the footer */
  141. div#footer td#footer_right{
  142. width: 33%;
  143. text-align: right;
  144. }
  145. /* Icons for social media */
  146. div#footer img.footer_social_icon{
  147. width: 1.875em;
  148. vertical-align: middle;
  149. }
  150. div#footer a.lang img{
  151. height: 1em;
  152. margin: 0.5em;
  153. border-radius: 0.2em;
  154. border: 0.15em solid #555555;
  155. cursor: pointer;
  156. box-shadow: 0 0 0.7em #dde;
  157. transition: all .3s ease-in-out;
  158. }
  159. div#footer a.lang img:hover{
  160. box-shadow: 0 0 1em #111;
  161. }
  162. /**********************************
  163. * Styles for the elements that *
  164. * compose the basic strucure of *
  165. * the site. *
  166. **********************************/
  167. /* The content is everything between the header and the footer */
  168. div#content{
  169. position: relative;
  170. width: 100%;
  171. height: 100%;
  172. margin-bottom: 1.875em;
  173. }
  174. /* .lighted is a style-only class to make contrast against the dark background */
  175. .lighted{
  176. background-color: #898989;
  177. border: 0.063em solid #77777;
  178. border-radius: 0.15em;
  179. padding: 0.5em;
  180. box-shadow: 0 0 0.75em #888888;
  181. }
  182. /* Style only class. Is the title of a .lighted element */
  183. .section_title{
  184. font-size: 150%;
  185. margin: 0.625em 0 0.438em 0.625em;
  186. text-shadow: 0 0 0.75em #dddddd;
  187. }
  188. /* Style for the mathces in search results */
  189. span.result_counter{
  190. margin-left: 1.2em;
  191. margin-bottom: 0.5em;
  192. font-weight: bold;
  193. font-style: italic;
  194. }
  195. /* .entry is a style only class to show content. Must be allways children os a .lighted element */
  196. .entry{
  197. transition: all .3s ease-in-out;
  198. margin: 1% 0.438em 0 0.438em;
  199. background-color: #cccccc;
  200. border: 0.143em solid #555555;
  201. border-radius: 0.314em;
  202. padding: 0.5em;
  203. box-shadow: 0 0 0.5em #333333;
  204. }
  205. .entry:hover{
  206. background-color: #eeeeee;
  207. }
  208. /* Shown when no records on database */
  209. div.unavailable{
  210. margin-left: 4em;
  211. font-style: italic;
  212. }
  213. /**********************************
  214. * Styles to be applied to some *
  215. * horizontally scrollable *
  216. * elements *
  217. **********************************/
  218. /* Horizontall scrollbar that apears when a project has lots of renders */
  219. .slider::-webkit-scrollbar{
  220. width: 0.5em;
  221. height: 0.25em;
  222. background-color: #444444;
  223. }
  224. .slider::-webkit-scrollbar-thumb{
  225. background-color: #cccccc;
  226. border-radius: 0.714em;
  227. }
  228. .slider::-webkit-scrollbar-thumb:hover{
  229. background-color: #cccccc;
  230. border: 0.143em solid #000000;
  231. }
  232. .slider::-webkit-scrollbar-thumb:active{
  233. background-color: #cccccc;
  234. border: 0.143em solid #000000;
  235. }
  236. /* Icons for sharing page in a social network */
  237. img.social_icon{
  238. width: 4.286em;
  239. height: 4.286em;
  240. }
  241. /* Elements that should have the cursor as pointer */
  242. .pointer{
  243. cursor: pointer;
  244. }
  245. /**********************************
  246. * Styles for diverse input *
  247. * elements. Type-assigned *
  248. **********************************/
  249. /* Font for all the input elements */
  250. input{
  251. font-family: 'Nunito';
  252. }
  253. /* Style for the "submit" type elements in forms */
  254. input[type=submit]{
  255. font-weight: bold;
  256. color: #cccccc;
  257. background-color: #555555;
  258. border: 0.143em solid #bbbbbb;
  259. border-radius: 0.429em;
  260. padding: 0.5em;
  261. text-shadow: 0 0 0.75em #000000;
  262. cursor: pointer;
  263. }
  264. /* Style forr buttons */
  265. input[type=button]{
  266. font-weight: bold;
  267. color: #cccccc;
  268. background-color: #555555;
  269. border: 0.143em solid #bbbbbb;
  270. border-radius: 0.429em;
  271. padding: 0.5em;
  272. text-shadow: 0 0 0.75em #000000;
  273. cursor: pointer;
  274. }
  275. /* Style for textboxes */
  276. input[type=text]{
  277. font-weight: bold;
  278. color: #444444;
  279. background-color: #bbbbbb;
  280. border: 0.286em solid #dddddd;
  281. border-color: #dddddd;
  282. border-radius: 0.429em;
  283. padding: 0.25em;
  284. text-shadow: 0 0 0.5em #ffffff;
  285. }
  286. /* Style for textareas */
  287. textarea{
  288. width: 80%;
  289. font-weight: bold;
  290. color: #444444;
  291. background-color: #bbbbbb;
  292. border: 0.286em solid #dddddd;
  293. border-color: #dddddd;
  294. border-radius: 0.286em;
  295. padding: 0.25em;
  296. text-shadow: 0 0 0.5em #ffffff;
  297. resize: none;
  298. }
  299. /* Style for selects */
  300. select{
  301. font-weight: bold;
  302. color: #444444;
  303. background-color: #bbbbbb;
  304. border: 0.286em solid #dddddd;
  305. border-radius: 0.286em;
  306. padding: 0.25em;
  307. text-shadow: 0 0 0.5em #ffffff;
  308. }
  309. /* Style for placeholders in input fields */
  310. ::-webkit-input-placeholder { /* WebKit browsers */
  311. color: #777777;
  312. }
  313. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  314. color: #777777;
  315. }
  316. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  317. color: #777777;
  318. }
  319. :-ms-input-placeholder { /* Internet Explorer 10+ */
  320. color: #777777;
  321. }
  322. /* Style-only class user to indicate that a field is incorrect. Ususally this class is added to an element with js */
  323. .error{
  324. border-color: #ffaaaa;
  325. }
  326. /* Style for the textbox input when the entered text is not the expected one */
  327. input[type=text].error{
  328. border-color: #ffaaaa;
  329. }
  330. /* Style for the textared input when the entered text is not the expected one */
  331. textarea.error{
  332. border-color: #ffaaaa;
  333. }
  334. /* Style for buttons that act as links */
  335. a.a_button{
  336. display: inline-block;
  337. color: #cccccc;
  338. background-color: #555555;
  339. border: 0.143em solid #bbbbbb;
  340. border-radius: 0.429em;
  341. padding: 0.5em;
  342. text-shadow: 0 0 0.75em #000000;
  343. text-decoration: none;
  344. font: -webkit-small-control;
  345. font-family: 'Nunito';
  346. font-weight: bold;
  347. }
  348. /**********************************
  349. * Styles for comment-related *
  350. * elements *
  351. **********************************/
  352. /* Contains fields to identify the user before the comment can be posted. Hidden by css, must be displayed with js */
  353. div#identification_form{
  354. display: none;
  355. }
  356. /* Contain a comment, with the details and the text */
  357. div.comment{
  358. background-color: #cccccc;
  359. border: 0.143em solid #777777;
  360. border-radius: 0.314em;
  361. padding: 0.5em;
  362. margin: 0.714em 0.625em 0.714em 0.625em;
  363. box-shadow: 0 0 0.750em #444444;
  364. }
  365. /* User who posted the coment */
  366. h4.comment_user{
  367. margin-top: 0.417em;
  368. margin-bottom: 0;
  369. }
  370. /* Style for the comment's images */
  371. img.comment_image{
  372. border: 0.077em solid black;
  373. max-height: 6em;
  374. max-width: 60%;
  375. display: block;
  376. vertical-align: top;
  377. border: 0.133em solid black;
  378. margin-left: 0.938em;
  379. margin-bottom: 0.938em;
  380. box-shadow: 0 0 1em #444444;
  381. }
  382. /* Paragraph with the comment text */
  383. p.comment_text{
  384. vertical-align: top;
  385. width: auto;
  386. display: block;
  387. margin-top: 0.938em;
  388. margin-left: 0.938em;
  389. }
  390. span.comment_date{
  391. font-size: 80%;
  392. font-style: italic;
  393. }
  394. /* Input field for the comment text */
  395. textarea#new_comment_text{
  396. width: 98%;
  397. }
  398. /* Input field for the comment user */
  399. input#new_comment_user{
  400. width: 47%;
  401. }
  402. /* Input field for the comment email */
  403. input#new_comment_email{
  404. width: 47%;
  405. }
  406. /* Styles so the input field to upload an image with the comment looks like a button */
  407. label.image_upload {
  408. font-weight: bold;
  409. color: #cccccc;
  410. background-color: #555555;
  411. border: 0.067em solid #bbbbbb;
  412. border-radius: 0.2em;
  413. padding: 0.5em;
  414. text-shadow: 0 0 0.750em #000000;
  415. font-size: 0.813em; /*Same as buttons*/
  416. font-family: 'Nunito';
  417. }
  418. label.image_upload input {
  419. width: 0 !important;
  420. opacity: 0 !important;
  421. overflow: hidden !important;
  422. }
  423. /* Previsualization for the upload image in a comment */
  424. img#new_comment_image_preview{
  425. max-height: 7.692em;
  426. max-width: 11.538em;
  427. }
  428. /**********************************
  429. * Styles for the pager, present *
  430. * in blog, tutorials, etc *
  431. **********************************/
  432. /* A table containing the pager */
  433. table#pager{
  434. margin-left: auto;
  435. margin-right: auto;
  436. border-spacing: 0.625em
  437. }
  438. /* Each cell in the pager */
  439. table#pager td{
  440. font-weight: bold;
  441. color: #cccccc;
  442. background-color: #bbbbbb;
  443. border: 0.077em solid #666666;
  444. border-radius: 0.231em;
  445. padding: 0.5em 0.625em 0.5em 0.625em;
  446. text-shadow: 0 0 0.75em #000000;
  447. }
  448. /* The current page */
  449. table#pager td.pager_current{
  450. background-color: #666666;
  451. border: 0.077em solid #444444;
  452. }
  453. /* Dummy <td> that contains "..." */
  454. table#pager td.pager_ellipse{
  455. background-color: initial;
  456. border: initial;
  457. }
  458. /**********************************
  459. * Styles for social sharing icon *
  460. **********************************/
  461. /* Icons for social media */
  462. img.share_icon{
  463. width: 1.875em;
  464. vertical-align: middle;
  465. }
  466. /**********************************
  467. * Styles for downloads *
  468. **********************************/
  469. /* Dummy span for download count */
  470. span#span_download{
  471. display: none;
  472. }
  473. /* Hidden <div> to confirm downloading */
  474. div.license{
  475. box-shadow: 0 0 1.2em rgba(120, 120, 120, 1);
  476. display: none;
  477. position: fixed;
  478. top: 30%;
  479. left: 25%;
  480. width: 40%;
  481. opacity: 0;
  482. z-index: 1001;
  483. padding: 0.625em;
  484. background-color: #333333;
  485. border: 0.150em solid #111111;
  486. border-radius: 1.250em;
  487. }
  488. /* <div> to dimm the screen */
  489. #screen_cover{
  490. position: fixed;
  491. top: 0;
  492. left: 0;
  493. background-color: black;
  494. display: none;
  495. width: 100%;
  496. height: 100%;
  497. opacity: 0;
  498. transition: all .9s ease-in-out;
  499. z-index: 1000;
  500. }