default.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. /* New Toaster custom css file for Bootstrap 3 */
  2. /* Set required top body padding for the fixed top navbard */
  3. body { padding-top: 50px; }
  4. /* Style the Yocto Project logo */
  5. img.logo { height: 30px; vertical-align: bottom; }
  6. /* Style the Yocto Project logo and the Toaster name in the top navbar */
  7. .toaster-navbar-brand { float: left; margin: 7px 25px 0 0; }
  8. .toaster-navbar-brand a.brand { color: #777; height: 50px; padding: 15px 5px 15px 15px; font-size: 20px; line-height: 25px; display: inline; }
  9. .toaster-navbar-brand > a { text-decoration: none; }
  10. .toaster-navbar-brand > a.brand:hover { color: #5e5e5e; }
  11. /* Style the debugging information in the top navbar */
  12. .glyphicon-info-sign { color: #777; font-size: 16px; }
  13. .glyphicon-info-sign:hover { color: #999; cursor: pointer; }
  14. /* Override the negative right margin for the navbar-right class */
  15. #new-project-button { margin-right: 0; }
  16. /* Increase popovers width to fit commit SHAs */
  17. .popover { max-width: 350px; }
  18. /* Increase bottom margin of definition lists inside popovers for the Toaster version information in the top navbar, and also inside the right hand columns of our details pages */
  19. .popover-content dd,
  20. .well dd { margin-bottom: 15px; }
  21. /* Style the horizonal definition lists */
  22. .dl-horizontal dt { width: 200px; line-height: 25px; }
  23. .dl-horizontal dd { margin-left: 220px; line-height: 25px; }
  24. /* Style our build results */
  25. .build-result .progress { margin-bottom: 0; }
  26. .alert-link.build-warnings,
  27. .glyphicon-warning-sign.build-warnings { color: #8a6d3b; }
  28. .build-result .project-name { margin-top: -10px; margin-bottom: 5px; }
  29. /* Styles for the help information */
  30. .get-help { color: #CCCCCC; }
  31. .get-help:hover { color: #999999; cursor: pointer; }
  32. .get-help-green { color: #3c763d; }
  33. .get-help-green:hover { color: #2b542c; cursor: pointer; }
  34. .get-help-blue { color: #3A87AD; }
  35. .get-help-blue:hover { color: #005580; cursor: pointer; }
  36. .get-help-red { color: #a94442; }
  37. .get-help-red:hover { color: #843534; cursor: pointer; }
  38. /* Styles for our table controls */
  39. .form-control[id^="search-input-"],
  40. .form-control[id^="new-search-input-"] { width: 30em; }
  41. #search-input-selectpackagestable,
  42. #search-input-packagestable,
  43. .form-control[id^="no-results-search-input-"]{ width: 20em; }
  44. #edit-columns-button { margin-right: 30px; }
  45. .navbar-default[id^="table-chrome-"] { background-color: transparent; }
  46. [id^="table-chrome-collapse-"] .navbar-form { margin-left: -15px; }
  47. .dropdown-menu.editcol { padding-left: 10px; min-width: 180px; }
  48. span[class^="remove-search-btn-"] { position: absolute; right: 5px; top: 0; bottom: 0; height: 14px; margin: auto; font-size: 14px; cursor: pointer; color: #777;}
  49. span[class^="remove-search-btn-"]:hover { color: #333; }
  50. #no-results-special-selectpackagestable .form-inline { margin-top: 20px; }
  51. [id^="pagination-"] .pagination,
  52. [id^="pagination-"] .navbar-form { margin-top: 0; }
  53. [id^="table-chrome-"] .navbar-form { margin-left: -15px; margin-right: -15px; }
  54. [id^="table-chrome-"] .detail-page-contols { padding-left: 0; padding-right: 0; }
  55. /* Override the default font-weight for labels: it's a bit too much */
  56. label { font-weight: normal; }
  57. /* Firefox workaround for awkward fieldset styling. See http://getbootstrap.com/css/#tables-responsive */
  58. @-moz-document url-prefix() { fieldset { display: table-cell; } }
  59. /* Table heading sortable / not sortable states */
  60. thead > tr > th > a { font-weight: normal; }
  61. thead > tr > th > a.sorted { font-weight: bold; color: #333; }
  62. /* Give some extra space to the 'clear filter' buttons */
  63. .tooltip .btn { margin: 5px; }
  64. /* In table headings, separate the help bubble from the column heading */
  65. thead > tr > th > .glyphicon-question-sign { margin-right: 5px; }
  66. /* Style build outcome in tables, download, remove and change icons */
  67. tbody > tr > td > .glyphicon-ok-circle,
  68. dd > .glyphicon-ok-circle { color: #3c763d; }
  69. tbody > tr > td > .glyphicon-minus-sign { color: #a94442; }
  70. .glyphicon-download-alt,
  71. .glyphicon-edit { color: #337ab7; }
  72. .failed_tasks .glyphicon-download-alt { margin-left: 5px; }
  73. .glyphicon-download-alt:hover,
  74. .glyphicon-edit:hover { color: #23527c; cursor: pointer; text-decoration: none; }
  75. .glyphicon-trash { color: #a94442; }
  76. .btn-danger > .glyphicon-trash,
  77. .btn-danger > .glyphicon-trash:hover { color: #fff; }
  78. .glyphicon-trash:hover { color: #843534; cursor: pointer; }
  79. /* Set the font size for icons inside headings, lead paragraphs and definition lists */
  80. h1 > .glyphicon-edit,
  81. p.lead .glyphicon { font-size: 16px; }
  82. h2 > .glyphicon-question-sign,
  83. h3 > .glyphicon-question-sign { font-size: 14px; }
  84. /* Create a class for wells without background colour */
  85. .well-transparent { background-color: transparent; }
  86. /* Create a class for the left navigation headers */
  87. .nav-header { display: block; font-size: 12px; font-weight: bold; line-height: 20px; color: #999; text-transform: uppercase; margin-top: 20px !important; margin-bottom: 15px; padding-left: 15px; }
  88. /* Increase the tabs padding and margin in the project pages to fit the build form and the main content */
  89. #project-topbar .nav-tabs > li > a { padding: 15px; }
  90. #project-topbar { margin-bottom: 20px; }
  91. /* Style the project name change form in the project pages */
  92. #project-name-change-input { width: 20em; }
  93. /* Style the build form in the project pages */
  94. #project-topbar .input-lg { width: 18em; }
  95. #project-topbar form .glyphicon { top: 15px; right: 4px; }
  96. #build-button { padding: 10px 30px; }
  97. /* Style the form links in the project page (all machines, all layers, etc) */
  98. .form-link { margin-top: 10px; }
  99. /* Style the most built recipes list in the project page */
  100. #freq-build-list .checkbox input[type="checkbox"] { position: relative; margin: 0 10px 0 0; vertical-align: middle; }
  101. #freq-build-list.lead > li { line-height: 25px; }
  102. #freq-build-list { margin-top: 20px; }
  103. #freq-build-list label { padding-left: 0; }
  104. #freq-build-btn { margin-top: 10px; }
  105. #no-most-built { margin-top: 20px; }
  106. /* Style the layers section in the project page and the layer dependencies in the import layer form */
  107. #layer-container .form-inline { margin-top: 20px; }
  108. #layer-add-input { width: 17em; }
  109. ul.lead { margin-top: 20px; }
  110. ul.lead > li { line-height: 38px; }
  111. ul.lead .glyphicon-trash,
  112. ul.lead .glyphicon-trash { font-size: 16px; margin-left: 7px; }
  113. #layers-in-project-list .tooltip-inner { max-width: 600px; }
  114. #no-layers-in-project { margin-top: 20px; }
  115. #no-layers-in-project ul { margin-top: 10px; }
  116. /* Style the layer information icons in the layer details pages */
  117. dd .glyphicon-trash,
  118. dd .glyphicon-edit { margin-left: 5px; }
  119. /* Style the forms and definition lists in the layer details pages */
  120. #change-repo-form .form-control { width: 17em; }
  121. #information dd > form { margin-bottom: 5px; margin-top: 5px; }
  122. /* Style the forms and definition lists in the BitBake variables page */
  123. .variable-list { margin-bottom: 20px; }
  124. dd.variable-list form { margin-top: 10px; }
  125. #new-dl_dir,
  126. #filter-image_fstypes,
  127. #new-image_install,
  128. #new-sstate_dir,
  129. #new-imagefs_types { width: 20em; }
  130. #package_classes-select { width: 10em; }
  131. .scrolling { border: 1px solid #dddddd; height: 154px; overflow: auto; padding: 0 10px; width: 27.5%; margin-bottom: 10px; margin-top: 10px; }
  132. .scrolling.has-error { border-color: #a94442; }
  133. .help-block.text-danger { color: #a94442; }
  134. .tooltip-inner code { color: #fff; }
  135. dd.variable-list .glyphicon-question-sign { font-size: 14px; }
  136. dd.variable-list .glyphicon-edit { font-size: 16px; }
  137. dt .glyphicon-trash { margin-left: 5px; font-size: 16px; }
  138. #change-package_classes-form .checkbox { margin-top: 5px; }
  139. #variable-form h5 { margin-top: 0; }
  140. #variable-form .col-md-5 { padding-left: 45px; }
  141. /* Create a class for additional top margin that we can use in headings */
  142. .top-air { margin-top: 40px; }
  143. /* Add some bottom margin to our h2's */
  144. h2 { margin-bottom: 25px; }
  145. /* Style the typeahead */
  146. .tt-menu { min-width: 400px; padding-bottom: 10px; }
  147. .tt-suggestion { padding: 5px 10px; }
  148. .tt-suggestion:hover,
  149. .tt-suggestion:active { background-color: #f5f5f5; cursor: pointer; }
  150. /* Style the import layer form controls*/
  151. legend { border: none; }
  152. #layer-name-ctrl { margin-top: 20px; }
  153. #import-layer-name,
  154. #layer-subdir { width: 20%; }
  155. #layer-git-repo-url { width: 40%; }
  156. #layer-git-ref { width: 32%; }
  157. #layer-dependency { width: 16em; }
  158. #form-actions { margin-bottom: 30px; }
  159. #duplicate-layer-info dl { margin-top: 10px; }
  160. #duplicate-layer-info dd { margin-bottom: 10px; }
  161. .help-inline { color: #737373; margin-left: 10px; }
  162. /* Give some padding to the in-cell tooltips we use for notifications in tables */
  163. td > .tooltip-inner,
  164. .inline-notification { padding: 10px; }
  165. /* Set sane widths for table columns */
  166. #newcustomimagestable .get_description_or_summary,
  167. #imagerecipestable .get_description_or_summary,
  168. #softwarerecipestable .get_description_or_summary,
  169. #layerstable .layer__summary { width: 30%; }
  170. #recipestable .get_description_or_summary { width: 40%; }
  171. #machinestable .name { white-space: nowrap; }
  172. #machinestable .description { width: 45%; }
  173. /* Override the rather ugly default code styles */
  174. code { color: #333; background-color: transparent; }
  175. /* Style our breadcrumbs */
  176. .breadcrumb > li + li::before { content: none; }
  177. .breadcrumb { background-color: transparent; padding-left: 0; padding-top: 15px; }
  178. .breadcrumb .divider { color: #777; margin: 0 5px; }
  179. /* Reduce top margin for the page-header class */
  180. .page-header { margin-top: 30px; }
  181. /* Set some space around the layer button in the layer details pages */
  182. .tab-content { margin-top: 20px; }
  183. .tab-pane { margin-top: 20px; }
  184. /* Style the new window icons */
  185. .glyphicon-new-window:hover { text-decoration: none; }
  186. .dl-horizontal > dd > .glyphicon-new-window { margin-left: 5px; }
  187. /* Style the special no results message in the custom image details page */
  188. [id^="no-results-special-"] > .alert-warning > ol { margin-top: 10px; }
  189. /* Style the content of modal dialogs */
  190. .modal-footer { text-align: left; }
  191. .date-filter-controls { margin-top: 10px; }
  192. .date-filter-controls span { margin: 0 10px; }
  193. /* Style the fixed positioned notifications */
  194. .loading-notification { position: fixed; z-index: 101; top: 3%; left: 40%; right: 40%; -webkit-box-shadow: 0 0 10px #c09853; -moz-box-shadow: 0 0 10px #c09853; box-shadow: 0 0 10px #c09853; }
  195. .change-notification { position: fixed; z-index: 1101; top: 4%; left: 30%; right: 30%; -webkit-box-shadow: 0 0 10px #3a87ad; -moz-box-shadow: 0 0 10px #3a87ad; box-shadow: 0 0 10px #3a87ad; }
  196. .alert-success.change-notification { -webkit-box-shadow: 0 0 10px #3c763d; -moz-box-shadow: 0 0 10px #3c763d; box-shadow: 0 0 10px #3c763d; }
  197. /* Style the new project form */
  198. #new-project-name { width: 33%; }
  199. #projectversion { width: 20%; margin-bottom: 10px; }
  200. /* Style the Toaster screenshot in the landing page */
  201. .img-thumbnail { padding: 0; }