layout.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. /*body{*/
  2. /*padding-top: 50px;*/
  3. /*}*/
  4. /*@media (max-width: 978px) {*/
  5. /*body{*/
  6. /*padding-top: 0;*/
  7. /*}*/
  8. /*}*/
  9. div.border {
  10. border: 1px solid #DDDDDD;
  11. border-radius: 6px 6px 6px 6px;
  12. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
  13. }
  14. div.connection {
  15. position: absolute;
  16. left: 50%;
  17. top: 35%;
  18. width: 460px;
  19. margin: -130px 0 0 -250px;
  20. box-shadow: 2px 2px 10px #ccc;
  21. border: 1px solid #ddd;
  22. border-radius: 6px;
  23. }
  24. div.connection .control-group {
  25. padding: 0 20px 0 20px;
  26. }
  27. div.connection .alert {
  28. margin: 0 20px 20px 20px;
  29. }
  30. div.connection form {
  31. padding-top: 15px;
  32. margin-bottom: 0;
  33. }
  34. div.connection form .form-actions {
  35. margin-bottom: 0;
  36. }
  37. div.connection .form-actions {
  38. padding-left: 20px;
  39. }
  40. div.connection div input.big {
  41. height: 35px;
  42. font-size: 25px;
  43. }
  44. .sonata-bc.sonata-ba-no-side-menu div.container-fluid > div.content {
  45. margin-left: 0;
  46. }
  47. div.sonata-ba-field-inline-table input.title {
  48. width: 100px;
  49. }
  50. div.sonata-ba-field-inline-table textarea.title {
  51. width: 150px;
  52. height: 50px;
  53. }
  54. h4.filter_legend table {
  55. margin: 10px 0;
  56. }
  57. .table-striped tbody tr.sonata-ba-list-row-selected td, .table-striped tbody tr.sonata-ba-list-row-selected th {
  58. background-color: #E3F7FE;
  59. }
  60. table.sonata-ba-list td img {
  61. vertical-align: bottom
  62. }
  63. td.pager ul {
  64. float: left;
  65. list-style: none;
  66. margin: 2px;
  67. margin-left: auto;
  68. margin-right: auto;
  69. }
  70. td.pager ul li {
  71. float: left;
  72. }
  73. td.pager ul li a {
  74. border: 1px solid #cccccc;
  75. line-height: 25px;
  76. padding: 1px 8px 1px 8px;
  77. margin: 2px;
  78. }
  79. div.sonata-actions {
  80. /*margin-top: 18px;*/
  81. float: right
  82. }
  83. .sonata-ba-action.btn:not(:hover) {
  84. background: none;
  85. color: inherit;
  86. }
  87. .sonata-ba-list td.sonata-ba-list-field a.sonata-link-identifier {
  88. font-weight: bold;
  89. }
  90. td.sonata-ba-list-field.sonata-ba-list-field-boolean i {
  91. margin-right: 1ex;
  92. }
  93. td.sonata-ba-list-field.sonata-ba-list-field-boolean a:hover {
  94. text-decoration: none;
  95. }
  96. td.sonata-ba-list-field.sonata-ba-list-field-currency,
  97. td.sonata-ba-list-field.sonata-ba-list-field-percent,
  98. td.sonata-ba-list-field.sonata-ba-list-field-integer {
  99. text-align: right;
  100. }
  101. td.sonata-ba-list-field.sonata-ba-list-field-select {
  102. text-align: center;
  103. }
  104. div.sonata-ba-modal-edit-one-to-one td.sonata-ba-list-field-batch,
  105. div.sonata-ba-modal-edit-one-to-one div.sonata-ba-list-actions,
  106. div.sonata-ba-modal-edit-one-to-one th.sonata-ba-list-field-header-batch {
  107. display: none;
  108. }
  109. div.sonata-ba-modal-edit-one-to-one div.sonata-ba-list-actions {
  110. display: none;
  111. }
  112. th.sonata-ba-list-field-header-order-desc a,
  113. th.sonata-ba-list-field-header-order-asc a {
  114. position: relative;
  115. margin-right: 10px;
  116. }
  117. th.sonata-ba-list-field-header-order-asc a:hover:after,
  118. th.sonata-ba-list-field-header-order-asc.sonata-ba-list-field-order-active a:after,
  119. th.sonata-ba-list-field-header-order-desc.sonata-ba-list-field-order-active a:hover:after {
  120. content: "";
  121. display: block;
  122. border-top: 4px solid black;
  123. border-right: 4px solid transparent;
  124. border-left: 4px solid transparent;
  125. border-bottom: 4px solid transparent;
  126. position: absolute;
  127. top: 50%;
  128. right: -10px;
  129. margin-top: -1px;
  130. }
  131. th.sonata-ba-list-field-header-order-desc a:hover:after,
  132. th.sonata-ba-list-field-header-order-desc.sonata-ba-list-field-order-active a:after,
  133. th.sonata-ba-list-field-header-order-asc.sonata-ba-list-field-order-active a:hover:after {
  134. content: "";
  135. display: block;
  136. border-bottom: 4px solid black;
  137. border-right: 4px solid transparent;
  138. border-left: 4px solid transparent;
  139. border-top: 4px solid transparent;
  140. position: absolute;
  141. top: 50%;
  142. right: -10px;
  143. margin-top: -5px;
  144. }
  145. .sonata-ba-list-field-header-label-icon {
  146. margin-right: 2px;
  147. }
  148. em.sonata-ba-field-help {
  149. display: block;
  150. color: #999;
  151. margin-bottom: 10px;
  152. }
  153. fieldset legend {
  154. padding-left: 0;
  155. }
  156. select.sonata-medium, textarea.sonata-medium, input.sonata-medium {
  157. width: 400px;
  158. }
  159. textarea.sonata-medium {
  160. height: 125px;
  161. }
  162. input[type="file"] {
  163. height: 34px;
  164. }
  165. .sonata-ba-field-standard-natural .field-actions {
  166. display: block;
  167. margin-top: 5px;
  168. }
  169. .sonata-ba-field-inline-table select.sonata-medium,
  170. .sonata-ba-field-inline-table textarea.sonata-medium,
  171. .sonata-ba-field-inline-table input.sonata-medium {
  172. width: 150px;
  173. }
  174. .sonata-ba-view-title {
  175. font-size: 19px;
  176. line-height: 1;
  177. color: #404040;
  178. *padding: 0 0 5px 0;
  179. *line-height: 1.5;
  180. }
  181. .sonata-ba-view-title td, .sonata-ba-view-title th {
  182. border: 0;
  183. }
  184. .sonata-ba-view-container th {
  185. width: 130px;
  186. }
  187. .sonata-ba-view-container td, .sonata-ba-view-container th {
  188. border-bottom: 0;
  189. border-top: 1px solid #eee;
  190. }
  191. .sonata-ba-view-container:nth-child(2n) td, .sonata-ba-view-container:nth-child(2n) th {
  192. background-color: #f9f9f9;
  193. }
  194. .sonata-ba-view-container:nth-child(2n):hover td, .sonata-ba-view-container:nth-child(2n):hover th {
  195. background-color: #f5f5f5;
  196. }
  197. .sonata-ba-view-container.history-audit-compare th {
  198. width: 10%;
  199. }
  200. .sonata-ba-view-container.history-audit-compare td {
  201. width: 40%;
  202. }
  203. .sonata-ba-view-container.history-audit-compare th.diff {
  204. background: pink;
  205. }
  206. .container-fluid > .sidebar {
  207. top: auto;
  208. }
  209. .sonata-action-element.btn-group {
  210. display: inline-block;
  211. padding: 4px 10px 4px;
  212. vertical-align: middle;
  213. }
  214. .sonata-collection-add, .sonata-collection-delete {
  215. box-shadow: none;
  216. }
  217. .no-js .sonata-collection-add, .no-js .sonata-collection-delete {
  218. display: none;
  219. }
  220. ul.inputs-list {
  221. padding-left: 150px;
  222. }
  223. legend + .sonata-ba-collapsed-fields {
  224. margin-top: 18px;
  225. -webkit-margin-top-collapse: separate;
  226. }
  227. legend.sonata-ba-fieldset-collapsed-description + .sonata-ba-collapsed-fields {
  228. margin-top: 0;
  229. }
  230. .sonata-ba-collapsed-fields > p {
  231. margin-bottom: 18px;
  232. }
  233. .bordered-table tbody.ui-sortable tr {
  234. cursor: move;
  235. }
  236. .sonata-ba-fieldset-collapsed legend:before {
  237. content: '+ ';
  238. }
  239. .sonata-ba-collapsed-fields-close legend:before {
  240. content: '- ';
  241. padding-left: 5px;
  242. }
  243. .sonata-preview-form-container fieldset, .sonata-preview-form-container .tabbable {
  244. display: none;
  245. }
  246. .pagination {
  247. margin: 0;
  248. }
  249. .field-short-description {
  250. min-width: 250px;
  251. min-height: 18px;
  252. display: block;
  253. float: left;
  254. background: #fefefe;
  255. border: 1px solid #e9e9e9;
  256. border-radius: 4px 4px 4px 4px;
  257. list-style: none outside none;
  258. margin: 0 15px 0 0;
  259. padding: 4px 15px;
  260. }
  261. .inner-field-short-description {
  262. }
  263. .required:after {
  264. content: '*';
  265. }
  266. .form-horizontal .control-group {
  267. margin-bottom: 10px;
  268. }
  269. .noscript-warning {
  270. background-color: #C70A0A;
  271. color: #FFFFFF;
  272. font-size: 14px;
  273. font-weight: bold;
  274. padding: 4px 0;
  275. text-align: center;
  276. width: 100%;
  277. }
  278. body.fixed .content-header .navbar.stuck {
  279. position:fixed;
  280. top:50px;
  281. width: 100%;
  282. margin-left: -15px;
  283. z-index: 5;
  284. border-radius: 0;
  285. }
  286. .sonata-search-result-list > li {
  287. word-wrap: break-word;
  288. }
  289. .form-actions.stuck {
  290. position:fixed;
  291. bottom:0;
  292. width: 100%;
  293. margin-left: -15px;
  294. margin-bottom: 0;
  295. z-index: 5;
  296. border-radius: 0;
  297. }
  298. @media(max-width:768px) {
  299. body.fixed .main-header {
  300. position: relative;
  301. }
  302. body.fixed .content-wrapper,
  303. body.fixed .right-side {
  304. padding-top: 0;
  305. }
  306. body.fixed .content-header .navbar.stuck {
  307. top: 0;
  308. position: relative;
  309. margin: 0;
  310. width: 100%;
  311. }
  312. body.fixed .main-sidebar {
  313. position: absolute;
  314. }
  315. /* disable slimScroll */
  316. body.fixed .main-sidebar .slimScrollDiv,
  317. body.fixed .main-sidebar .sidebar {
  318. overflow: visible !important;
  319. height: auto !important;
  320. }
  321. .navbar-custom-menu > .navbar-nav > li >.dropdown-menu {
  322. width: auto !important;
  323. min-width: 230px; /* width of the left sidebar */
  324. }
  325. }