cd67-custom.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. @color1 : #629DD1;
  2. @color2 : #23527c;
  3. /* Generique */
  4. .flex {
  5. display: flex;
  6. }
  7. .flex-row {
  8. display: flex;
  9. flex-direction: row;
  10. }
  11. .flex-1 {
  12. flex: 1;
  13. }
  14. .align-center>* {
  15. display: flex;
  16. flex-direction: row;
  17. justify-content: center;
  18. }
  19. /* Breadcrumb et mise en avant */
  20. .color1 {
  21. color: @color1;
  22. }
  23. .menu_principal {
  24. top: 49px !important;
  25. }
  26. .menu_principal li {
  27. margin: 0 !important;
  28. }
  29. .menu_principal a, .menu_principal div {
  30. background-color: @color1;
  31. }
  32. .submenu a{
  33. background-color: #fff;
  34. color: @color1;
  35. }
  36. .input-group-addon{
  37. background-color: @color1;
  38. border-color: @color1;
  39. }
  40. .menu_principal a:hover, .menu_principal div:hover {
  41. background-color: darken(@color1, 25%);
  42. }
  43. legend {
  44. height: 40px !important;
  45. border-color: @color1;
  46. }
  47. #breadcrumbs-one a {
  48. color: black;
  49. }
  50. /* TopBar */
  51. #topbar {
  52. background-color: lighten(@color1, 33%);
  53. border-bottom: 1px solid @color1;
  54. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  55. }
  56. #title{
  57. margin: 10px;
  58. padding: 0;
  59. }
  60. #titlebar {
  61. display: inline-block;
  62. }
  63. #titlebar * {
  64. display: inline;
  65. font-size: 30px;
  66. font-weight: 500;
  67. color: rgb(51, 122, 183);
  68. }
  69. #titlebar select {
  70. width: 170px;
  71. }
  72. #titlebar sup {
  73. font-size: 20px;
  74. }
  75. #loginbar{
  76. margin-top: 3px;
  77. }
  78. #loginbar * {
  79. color: darken(@color1, 25%);
  80. }
  81. .menu-hamburger {
  82. color: @color1;
  83. top: 7px;
  84. left: 20px;
  85. position: fixed;
  86. cursor: pointer;
  87. font-size: 3em;
  88. }
  89. .menu-hamburger:hover {
  90. color: darken(@color1, 25%);
  91. }
  92. /* Version réduite */
  93. @media(max-width:768px){
  94. #title {
  95. display : none;
  96. }
  97. #loginbar {
  98. display : none;
  99. }
  100. }
  101. #topline2 {
  102. text-align: center;
  103. margin-bottom: 1em;
  104. }
  105. /* Fond de la sidebar */
  106. .color2 {
  107. color: #5a5555;
  108. }
  109. #wrapper.toggled-2 #sidebar-wrapper {
  110. background-color: #5a5555;
  111. }
  112. .background-color2 {
  113. background-color: #5a5555;
  114. }
  115. #a-li-menu-l2-active {
  116. border-bottom-color: #5a5555;
  117. }
  118. textarea:not(:empty):not(:placeholder-shown):not(:focus)[aria-invalid='true'],input:not([value=""]):not(:placeholder-shown):not(:focus)[aria-invalid='true']{
  119. background-color: rgba(255, 0, 0, 0.5) /*rgba(218, 18, 81, O.5)*/}
  120. input[aria-required='true'], textarea[aria-required='true'] {
  121. border-color:#f00
  122. }
  123. .pagination {
  124. background: #eee;
  125. padding: 10px;
  126. width: 100%;
  127. text-align:center;
  128. margin:0;
  129. }
  130. .flex-list {
  131. display: flex;
  132. flex-direction: row;
  133. flex-wrap: wrap;
  134. justify-content: space-around;
  135. }
  136. .flex-col {
  137. display: flex;
  138. flex-direction: column;
  139. }
  140. .disabled-input-as-label {
  141. border: 0px;
  142. background: none;
  143. }
  144. label[for="recherche"]{
  145. width: 210px;
  146. }
  147. header .search{
  148. cursor: pointer;
  149. }
  150. h1 .sup{
  151. font-size: 0.7em;
  152. top: -.6em;
  153. }
  154. header nav{
  155. padding: 0 1em 0 1em;
  156. border-bottom: 1px solid;
  157. }
  158. #content {
  159. margin: 3em auto;
  160. width: 80%;
  161. }
  162. /* Home */
  163. .home-content {
  164. width: 100%;
  165. }
  166. .home-content .row {
  167. display: flex;
  168. flex-direction: row;
  169. flex-wrap: wrap;
  170. justify-content: center;
  171. }
  172. .home-content .card {
  173. height: 100%;
  174. width: 22em;
  175. min-width: 22em;
  176. border-radius: 1em;
  177. background-color: lighten(@color1, 30%);
  178. margin: 2em 2em;
  179. padding: 1em;
  180. }
  181. .home-content .card * {
  182. width: 90%;
  183. margin-left: 5%;
  184. }
  185. .home-content .card h3 {
  186. text-align: center;
  187. }
  188. .breadcrumb-arrow {
  189. float: left;
  190. padding: 0.7em 0.5em 0.7em 0.5em;
  191. }
  192. .annotation {
  193. color: #666666;
  194. font-size: 0.9em;
  195. }
  196. /* Pages d'index */
  197. #content header {
  198. display: flex;
  199. flex-direction: row;
  200. flex-flow: row wrap;
  201. color: @color2;
  202. margin-bottom: 2em;
  203. }
  204. #content header h2 {
  205. flex: 2;
  206. font-size: 1.8em;
  207. margin: 0;
  208. }
  209. #content header a {
  210. flex: 1;
  211. padding: 0 1em;
  212. }
  213. .datatable tbody>tr:hover{
  214. cursor: pointer;
  215. background-color: lighten(@color1, 30%);
  216. }
  217. .special_hidden {
  218. float: right;
  219. width: 0;
  220. height:0;
  221. border:none;
  222. background:none;
  223. color:white;
  224. }
  225. #yearpicker {
  226. color: #337ab7;
  227. border: 1px solid lightgrey;
  228. }
  229. #goback {
  230. color:#337ab7;
  231. font-size: 18px;
  232. }
  233. @media(max-width:768px){
  234. /* Mask on small screens */
  235. .mask-ss {
  236. display : none;
  237. }
  238. }
  239. /* Formulaires */
  240. .btn-bar {
  241. display: flex;
  242. flex-direction: row;
  243. justify-content: flex-end;
  244. }
  245. .btn-bar .btn {
  246. margin-left: 15px;
  247. }
  248. .table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  249. background-color: lighten(@color1,25%) !important;
  250. }