mystyle.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. * {
  2. box-sizing: border-box;
  3. }
  4. body {
  5. max-width: 100%;
  6. overflow-x: hidden;
  7. }
  8. html {
  9. line-height: 1.15;
  10. -ms-text-size-adjust: 100%;
  11. -webkit-text-size-adjust: 100%;
  12. }
  13. #lauchSearch{
  14. margin:auto;
  15. }
  16. #title {
  17. padding:5% 0;
  18. }
  19. .searchBar {
  20. padding: 5% 0;
  21. }
  22. .search_form::after {
  23. content: "";
  24. clear: both;
  25. display: table;
  26. }
  27. #logo {
  28. width:100px;
  29. height:auto;
  30. }
  31. .search_params {
  32. display: -ms-flexbox;
  33. /*display: flex;*/
  34. -ms-flex-pack: center;
  35. justify-content: center;
  36. -ms-flex-align: center;
  37. align-items: center;
  38. padding: 15px;
  39. font-family: roboto,sans-serif;
  40. -webkit-box-shadow: 0 8px 20px 0 rgba(0,0,0,.15);
  41. -moz-box-shadow: 0 8px 20px 0 rgba(0,0,0,.15);
  42. box-shadow: 0 8px 20px 0 rgba(0,0,0,.15);
  43. background: #fff;
  44. -webkit-border-radius: 10px;
  45. -moz-border-radius: 10px;
  46. border-radius: 10px;
  47. margin-bottom: 10px;
  48. }
  49. .input-large, .input-medium {
  50. position: relative;
  51. margin-bottom: 23px;
  52. padding: 16px 20px;
  53. padding-bottom: 10px;
  54. float: left;
  55. margin-right: 10px;
  56. }
  57. .input-large {
  58. width: 400px;
  59. }
  60. .input-medium {
  61. width: 170px;
  62. display: block;
  63. text-transform: uppercase;
  64. margin-left:20px;
  65. }
  66. .input-small {
  67. width: 100px;
  68. padding-top:15px;
  69. }
  70. .choose_param {
  71. margin: 0 auto;
  72. display: flex;
  73. justify-content: center;
  74. }
  75. /*
  76. .row.input-options {
  77. align-items: center;
  78. margin-bottom: 20px;
  79. -ms-flex-pack: justify;
  80. justify-content: space-between;
  81. -ms-flex-align: center;
  82. align-items: center;
  83. margin-left: 25px;
  84. }
  85. .input-field {
  86. width: calc(33.3333% - 30px);
  87. position: relative;
  88. text-transform: uppercase;
  89. font-size: 12px;
  90. border-bottom: 2px solid gray;
  91. padding: 1rem 1.25rem 1rem 0rem;
  92. }
  93. .choose_param {
  94. margin-bottom: 2%;
  95. }
  96. */
  97. .barraDiRicerca {
  98. width:70%;
  99. }
  100. #cooccorrenze {
  101. margin-left: 5px;
  102. }
  103. #cooccorrenze_options {
  104. text-align: center;
  105. margin-top: 2%;
  106. padding: 0% 15%;
  107. }
  108. #add_cc {
  109. border: 1px solid grey;
  110. padding: 5px;
  111. }
  112. .table-responsive {
  113. margin: 3% 0%;
  114. font-size: 14px;
  115. width: 100%;
  116. overflow-x: auto;
  117. -webkit-overflow-scrolling: touch;
  118. min-width: 780px;
  119. display: flex !important;
  120. transition: all .5s linear;
  121. }
  122. #result {
  123. width: 100%;
  124. margin-bottom: 1rem;
  125. color: #212529;
  126. height: fit-content;
  127. }
  128. #result .row {
  129. padding: 1%;
  130. position: relative;
  131. -webkit-transition: .3s all ease;
  132. -o-transition: .3s all ease;
  133. transition: .3s all ease;
  134. color: #777;
  135. font-weight: 400;
  136. padding-bottom: 20px;
  137. padding-top: 20px;
  138. font-weight: 300;
  139. padding: 0.75rem;
  140. vertical-align: top;
  141. border-top: 1px solid #dee2e6;
  142. }
  143. #result .row::before {
  144. top: -1px;
  145. }
  146. #result .row::after {
  147. bottom: -1px;
  148. }
  149. #result .row:hover {
  150. background-color: #f9fbff;
  151. border: 1px solid #3498db;
  152. }
  153. .box-text {
  154. width: 100%;
  155. display: -webkit-box;
  156. display: -webkit-flex;
  157. display: -moz-box;
  158. display: -ms-flexbox;
  159. display: flex;
  160. flex-wrap: wrap;
  161. justify-content: space-between;
  162. padding: 20px 35px 28px;
  163. font-size: 18px;
  164. }
  165. .box-label {
  166. text-transform: uppercase;
  167. color: #fff;
  168. font-size: 18px;
  169. text-align: center;
  170. width: 100%;
  171. background-color: #4f4f4f;
  172. padding: 15px 0px 0px 0px;
  173. font-weight: 500;
  174. }
  175. .toggle-buttons {
  176. position: absolute;
  177. left: -60px;
  178. top: 0px;
  179. background-color: brown;
  180. color: #fff;
  181. font-weight: bold;
  182. padding: 15px;
  183. }
  184. /*
  185. #result .row:nth-child(even){
  186. background-color: #fff;
  187. }
  188. #result .row:nth-child(odd){
  189. background-color: #efefef;
  190. }
  191. */
  192. #first_row {
  193. font-weight: bold !important;
  194. border-top: none !important;
  195. border-bottom: none !important;
  196. }
  197. #first_row:hover {
  198. background-color: #fff !important;
  199. border: none !important;
  200. }
  201. .highlight {
  202. color: red;
  203. font-weight: bold;
  204. }
  205. .pointer {
  206. cursor: pointer;
  207. }
  208. #single-context-box {
  209. background-color: #fff;
  210. position: absolute;
  211. margin-left: 20px;
  212. overflow-y: scroll;
  213. right: 15px;
  214. width: 40%;
  215. max-width: 700px;
  216. }
  217. #single-context-box::before {
  218. width:50px;
  219. background-color: red;
  220. }
  221. .box {
  222. border: 1px solid #777;
  223. border-top-color: rgb(119, 119, 119);
  224. border-top-style: solid;
  225. border-top-width: 1px;
  226. color: #777;
  227. border-top: none;
  228. background-color: #fff;
  229. }
  230. #context-title {
  231. font-size: 20px;
  232. font-size-adjust: 0.5;
  233. line-height: 1.2;
  234. text-transform: uppercase;
  235. min-height: 128px;
  236. position: relative;
  237. z-index: 1;
  238. display: -webkit-box;
  239. display: -webkit-flex;
  240. display: -moz-box;
  241. display: -ms-flexbox;
  242. display: flex;
  243. justify-content: center;
  244. align-items: center;
  245. background-repeat: no-repeat;
  246. background-size: cover;
  247. background-position: center;
  248. border-top-left-radius: 3px;
  249. border-top-right-radius: 3px;
  250. overflow: hidden;
  251. padding: 30px 15px;
  252. background-color: #efefef;
  253. border: 1px solid #777;
  254. color: #777;
  255. }
  256. .page:not(#pag_1) {
  257. display: none;
  258. }
  259. /*Loader*/
  260. .loader {
  261. border: 16px solid #f3f3f3;
  262. border-radius: 50%;
  263. border-top: 16px solid #3498db;
  264. width: 120px;
  265. height: 120px;
  266. -webkit-animation: spin 2s linear infinite; /* Safari */
  267. animation: spin 2s linear infinite;
  268. margin-left: auto;
  269. margin-right: auto;
  270. }
  271. /* Safari */
  272. @-webkit-keyframes spin {
  273. 0% { -webkit-transform: rotate(0deg); }
  274. 100% { -webkit-transform: rotate(360deg); }
  275. }
  276. @keyframes spin {
  277. 0% { transform: rotate(0deg); }
  278. 100% { transform: rotate(360deg); }
  279. }
  280. footer {
  281. margin-top: 150px;
  282. width: 100%;
  283. text-align: center;
  284. margin-bottom: 10px;
  285. }
  286. footer img {
  287. height: 80px;
  288. width: auto;
  289. }
  290. .container {
  291. overflow: hidden;
  292. max-width: 100%
  293. }
  294. /* The container must be positioned relative: */
  295. .custom-select {
  296. position: relative;
  297. font-family: Arial;
  298. }
  299. .custom-select select {
  300. display: none; /*hide original SELECT element: */
  301. }
  302. .select-selected {
  303. background-color: DodgerBlue;
  304. }
  305. /* Style the arrow inside the select element: */
  306. .select-selected:after {
  307. position: absolute;
  308. content: "";
  309. top: 14px;
  310. right: 10px;
  311. width: 0;
  312. height: 0;
  313. border: 6px solid transparent;
  314. border-color: #fff transparent transparent transparent;
  315. }
  316. /* Point the arrow upwards when the select box is open (active): */
  317. .select-selected.select-arrow-active:after {
  318. border-color: transparent transparent #fff transparent;
  319. top: 7px;
  320. }
  321. /* style the items (options), including the selected item: */
  322. .select-items div,.select-selected {
  323. color: #ffffff;
  324. padding: 8px 16px;
  325. border: 1px solid transparent;
  326. border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  327. cursor: pointer;
  328. }
  329. /* Style items (options): */
  330. .select-items {
  331. position: absolute;
  332. background-color: DodgerBlue;
  333. top: 100%;
  334. left: 0;
  335. right: 0;
  336. z-index: 99;
  337. }
  338. /* Hide the items when the select box is closed: */
  339. .select-hide {
  340. display: none;
  341. }
  342. .select-items div:hover, .same-as-selected {
  343. background-color: rgba(0, 0, 0, 0.1);
  344. }
  345. .italic {
  346. font-style: italic;
  347. }
  348. .bold {
  349. font-weight: bold;
  350. }
  351. .underline {
  352. text-decoration-line: underline;
  353. }
  354. .linethrough {
  355. text-decoration-line: line-through;
  356. }
  357. /* Ugly workaround */
  358. .underlinethrough {
  359. text-decoration-line: underline line-through;
  360. }
  361. @media screen and (max-width: 767px) {
  362. .row.input-options {
  363. display: block;
  364. width: 100%;
  365. }
  366. .input-field {
  367. width:100%;
  368. }
  369. .table-responsive {
  370. display: block;
  371. }
  372. #single-context-box {
  373. width: 80%;
  374. }
  375. }
  376. .selected {
  377. animation: slide-in 0.5s forwards;
  378. -webkit-animation: slide-in 0.5s forwards;
  379. }
  380. .dismiss {
  381. animation: slide-out 0.5s forwards;
  382. -webkit-animation: slide-out 0.5s forwards;
  383. }
  384. @keyframes slide-in {
  385. 0% {
  386. -webkit-transform: translateX(100%);
  387. }
  388. 100% {
  389. -webkit-transform: translateX(0%);
  390. }
  391. }
  392. @-webkit-keyframes slide-in {
  393. 0% {
  394. transform: translateX(100%);
  395. }
  396. 100% {
  397. transform: translateX(0%);
  398. }
  399. }
  400. @keyframes slide-out {
  401. 0% {
  402. transform: translateX(0%);
  403. }
  404. 100% {
  405. transform: translateX(100%);
  406. }
  407. }
  408. @-webkit-keyframes slide-out {
  409. 0% {
  410. -webkit-transform: translateX(0%);
  411. }
  412. 100% {
  413. -webkit-transform: translateX(100%);
  414. }
  415. }