codered-admin.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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:1px solid #eee;
  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:1px solid #eee;
  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. border-color:#00b0b1;
  71. background-color:#f2fcfc;
  72. }
  73. .button,
  74. .search-bar .button-filter {
  75. height:2.25em;
  76. }
  77. a.button {
  78. line-height:2.2em;
  79. }
  80. .dropdown .button, .dropdown button, .dropdown input[type="button"], .dropdown input[type="reset"], .dropdown input[type="submit"] {
  81. height:2.5em;
  82. line-height:2.5em;
  83. }
  84. .dropdown .dropdown-toggle {
  85. line-height:2.5em;
  86. }
  87. .dropdown ul a {
  88. padding:0.5em 1em;
  89. }
  90. .c-dropdown__button, .c-dropdown__toggle {
  91. vertical-align: middle;
  92. }
  93. .choice_field .input select,
  94. .model_choice_field .input select,
  95. .typed_choice_field .input select {
  96. margin-right:-3em;
  97. }
  98. .choice_field .input select ~ span:after,
  99. .model_choice_field .input select ~ span:after,
  100. .typed_choice_field .input select ~ span:after {
  101. font-size:2em !important;
  102. right:unset;
  103. }
  104. .field-content {
  105. width:100%;
  106. }
  107. @media screen and (min-width:50em) {
  108. li.sequence-member .fields > li,
  109. ul.fields > li > .field {
  110. display: flex;
  111. flex-direction: row;
  112. flex-wrap: nowrap;
  113. align-items: flex-start;
  114. justify-content: flex-start;
  115. }
  116. label {
  117. display:block;
  118. float:none;
  119. margin: 0 auto;
  120. width:15em;
  121. min-width:15em;
  122. }
  123. .sequence-member label,
  124. .sequence-member .label {
  125. margin: 0;
  126. width:10em;
  127. min-width:10em;
  128. }
  129. .object.full .field-content {
  130. flex-grow: 1;
  131. margin: 0 auto;
  132. }
  133. li.sequence-member .struct-block .sequence-container {
  134. display:block;
  135. flex-grow: 1;
  136. margin: 0 auto;
  137. }
  138. li.codered-collapsible label+.field,
  139. ul.fields > li label+.field-content,
  140. ul.fields > li label+.field {
  141. display:block;
  142. flex-grow: 1;
  143. float:none;
  144. margin: 0 auto;
  145. }
  146. .input {
  147. width:100%;
  148. }
  149. .row-flush {
  150. margin: unset;
  151. }
  152. .breadcrumb {
  153. margin-left: -20px;
  154. margin-right: -20px;
  155. }
  156. }
  157. /* General layout */
  158. .content {
  159. padding-bottom:100px;
  160. background-color:unset;
  161. }
  162. .responsive-img {
  163. width: 100%;
  164. height: auto;
  165. margin-left: auto;
  166. margin-right: auto;
  167. }
  168. table.listing colgroup col {
  169. width:auto;
  170. }
  171. label {
  172. padding-top:0;
  173. color:inherit;
  174. font-weight:normal;
  175. }
  176. .post-page-meta {
  177. text-align: center;
  178. }
  179. .text-center {
  180. text-align: center;
  181. }
  182. .no-padding
  183. {
  184. padding: 0px;
  185. }
  186. .tab-nav a {
  187. font-size:0.9em;
  188. padding:0.5em 1.5em;
  189. max-height:1.5em;
  190. }
  191. .tab-nav li.settings a {
  192. padding:0.5em 1.5em;
  193. }
  194. .tab-nav li.seo a::before {
  195. -webkit-font-smoothing: antialiased;
  196. -moz-osx-font-smoothing: grayscale;
  197. font-family: "FontAwesome";
  198. vertical-align: middle;
  199. text-transform: none;
  200. content: "\f201";
  201. margin-right: .5em;
  202. font-size: 1.2em;
  203. font-weight: 400;
  204. }
  205. .logo {
  206. margin: 0 auto;
  207. padding: 15px;
  208. }
  209. .logo img {
  210. width:auto;
  211. height:auto;
  212. max-height:80px;
  213. max-width:100%;
  214. }
  215. .nav-search input {
  216. padding: 0.5em;
  217. }
  218. .nav-search button::before {
  219. line-height:2.5em
  220. }
  221. .nav-main a {
  222. padding: 0.6em 0.8em;
  223. }
  224. .nav-submenu .menu-item a {
  225. font-size:0.9em;
  226. padding: 0.6em 0 0.6em 2em;
  227. }
  228. .nav-submenu .menu-item a::before {
  229. margin-left:0;
  230. }
  231. .nav-main-solo {
  232. top: 43px;
  233. bottom: 0;
  234. overflow: auto;
  235. width: 100%;
  236. list-style: none;
  237. background-color: #222;
  238. }
  239. .nav-main-solo a {
  240. text-decoration: none;
  241. display: block;
  242. color: #aaa;
  243. padding: 0.39em;
  244. font-size: 0.85em;
  245. font-weight: 300;
  246. }
  247. .nav-main-solo a:hover, .nav-main-solo a:focus,
  248. .nav-main .account:hover, .nav-main .account:focus {
  249. outline: none;
  250. background-color: #0a0a0a;
  251. color: #fff;
  252. }
  253. .nav-main .footer {
  254. font-size:0.9em;
  255. }
  256. .submenu-active * {
  257. box-sizing: border-box;
  258. }
  259. .nav-submenu .footer {
  260. color:#666;
  261. position:relative;
  262. width:100%;
  263. }
  264. @media screen and (min-width:50em) {
  265. li.submenu-active .nav-submenu {
  266. width: 220px;
  267. }
  268. li.submenu-active .nav-submenu a {
  269. padding-left:1em;
  270. width:100%;
  271. }
  272. .nav-submenu {
  273. display:none;
  274. }
  275. .nav-submenu h2, .nav-submenu ul {
  276. width:100%;
  277. }
  278. .nav-main .account em {
  279. margin-top:1em;
  280. font-size:0.9em;
  281. }
  282. .submenu-active .nav-submenu {
  283. display:block;
  284. }
  285. }
  286. .c-explorer__item__link {
  287. padding: 1em;
  288. }
  289. .nice-padding {
  290. padding-left:20px;
  291. padding-right:20px;
  292. }
  293. /* Custom */
  294. .button-advanced-settings {
  295. display:block;
  296. background-color:#aaa;
  297. font-size:0.8em;
  298. font-weight:600;
  299. }
  300. .button-advanced-settings:hover {
  301. background-color:#999;
  302. }
  303. .power-by {
  304. background-color:#1a1a1a;
  305. border-top:1px solid #333;
  306. font-size:12px;
  307. text-align: center;
  308. }
  309. .power-by a {
  310. color:#fff;
  311. padding: 5px;
  312. }
  313. .power-by a:hover {
  314. background-color:#f00;
  315. }
  316. .power-by img {
  317. width:85px;
  318. height:auto;
  319. padding-left:2px;
  320. }