PageRenderTime 48ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/webapp/content/css/main.css

https://gitlab.com/atomfrede/jhipster-ci-example-gradle
CSS | 334 lines | 235 code | 46 blank | 53 comment | 0 complexity | b47252a012e423cd51fe8ff0cffed438 MD5 | raw file
  1. body {
  2. background: #fafafa;
  3. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  4. color: #333;
  5. }
  6. /* ==========================================================================
  7. Hide ng-cloak on page load, https://docs.angularjs.org/api/ng/directive/ngCloak
  8. ========================================================================== */
  9. [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  10. display: none !important;
  11. }
  12. /* ==========================================================================
  13. Developement Ribbon
  14. ========================================================================== */
  15. .ribbon {
  16. background-color: #a00;
  17. box-shadow: 0 0 10px #888;
  18. left: -3.5em;
  19. moz-box-shadow: 0 0 10px #888;
  20. moz-transform: rotate(-45deg);
  21. ms-transform: rotate(-45deg);
  22. o-transform: rotate(-45deg);
  23. overflow: hidden;
  24. position: absolute;
  25. top: 40px;
  26. transform: rotate(-45deg);
  27. webkit-box-shadow: 0 0 10px #888;
  28. webkit-transform: rotate(-45deg);
  29. white-space: nowrap;
  30. width: 15em;
  31. z-index: 9999;
  32. pointer-events: none;
  33. }
  34. .ribbon a {
  35. border: 1px solid #faa;
  36. color: #fff;
  37. display: block;
  38. font: bold 81.25% 'Helvetica Neue', Helvetica, Arial, sans-serif;
  39. margin: 1px 0;
  40. padding: 10px 50px;
  41. text-align: center;
  42. text-decoration: none;
  43. text-shadow: 0 0 5px #444;
  44. pointer-events: none;
  45. }
  46. /* ==========================================================================
  47. Version number in navbar
  48. ========================================================================== */
  49. .navbar-version {
  50. font-size: 10px;
  51. color: #ccc
  52. }
  53. /* ==========================================================================
  54. Browser Upgrade Prompt
  55. ========================================================================== */
  56. .browserupgrade {
  57. margin: 0.2em 0;
  58. background: #ccc;
  59. color: #000;
  60. padding: 0.2em 0;
  61. }
  62. /* ==========================================================================
  63. Logo styles
  64. ========================================================================== */
  65. .navbar-brand.logo {
  66. padding: 5px 15px;
  67. }
  68. .logo .logo-img {
  69. height: 45px;
  70. display: inline-block;
  71. }
  72. /* ==========================================================================
  73. Main page styles
  74. ========================================================================== */
  75. .hero-unit {
  76. margin: 50px auto 0 auto;
  77. width: 300px;
  78. font-size: 18px;
  79. font-weight: 200;
  80. line-height: 30px;
  81. background-color: #eee;
  82. border-radius: 6px;
  83. padding: 60px;
  84. }
  85. .hero-unit h1 {
  86. font-size: 60px;
  87. line-height: 1;
  88. letter-spacing: -1px;
  89. }
  90. .hipster {
  91. display: inline-block;
  92. width: 347px;
  93. height: 497px;
  94. background: url("../images/hipster.png") no-repeat center top;
  95. background-size: contain;
  96. }
  97. /* wait autoprefixer update to allow simple generation of high pixel density media query */
  98. @media
  99. only screen and (-webkit-min-device-pixel-ratio: 2),
  100. only screen and ( min--moz-device-pixel-ratio: 2),
  101. only screen and ( -o-min-device-pixel-ratio: 2/1),
  102. only screen and ( min-device-pixel-ratio: 2),
  103. only screen and ( min-resolution: 192dpi),
  104. only screen and ( min-resolution: 2dppx) {
  105. .hipster {
  106. background: url("../images/hipster2x.png") no-repeat center top;
  107. background-size: contain;
  108. }
  109. }
  110. /* ==========================================================================
  111. Generic styles
  112. ========================================================================== */
  113. .error {
  114. color: white;
  115. background-color: red;
  116. }
  117. .pad {
  118. padding: 10px;
  119. }
  120. .break {
  121. white-space: normal;
  122. word-break:break-all;
  123. }
  124. .voffset { margin-top: 2px; }
  125. .voffset1 { margin-top: 5px; }
  126. .voffset2 { margin-top: 10px; }
  127. .voffset3 { margin-top: 15px; }
  128. .voffset4 { margin-top: 30px; }
  129. .voffset5 { margin-top: 40px; }
  130. .voffset6 { margin-top: 60px; }
  131. .voffset7 { margin-top: 80px; }
  132. .voffset8 { margin-top: 100px; }
  133. .voffset9 { margin-top: 150px; }
  134. .readonly {
  135. background-color: #eee;
  136. opacity: 1;
  137. }
  138. /* ==========================================================================
  139. make sure browsers use the pointer cursor for anchors, even with no href
  140. ========================================================================== */
  141. a:hover {
  142. cursor: pointer;
  143. }
  144. .hand {
  145. cursor: pointer;
  146. }
  147. /* ==========================================================================
  148. Metrics and Health styles
  149. ========================================================================== */
  150. #threadDump .popover, #healthCheck .popover {
  151. top: inherit;
  152. display: block;
  153. font-size: 10px;
  154. max-width: 1024px;
  155. }
  156. #healthCheck .popover {
  157. margin-left: -50px;
  158. }
  159. .health-details {
  160. min-width: 400px;
  161. }
  162. /* ==========================================================================
  163. start Password strength bar style
  164. ========================================================================== */
  165. ul#strengthBar {
  166. display:inline;
  167. list-style:none;
  168. margin:0;
  169. margin-left:15px;
  170. padding:0;
  171. vertical-align:2px;
  172. }
  173. .point:last {
  174. margin:0 !important;
  175. }
  176. .point {
  177. background:#DDD;
  178. border-radius:2px;
  179. display:inline-block;
  180. height:5px;
  181. margin-right:1px;
  182. width:20px;
  183. }
  184. /* ==========================================================================
  185. Custom alerts for notification
  186. ========================================================================== */
  187. .alerts .alert{
  188. text-overflow: ellipsis;
  189. }
  190. .alert pre{
  191. background: none;
  192. border: none;
  193. font: inherit;
  194. color: inherit;
  195. padding: 0;
  196. margin: 0;
  197. }
  198. .alert .popover pre {
  199. font-size: 10px;
  200. }
  201. .alerts .toast {
  202. position: fixed;
  203. width: 100%;
  204. }
  205. .alerts .toast.left {
  206. left: 5px;
  207. }
  208. .alerts .toast.right {
  209. right: 5px;
  210. }
  211. .alerts .toast.top {
  212. top: 55px;
  213. }
  214. .alerts .toast.bottom {
  215. bottom: 55px;
  216. }
  217. @media screen and (min-width: 480px) {
  218. .alerts .toast {
  219. width: 50%;
  220. }
  221. }
  222. /* ==========================================================================
  223. entity tables helpers
  224. ========================================================================== */
  225. /* Remove Bootstrap padding from the element
  226. http://stackoverflow.com/questions/19562903/remove-padding-from-columns-in-bootstrap-3 */
  227. .no-padding-left { padding-left: 0 !important; }
  228. .no-padding-right { padding-right: 0 !important; }
  229. .no-padding-top { padding-top: 0 !important; }
  230. .no-padding-bottom { padding-bottom: 0 !important; }
  231. .no-padding { padding: 0 !important; }
  232. /* bootstrap 3 input-group 100% width
  233. http://stackoverflow.com/questions/23436430/bootstrap-3-input-group-100-width */
  234. .width-min { width: 1% !important; }
  235. /* Makes toolbar not wrap on smaller screens
  236. http://www.sketchingwithcss.com/samplechapter/cheatsheet.html#right */
  237. .flex-btn-group-container {
  238. display: -webkit-flex;
  239. display: flex;
  240. -webkit-flex-direction: row;
  241. flex-direction: row;
  242. -webkit-justify-content: flex-end;
  243. justify-content: flex-end;
  244. }
  245. .jh-table > tbody > tr > td {
  246. /* Align text in td verifically (top aligned by Bootstrap) */
  247. vertical-align: middle;
  248. }
  249. .jh-table > thead > tr > th > .glyphicon-sort, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt {
  250. /* less visible sorting icons */
  251. opacity: 0.5;
  252. }
  253. .jh-table > thead > tr > th > .glyphicon-sort:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes:hover, .jh-table > thead > tr > th > .glyphicon-sort-by-attributes-alt:hover {
  254. /* full visible sorting icons and pointer when mouse is over them */
  255. opacity: 1;
  256. cursor: pointer;
  257. }
  258. /* ==========================================================================
  259. entity detail page css
  260. ========================================================================== */
  261. .dl-horizontal.jh-entity-details > dd {
  262. margin-bottom: 15px;
  263. }
  264. @media screen and (min-width: 768px) {
  265. .dl-horizontal.jh-entity-details > dt {
  266. margin-bottom: 15px;
  267. }
  268. .dl-horizontal.jh-entity-details > dd {
  269. border-bottom: 1px solid #eee;
  270. padding-left: 180px;
  271. margin-left: 0;
  272. }
  273. }
  274. /* ==========================================================================
  275. ui bootstrap tweaks
  276. ========================================================================== */
  277. .nav, .pagination, .carousel, .panel-title a {
  278. cursor: pointer;
  279. }
  280. .datetime-picker-dropdown > li.date-picker-menu div > table .btn-default,
  281. .uib-datepicker-popup > li > div.uib-datepicker > table .btn-default {
  282. border: 0;
  283. }
  284. .datetime-picker-dropdown > li.date-picker-menu div > table:focus,
  285. .uib-datepicker-popup > li > div.uib-datepicker > table:focus {
  286. outline: none;
  287. }
  288. /* jhipster-needle-css-add-main JHipster will add new css style */