ui.css 9.4 KB

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