ui.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  1. /**********************************
  2. * Fonts used across the page *
  3. **********************************/
  4. /* Font */
  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. padding: 0;
  18. }
  19. /* Style for all links */
  20. a{
  21. color: #555555;
  22. text-shadow: 0 0 0.5em #7777ff;
  23. text-decoration: none;
  24. }
  25. /* Elements fith bold font */
  26. .bold{
  27. font-weight: bold;
  28. }
  29. .pointer {
  30. cursor: pointer;
  31. }
  32. /* Hidden elements */
  33. .hidden{
  34. display: none;
  35. }
  36. img.slider{
  37. width: 1em;
  38. height: 1em;
  39. vertial-align: middle;
  40. transition: all .3s ease-in-out;
  41. }
  42. div#cover{
  43. display: none;
  44. background-color: #000000bb;
  45. opacity: 0;
  46. transition: opacity .3s ease-in-out;
  47. position: fixed;
  48. top: 0;
  49. left: 0;
  50. right: 0;
  51. bottom: 0;
  52. }
  53. div#dialog{
  54. display: none;
  55. position: fixed;
  56. top: 0;
  57. left: 0;
  58. right: 0;
  59. left: 0;
  60. width: 100%;
  61. height: 100%;
  62. opacity: 0;
  63. transition: opacity .3s ease-in-out;
  64. text-align: center;
  65. z-index: 1;
  66. }
  67. div#dialog div#dialog_background{
  68. position: fixed;
  69. top: 0;
  70. left: 0;
  71. right: 0;
  72. left: 0;
  73. width: 100%;
  74. height: 100%;
  75. background-color: #00000088;
  76. z-index: -1;
  77. }
  78. div#dialog div.section{
  79. width: 50%;
  80. height: 50%;
  81. margin: 5em auto auto auto;
  82. z-index: 1;
  83. }
  84. /**********************************
  85. * Header style *
  86. **********************************/
  87. div#header{
  88. background-color: #000000;
  89. margin: 0;
  90. width: 100%;
  91. height: 2.6em;
  92. padding: 0;
  93. }
  94. div#header img{
  95. height: 1.8em;
  96. vertical-align: center;
  97. }
  98. div#header table{
  99. width: 100%;
  100. height: 100%;
  101. margin-left: auto;
  102. margin-right: auto;
  103. border-spacing: 0;
  104. border-collapse: collapse;
  105. margin: 0;
  106. table-layout: fixed;
  107. }
  108. div#header td{
  109. color: #dddddd;
  110. font-weight: bold;
  111. text-align: center;
  112. }
  113. div#header td a{
  114. color: #dddddd;
  115. font-weight: bold;
  116. text-align: center;
  117. text-shadow: none;
  118. text-decoration: none;
  119. transition: all .3s ease-in-out;
  120. }
  121. /******************************************
  122. * Secondary header. *
  123. ******************************************/
  124. div.secondary_header{
  125. background-color: #333333;
  126. margin: 0;
  127. display: none;
  128. width: 100%;
  129. height: 2.6em;
  130. }
  131. div.secondary_header table{
  132. width: 90%;
  133. margin-left: auto;
  134. margin-right: auto;
  135. table-layout: fixed;
  136. }
  137. div.secondary_header td{
  138. text-align: center;
  139. }
  140. div.secondary_header td a{
  141. color: #dddddd;
  142. font-weight: bold;
  143. text-align: center;
  144. text-shadow: none;
  145. text-decoration: none;
  146. transition: all .3s ease-in-out;
  147. }
  148. div.secondary_header td a:hover{
  149. color: #dddddd;
  150. text-shadow: none;
  151. text-decoration: none;
  152. }
  153. /**********************************
  154. * Styles for the elements that *
  155. * compose the basic strucure of *
  156. * the site. *
  157. **********************************/
  158. /* The content is everything between the header and the footer */
  159. div#content{
  160. position: relative;
  161. width: 100%;
  162. height: 100%;
  163. margin-bottom: 1.875em;
  164. }
  165. div.section{
  166. margin: 0.5em;
  167. padding: 0;
  168. background-color: #ffffff;
  169. border: 0.063em solid #005500;
  170. border-radius: 1em 1em;
  171. box-shadow: 0 0 0.75em #003300;
  172. overflow: hidden;
  173. }
  174. div.section h3.section_title{
  175. font-weight: bold;
  176. color: #ccddff;
  177. text_align: left;
  178. padding: 0.2em 0.4em 0.2em 0.4em;
  179. margin: 0;
  180. text-shadow: 0 0 0.4em #000022;
  181. font-size: 150%;
  182. background: linear-gradient(to bottom, #1e9957 0%,#29d889 89%,#20ca7c 97%,#7de8b9 100%);
  183. }
  184. /* .entry is a style only class to show content. Must be allways children os a .lighted element */
  185. div.section div.entry{
  186. border: 0.1em solid #aaffaa00;
  187. border-radius: 0.3em;
  188. padding: 0.5em;
  189. margin: 0.5em;
  190. transition: all .4s ease-in-out;
  191. }
  192. div.section div.entry_list:hover{
  193. background-color: #efffef;
  194. border: 0.1em solid #aaffaaff;
  195. }
  196. /* Style for the mathces in search results */
  197. span.result_counter{
  198. margin-left: 1.2em;
  199. margin-bottom: 0.5em;
  200. font-weight: bold;
  201. font-style: italic;
  202. }
  203. /* Shown when no records on database */
  204. div.unavailable{
  205. margin-left: 4em;
  206. font-style: italic;
  207. }
  208. /**********************************
  209. * Styles to be applied to some *
  210. * horizontally scrollable *
  211. * elements *
  212. **********************************/
  213. /* Horizontall scrollbar that apears when a project has lots of renders */
  214. .slider::-webkit-scrollbar{
  215. width: 0.5em;
  216. height: 0.25em;
  217. background-color: #444444;
  218. }
  219. .slider::-webkit-scrollbar-thumb{
  220. background-color: #cccccc;
  221. border-radius: 0.714em;
  222. }
  223. .slider::-webkit-scrollbar-thumb:hover{
  224. background-color: #cccccc;
  225. border: 0.143em solid #000000;
  226. }
  227. .slider::-webkit-scrollbar-thumb:active{
  228. background-color: #cccccc;
  229. border: 0.143em solid #000000;
  230. }
  231. /* Icons for sharing page in a social network */
  232. img.social_icon{
  233. width: 4.286em;
  234. height: 4.286em;
  235. }
  236. /* Elements that should have the cursor as pointer */
  237. .pointer{
  238. cursor: pointer;
  239. }
  240. /**********************************
  241. * Styles for diverse input *
  242. * elements. Type-assigned *
  243. **********************************/
  244. /* Font for all the input elements */
  245. input{
  246. font-family: 'Nunito';
  247. }
  248. /* Style forr buttons */
  249. input[type=button], input[type=submit]{
  250. font-weight: bold;
  251. color: #cccccc;
  252. background-color: #555555;
  253. border: 0.143em solid #bbbbbb;
  254. border-radius: 0.429em;
  255. padding: 0.5em;
  256. text-shadow: 0 0 0.75em #000000;
  257. cursor: pointer;
  258. }
  259. /* Style for textboxes */
  260. input[type=text], input[type=password]{
  261. font-weight: bold;
  262. color: #224422;
  263. background-color: #bbccbb;
  264. border: 0.286em solid #ddeedd;
  265. border-color: #dddddd;
  266. border-radius: 0.429em;
  267. padding: 0.25em;
  268. text-shadow: 0 0 0.5em #ffffff;
  269. }
  270. input[type=checkbox]{
  271. width: 1em;
  272. height: 1em;
  273. border-radius: 0.2em;
  274. border: 0.063em solid #005500;
  275. }
  276. /* Style for textareas */
  277. textarea{
  278. width: 80%;
  279. font-weight: bold;
  280. color: #444444;
  281. background-color: #bbbbbb;
  282. border: 0.286em solid #dddddd;
  283. border-color: #dddddd;
  284. border-radius: 0.286em;
  285. padding: 0.25em;
  286. text-shadow: 0 0 0.5em #ffffff;
  287. resize: none;
  288. }
  289. /* Style for selects */
  290. select{
  291. font-weight: bold;
  292. color: #444444;
  293. background-color: #bbbbbb;
  294. border: 0.286em solid #dddddd;
  295. border-radius: 0.286em;
  296. padding: 0.25em;
  297. text-shadow: 0 0 0.5em #ffffff;
  298. }
  299. /* Styles so the input field to upload an image with the comment looks like a button */
  300. label.image_upload {
  301. font-family: 'Nunito';
  302. font-weight: bold;
  303. color: #cccccc;
  304. background-color: #555555;
  305. border: 0.143em solid #bbbbbb;
  306. border-radius: 0.429em;
  307. padding: 0.5em;
  308. text-shadow: 0 0 0.75em #000000;
  309. cursor: pointer;
  310. }
  311. label.image_upload input {
  312. width: 0 !important;
  313. opacity: 0 !important;
  314. overflow: hidden !important;
  315. }
  316. /* Previsualization for the upload image in a comment */
  317. img#new_comment_image_preview{
  318. max-height: 7.692em;
  319. max-width: 11.538em;
  320. }
  321. /* Style for placeholders in input fields */
  322. ::-webkit-input-placeholder { /* WebKit browsers */
  323. color: #777777;
  324. }
  325. :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  326. color: #777777;
  327. }
  328. ::-moz-placeholder { /* Mozilla Firefox 19+ */
  329. color: #777777;
  330. }
  331. :-ms-input-placeholder { /* Internet Explorer 10+ */
  332. color: #777777;
  333. }
  334. /* Style-only class user to indicate that a field is incorrect. Ususally this class is added to an element with js */
  335. .error{
  336. border-color: #ffaaaa;
  337. }
  338. /* Style for the textbox input when the entered text is not the expected one */
  339. input[type=text].error, input[type=password].error{
  340. border-color: #ffaaaa;
  341. }
  342. /* Style for the textared input when the entered text is not the expected one */
  343. textarea.error{
  344. border-color: #ffaaaa;
  345. }
  346. /* Style for buttons that act as links */
  347. a.a_button{
  348. display: inline-block;
  349. color: #cccccc;
  350. background-color: #555555;
  351. border: 0.143em solid #bbbbbb;
  352. border-radius: 0.429em;
  353. padding: 0.5em;
  354. text-shadow: 0 0 0.75em #000000;
  355. text-decoration: none;
  356. font: -webkit-small-control;
  357. font-family: 'Nunito';
  358. font-weight: bold;
  359. }
  360. /**********************************
  361. * Styles for editable items . *
  362. * horizontally scrollable *
  363. * elements *
  364. **********************************/
  365. /* Field value, not editing */
  366. .editable .field_result{
  367. display: initial;
  368. }
  369. /* Button to start editing*/
  370. .editable .button_edit{
  371. display: initial;
  372. cursor: pointer;
  373. max-width: 1.2em;
  374. vertical-align: middle;
  375. opacity: 0.5;
  376. }
  377. /* Field value, editing. */
  378. .editable .field_editable{
  379. display: none;
  380. }
  381. /* Field value, editing, textarea <-> cke */
  382. .editable .cke{
  383. display: none;
  384. }
  385. /* Button to save edition. */
  386. .editable .button_save{
  387. display: none;
  388. cursor: pointer;
  389. max-width: 1.2em;
  390. vertical-align: middle;
  391. }
  392. /* Button to save edition. */
  393. .editable .button_cancel{
  394. display: none;
  395. cursor: pointer;
  396. max-width: 1.2em;
  397. vertical-align: middle;
  398. }
  399. /******************************************
  400. * Language selectors *
  401. ******************************************/
  402. div#lang_tabs{
  403. margin-top: 2em;
  404. margin-bottom: 2em;
  405. text-align: center;
  406. }
  407. div#lang_tabs table{
  408. border-collapse: collapse;
  409. border: 0.2em solid #1e9957;
  410. border-radius: 0.2em;
  411. margin: 0.5em auto 1em auto;
  412. }
  413. div#lang_tabs td{
  414. background-color: #ffffff;
  415. color: #29d889;
  416. font-weight: bold;
  417. width: 7em;
  418. margin: 0;
  419. padding: 0.2em;
  420. border: 0.05em solid #1e9957;
  421. }
  422. div#lang_tabs td.lang_tabs_active{
  423. background-color: #29d889;
  424. color: #ffffff;
  425. }
  426. div.content_lang{
  427. display: none;
  428. margin: 0;
  429. padding: 0;
  430. }
  431. div.content_lang_active{
  432. display: initial;
  433. }