cd67-custom.less 3.7 KB

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