cd67-custom.less 3.8 KB

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