codered-admin.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. /* Font sizes and inputs */
  2. html, body {
  3. color: #000;
  4. background-color:#fff;
  5. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif !important;
  6. font-size:1rem;
  7. }
  8. .content-wrapper {
  9. background-color:unset;
  10. border:unset;
  11. }
  12. header {
  13. font-size:0.9rem;
  14. }
  15. .summary ul.stats span {
  16. font-family:inherit !important;
  17. font-weight:600 !important;
  18. }
  19. @media screen and (min-width:50em) {
  20. .summary ul.stats li::before {
  21. font-size:5em !important;
  22. }
  23. .summary ul.stats span {
  24. font-size:3.5em !important;
  25. }
  26. }
  27. code, pre,
  28. .monospace textarea {
  29. font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  30. font-size: 87%;
  31. }
  32. h1, h2, h3, h4, h5, h6,
  33. .button, .halloeditor, .tagit, input, select, textarea {
  34. font-family:inherit;
  35. }
  36. .button, .halloeditor, .tagit, input, select, textarea {
  37. font-size:1em;
  38. }
  39. body.ready input[type='checkbox'], body.ready input[type='radio'] {
  40. background-color:unset;
  41. border:none;
  42. }
  43. .halloeditor, .tagit, input, select, textarea {
  44. background-color:#eee;
  45. border:1.5px solid #ddd;
  46. padding-top:0.5em;
  47. padding-bottom:0.5em;
  48. font-weight:normal;
  49. }
  50. .halloeditor:hover, .tagit:hover, input:hover, select:hover, textarea:hover {
  51. background-color:#eee;
  52. border:1.5px solid #ddd;
  53. }
  54. input[type='checkbox'], input[type='radio'] {
  55. height:unset;
  56. }
  57. input[type='checkbox']::before, input[type='radio']::before {
  58. border:1.5px solid #ccc;
  59. position: relative;
  60. top:unset;
  61. }
  62. .date_field .input::after, .date_field .input::before, .date_time_field .input::after, .date_time_field .input::before, .iconfield .input::after, .iconfield .input::before, .time_field .input::after, .time_field .input::before, .url_field .input::after, .url_field .input::before {
  63. font-size:1.5em;
  64. top:0.35em;
  65. }
  66. .full input {
  67. background-color:white;
  68. }
  69. .full input:focus, .halloeditor:focus, .tagit:focus, input:focus, select:focus, textarea:focus,
  70. .tag_field.focused .tagit {
  71. border-color:#00b0b1;
  72. background-color:#f2fcfc;
  73. }
  74. .button,
  75. .search-bar .button-filter {
  76. height:2.25em;
  77. }
  78. a.button {
  79. line-height:2.2em;
  80. }
  81. .dropdown .button, .dropdown button, .dropdown input[type="button"], .dropdown input[type="reset"], .dropdown input[type="submit"] {
  82. height:2.5em;
  83. line-height:2.5em;
  84. }
  85. .dropdown .dropdown-toggle {
  86. line-height:2.5em;
  87. }
  88. .dropdown ul a {
  89. padding:0.5em 1em;
  90. }
  91. .c-dropdown__button, .c-dropdown__toggle {
  92. vertical-align: middle;
  93. }
  94. .choice_field .input select,
  95. .model_choice_field .input select,
  96. .typed_choice_field .input select {
  97. margin-right:-3em;
  98. }
  99. .choice_field .input select ~ span:after,
  100. .model_choice_field .input select ~ span:after,
  101. .typed_choice_field .input select ~ span:after {
  102. font-size:2em !important;
  103. right:unset;
  104. }
  105. .field-content {
  106. width:100%;
  107. }
  108. @media screen and (min-width:50em) {
  109. li.sequence-member .fields > li,
  110. ul.fields > li > .field {
  111. display: flex;
  112. flex-direction: row;
  113. flex-wrap: nowrap;
  114. align-items: flex-start;
  115. justify-content: flex-start;
  116. }
  117. label {
  118. display:block;
  119. float:none;
  120. margin: 0 auto;
  121. width:15em;
  122. min-width:15em;
  123. }
  124. .sequence-member label,
  125. .sequence-member .label {
  126. margin: 0;
  127. width:10em;
  128. min-width:10em;
  129. }
  130. .object.full .field-content {
  131. flex-grow: 1;
  132. margin: 0 auto;
  133. }
  134. li.sequence-member .struct-block .sequence-container {
  135. display:block;
  136. flex-grow: 1;
  137. margin: 0 auto;
  138. }
  139. li.codered-collapsible label+.field,
  140. ul.fields > li label+.field-content,
  141. ul.fields > li label+.field {
  142. display:block;
  143. flex-grow: 1;
  144. float:none;
  145. margin: 0 auto;
  146. }
  147. .input {
  148. width:100%;
  149. }
  150. .row-flush {
  151. margin: unset;
  152. }
  153. .breadcrumb {
  154. margin-left: -20px;
  155. margin-right: -20px;
  156. }
  157. }
  158. /* General layout */
  159. .content {
  160. padding-bottom:100px;
  161. background-color:unset;
  162. }
  163. .responsive-img {
  164. width: 100%;
  165. height: auto;
  166. margin-left: auto;
  167. margin-right: auto;
  168. }
  169. table.listing colgroup col {
  170. width:auto;
  171. }
  172. label {
  173. padding-top:0;
  174. color:inherit;
  175. font-weight:normal;
  176. }
  177. .post-page-meta {
  178. text-align: center;
  179. }
  180. .text-center {
  181. text-align: center;
  182. }
  183. .no-padding
  184. {
  185. padding: 0px;
  186. }
  187. .tab-nav a {
  188. font-size:0.9em;
  189. padding:0.5em 1.5em;
  190. max-height:1.5em;
  191. }
  192. .tab-nav li.settings a {
  193. padding:0.5em 1.5em;
  194. }
  195. .tab-nav li.seo a::before {
  196. -webkit-font-smoothing: antialiased;
  197. -moz-osx-font-smoothing: grayscale;
  198. font-family: "FontAwesome";
  199. vertical-align: middle;
  200. text-transform: none;
  201. content: "\f201";
  202. margin-right: .5em;
  203. font-size: 1.2em;
  204. font-weight: 400;
  205. }
  206. .logo {
  207. margin: 0 auto;
  208. padding: 15px;
  209. }
  210. .logo img {
  211. width:auto;
  212. height:auto;
  213. max-height:80px;
  214. max-width:100%;
  215. }
  216. .nav-search input {
  217. padding: 0.5em;
  218. }
  219. .nav-search button::before {
  220. line-height:2.5em
  221. }
  222. .nav-main a {
  223. padding: 0.6em 0.8em;
  224. }
  225. .nav-submenu .menu-item a {
  226. font-size:0.9em;
  227. padding: 0.6em 0 0.6em 2em;
  228. }
  229. .nav-submenu .menu-item a::before {
  230. margin-left:0;
  231. }
  232. .nav-main-solo {
  233. top: 43px;
  234. bottom: 0;
  235. overflow: auto;
  236. width: 100%;
  237. list-style: none;
  238. background-color: #222;
  239. }
  240. .nav-main-solo a {
  241. text-decoration: none;
  242. display: block;
  243. color: #aaa;
  244. padding: 0.39em;
  245. font-size: 0.85em;
  246. font-weight: 300;
  247. }
  248. .nav-main-solo a:hover, .nav-main-solo a:focus,
  249. .nav-main .account:hover, .nav-main .account:focus {
  250. outline: none;
  251. background-color: #0a0a0a;
  252. color: #fff;
  253. }
  254. .nav-main .footer {
  255. font-size:0.9em;
  256. }
  257. .submenu-active * {
  258. box-sizing: border-box;
  259. }
  260. .nav-submenu .footer {
  261. color:#666;
  262. position:relative;
  263. width:100%;
  264. }
  265. @media screen and (min-width:50em) {
  266. li.submenu-active .nav-submenu {
  267. width: 220px;
  268. }
  269. li.submenu-active .nav-submenu a {
  270. padding-left:1em;
  271. width:100%;
  272. }
  273. .nav-submenu {
  274. display:none;
  275. }
  276. .nav-submenu h2, .nav-submenu ul {
  277. width:100%;
  278. }
  279. .nav-main .account em {
  280. margin-top:1em;
  281. font-size:0.9em;
  282. }
  283. .submenu-active .nav-submenu {
  284. display:block;
  285. }
  286. }
  287. .c-explorer__item__link {
  288. padding: 1em;
  289. }
  290. .nice-padding {
  291. padding-left:20px;
  292. padding-right:20px;
  293. }
  294. /* Custom */
  295. .button-advanced-settings {
  296. display:block;
  297. background-color:#aaa;
  298. font-size:0.8em;
  299. font-weight:600;
  300. }
  301. .button-advanced-settings:hover {
  302. background-color:#999;
  303. }
  304. .power-by {
  305. background-color:#1a1a1a;
  306. border-top:1px solid #333;
  307. font-size:12px;
  308. text-align: center;
  309. }
  310. .power-by a {
  311. color:#fff;
  312. padding: 5px;
  313. }
  314. .power-by a:hover {
  315. background-color:#f00;
  316. }
  317. .power-by img {
  318. width:85px;
  319. height:auto;
  320. padding-left:2px;
  321. }