cd67-custom.less 4.1 KB

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