123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- /* Reset fonts to system */
- .title .halloeditor, .title input, .title textarea,
- .Draftail-Editor .DraftEditor-root {
- font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important;
- }
- /* Inputs and form fields */
- .title .halloeditor, .title input, .title textarea {
- font-size:2.5em;
- }
- .full .halloeditor, .full input, .full textarea {
- padding-top:1em;
- padding-bottom:1em;
- background-color:transparent;
- }
- .sequence-member input[type='text'],
- .sequence-member input[type='email'],
- .sequence-member input[type='url'],
- .sequence-member input[type='number'],
- .sequence-member input[type='date'],
- .sequence-member input[type='time'],
- .sequence-member input[type='datetime'],
- .sequence-member input[type='datetime-local'],
- .sequence-member textarea,
- .sequence-member select,
- .sequence-member .richtext,
- .sequence-member .tagit {
- background-color:white;
- border:1.5px solid #ddd;
- }
- .sequence-member input:focus,
- .sequence-member textarea:focus,
- .sequence-member select:focus,
- .sequence-member .richtext:focus,
- .sequence-member .tagit:focus {
- border-color:#00b0b1;
- background-color:#f2fcfc;
- }
- .input input,
- .input select {
- width: 300px;
- max-width: 100%;
- }
- .input input[type='radio'],
- .input input[type='checkbox'] {
- width: auto;
- }
- .input textarea,
- .full .input input {
- width:100%;
- }
- .input input[type='color']{
- height: 40px;
- padding: 5px;
- }
- /* Override and enhance the streamfield editor to support our deeply nested streamfields. */
- .chooser .unchosen::before, .chooser .chosen::before {
- color:rgba(0,0,0,0.2)
- }
- li.sequence-member {
- border:none;
- }
- li.sequence-member li.sequence-member {
- background-color:rgba(0,0,0,0.05);
- border:none;
- margin:0 0 20px 0;
- }
- li.sequence-member:hover {
- background-color:rgba(0,0,0,0.05);
- border:none;
- }
- li.sequence-member .sequence-member-inner,
- li.sequence-member .struct-block .sequence-container .sequence-member-inner {
- padding:1em;
- }
- @media screen and (max-width:49.99em) {
- li.sequence-member .struct-block .sequence-container {
- width:100%;
- }
- }
- .field.char_field.widget-draftail_rich_text_area .field-content,
- .field.char_field.widget-textarea .field-content {
- width:100%;
- max-width:100%;
- }
- .sequence-controls {
- border: none;
- background-color: transparent;
- top: unset;
- }
- .sequence-controls h3 label {
- font-weight: bold;
- }
- .tab-content {
- width: 100%;
- }
- .objects * {
- box-sizing: border-box;
- }
- .object > h2 {
- font-weight: 600;
- }
- .object .multiple {
- width:100%;
- max-width:100%;
- }
- .object fieldset {
- width:100%;
- max-width:100%;
- }
- .object > fieldset {
- padding-top:6em;
- }
- .object > fieldset fieldset {
- padding-top:0;
- }
- li.sequence-member .struct-block .fields {
- width:100%;
- max-width:100%;
- }
- .stream-menu.stream-menu-closed .toggle {
- color:#888;
- }
- .fields > li, .field-col {
- padding-bottom:0.5em;
- }
- .tagit, input, select, textarea {
- color:#000;
- }
- .tagit, input, select, textarea {
- font-weight:normal;
- }
- /* Draftail */
- .Draftail-Toolbar {
- background-color:transparent !important;
- border-radius:0 !important;
- color:rgba(0,0,0,0.2) !important;
- padding: 0 !important;
- transition: all ease .25s;
- }
- .Draftail-Toolbar:hover {
- color:rgba(0,0,0,0.7) !important;
- transition: all ease .25s;
- }
- .Draftail-Toolbar .Draftail-ToolbarButton--active {
- background-color:rgba(0,0,0,0.05) !important;
- border:none;
- transition: all ease .25s;
- }
- .Draftail-Toolbar:hover .Draftail-ToolbarButton--active {
- background-color:rgba(0,0,0,0.2) !important;
- transition: all ease .25s;
- }
- .Draftail-Toolbar .Draftail-ToolbarGroup + .Draftail-ToolbarGroup::before {
- content: none;
- }
- .Draftail-Toolbar .Draftail-ToolbarGroup + .Draftail-ToolbarGroup {
- margin-left: 1em;
- }
- li.sequence-member li > .field .Draftail-Editor,
- li.sequence-member li.sequence-member .Draftail-Editor {
- background-color: #fff !important;
- border-radius:5px;
- border:1.5px solid #ddd !important;
- padding: 0.5em 1em;
- }
- li.sequence-member li.sequence-member .Draftail-Editor {
- margin:-1em;
- }
- li.sequence-member li > .field .Draftail-Editor {
- margin: 0;
- }
- .Draftail-Editor .DraftEditor-root {
- color:#000 !important;
- }
- .Draftail-DividerBlock {
- background-color:#ccc !important;
- }
- /* custom */
- .codered-collapsible {
- padding:0;
- }
- .codered-collapsible fieldset {
- padding: 10px 0 0;
- }
- .codered-checkbox-group {
- margin-bottom: 1em;
- }
- .codered-checkbox-group ul {
- margin-top: 0.5em;
- }
- .codered-checkbox-group label {
- padding-bottom: 0.25em;
- }
- .codered-checkbox-group label input {
- margin-right: 0.25em;
- }
- .codered-callout {
- background-color: #f0f1f2;
- border-radius: 6px;
- display: inline-block;
- padding: 2em 3em;
- text-align: center;
- }
- .codered-callout .codered-big-icon {
- font-size: 10rem;
- color: rgba(0,0,0,0.1);
- }
- .codered-callout h3 {
- font-size: 1.2rem;
- font-weight: 600;
- }
- .codered-callout p {
- font-size: 1rem;
- }
- .codered-callout .codered-new {
- border-radius: 4px;
- background-color: rgba(0,0,0,0.1);
- font-size: 0.6em;
- padding: 0.3em 0.6em;
- text-transform: uppercase;
- }
|