-
-
Save luisfc/2394c465850d5a0d5ccb1b007dcac89b to your computer and use it in GitHub Desktop.
ckedior5css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url(https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap); | |
| /* CKEditor 5 */ | |
| .ck-content { | |
| min-height: 270px; | |
| } | |
| .ck-content em, | |
| .ck-content li, | |
| .ck-content ol { | |
| font-family: Georgia; | |
| font-style: italic; | |
| } | |
| .ck-content blockquote { | |
| font-family: Georgia, sans-serif; | |
| font-style: italic; | |
| border-left: 1px solid rgba(33, 33, 33, .75); | |
| padding-left: 1rem; | |
| color: rgba(33, 33, 33, .75); | |
| } | |
| .ck-content p { | |
| font-size: 16px; | |
| line-height: normal; | |
| font-family: Raleway, sans-serif; | |
| margin-bottom: 16px; | |
| } | |
| /* | |
| Accordion tabs that have not been created using Javascript | |
| */ | |
| /* clearfix */ | |
| .ckeditor-accordion-container > dl:before, | |
| .ckeditor-accordion-container > dl:after { | |
| content: " "; /* 1 */ | |
| display: table; /* 2 */ | |
| } | |
| .ckeditor-accordion-container > dl:after { | |
| clear: both; | |
| } | |
| /* CKEditor accordion */ | |
| .ckeditor-accordion-container > dl, | |
| .ckeditor-accordion-container > dl dt, | |
| .ckeditor-accordion-container > dl dd { | |
| box-sizing: border-box; | |
| } | |
| .ckeditor-accordion-container > dl { | |
| position: relative; | |
| border: 1px solid transparent; | |
| margin: 0px; | |
| } | |
| /* label / tab */ | |
| .ckeditor-accordion-container > dl dt { | |
| position: relative; | |
| border-bottom: 2px solid; | |
| } | |
| .ckeditor-accordion-container > dl dt > .ckeditor-accordion-toggle { | |
| display: inline-block; | |
| position: absolute; | |
| padding: 0 10px; | |
| width: 30px; | |
| height: 30px; | |
| z-index: 1; | |
| top: calc(50% - 1px); | |
| left: 11px; | |
| box-sizing: border-box; | |
| } | |
| .ckeditor-accordion-container > dl dt > .ckeditor-accordion-toggle:before, | |
| .ckeditor-accordion-container > dl dt > .ckeditor-accordion-toggle:after { | |
| background: #fff; | |
| -webkit-transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1); | |
| transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1); | |
| content: " "; | |
| display: block; | |
| height: 2px; | |
| position: absolute; | |
| width: 10px; | |
| z-index: -1; | |
| left: 0; | |
| top: 0; | |
| -webkit-transform: rotate(0); | |
| transform: rotate(0); | |
| will-change: transform; | |
| } | |
| .ckeditor-accordion-container > dl dt > .ckeditor-accordion-toggle:before { | |
| background: transparent!important; | |
| -webkit-transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1); | |
| transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1); | |
| content: "\E145"; | |
| font-size: 33px; | |
| font-family: "Material Icons"; | |
| text-transform: none; | |
| vertical-align: middle; | |
| font-weight: 400; | |
| margin-right: 7px; | |
| display: block; | |
| height: 2px; | |
| position: absolute; | |
| width: 10px; | |
| z-index: -1; | |
| left: 0; | |
| top: 0; | |
| margin-top: -15px; | |
| -webkit-transform: rotate(0); | |
| transform: rotate(0); | |
| will-change: transform; | |
| } | |
| .ckeditor-accordion-container > dl dt > .ckeditor-accordion-toggle:after { | |
| background: #fff; | |
| -webkit-transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1); | |
| transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1); | |
| content: none !important; | |
| display: block; | |
| height: 2px; | |
| position: absolute; | |
| width: 10px; | |
| z-index: -1; | |
| left: 0; | |
| top: 0; | |
| -webkit-transform: rotate(0); | |
| transform: rotate(0); | |
| will-change: transform; | |
| } | |
| .ckeditor-accordion-container > dl dt > .ckeditor-accordion-toggle:before { | |
| left: 0px; | |
| -webkit-transform: rotate(0); | |
| transform: rotate(0); | |
| } | |
| .ckeditor-accordion-container > dl dt > .ckeditor-accordion-toggle:after { | |
| right: 0; | |
| left: none; | |
| -webkit-transform: rotate(0); | |
| transform: rotate(0); | |
| } | |
| .ckeditor-accordion-container > dl dt.active > .ckeditor-accordion-toggle:before { | |
| content: "\E15B" !important; | |
| font-size: 33px; | |
| font-family: "Material Icons"; | |
| text-transform: none; | |
| vertical-align: middle; | |
| font-weight: 400; | |
| margin-right: 7px; | |
| position: absolute; | |
| margin-top: -15px; | |
| right: 0px; | |
| transform: rotate(0) !important | |
| } | |
| .ckeditor-accordion-container > dl dt.active > .ckeditor-accordion-toggle:after { | |
| transform: rotate(0) !important; | |
| } | |
| .ckeditor-accordion-container > dl dt > a { | |
| display: block; | |
| padding: 10px 15px 10px 50px; | |
| background-color: transparent; | |
| color: unset; | |
| cursor: pointer; | |
| -webkit-transition: background-color 300ms; | |
| transition: background-color 300ms; | |
| border-bottom: transparent; | |
| position: relative; | |
| z-index: 3; | |
| } | |
| .ckeditor-accordion-container > dl dt > a:hover { | |
| background-color: transparent; | |
| } | |
| .ckeditor-accordion-container > dl dt.active > a { | |
| background-color: transparent; | |
| } | |
| .ckeditor-accordion-container > dl dt:last-of-type > a { | |
| border-bottom: 0; | |
| } | |
| /* contents */ | |
| .ckeditor-accordion-container > dl dd { | |
| display: none; | |
| will-change: height; | |
| max-width: 100%; | |
| } | |
| .ckeditor-accordion-container img { | |
| width: auto; | |
| height: auto; | |
| margin: 0 auto !important; | |
| } | |
| /* vista de becas */ | |
| .paragraph--type--adm-view-campus .form-item { | |
| float: right; | |
| margin-right: 64px; | |
| } | |
| h3.campus-title{ | |
| float: right; | |
| margin-right: 64px; | |
| text-align: right; | |
| width: 100%; | |
| position: inherit; | |
| } | |
| .paragraph--type--adm-view-campus .form-item label { | |
| display: none; | |
| } | |
| .ajax-progress-fullscreen { | |
| display: none; | |
| } | |
| /********************** estilos prymary tabs *****************************/ | |
| button.reset-appearance.tabs__tab.tabs__trigger { | |
| display: none; | |
| } | |
| ul.tabs.primary { | |
| padding: 0; | |
| margin: 0; | |
| } | |
| ul.tabs.primary li { | |
| float: left; | |
| } | |
| .col-md-6, .column-6 { | |
| width: 50%; | |
| } | |
| .column-6 > h3, | |
| .column-6 > p | |
| { | |
| padding-right: 16px; | |
| } | |
| #block-simple-local-tasks .contextual { | |
| display: none; | |
| } | |
| /* Templates ckeditor */ | |
| .column-6 + p, | |
| .column-4 + p, | |
| .column-3 + p, | |
| .column-2 + p { | |
| clear: left; | |
| } | |
| /* Adapted styles for CKEditor 5 */ | |
| .ck-content .column-4 { | |
| width: 28.333%; | |
| float: left; | |
| margin: 0 2%; | |
| background: aliceblue; | |
| } | |
| .ck-content .column-6 { | |
| float: left; | |
| width: 46%; | |
| margin: 2%; | |
| background: aliceblue; | |
| } | |
| /*.ck.ck-editor*/ | |
| .ck-content a { | |
| color: #0074bd; | |
| } | |
| /* END CKEditor 5 */ | |
| .cke_editable .column-4 { | |
| width: 28.333%; | |
| float: left; | |
| margin: 0 2%;; | |
| background: aliceblue; | |
| } | |
| .cke_editable .column-6 { | |
| float: left; | |
| width: 46%; | |
| margin: 2%; | |
| background: aliceblue; | |
| } | |
| .color-item-list { | |
| background: antiquewhite; | |
| margin-bottom: 2em; | |
| } | |
| .color-item { | |
| width: 10px; | |
| height: 48px; | |
| text-indent: 100%; | |
| color: transparent; | |
| float: left; | |
| line-height: 48px; | |
| overflow: hidden; | |
| margin-right: 10px; | |
| } | |
| /* | |
| * CKEditor para Nota Admisiones - Segundo Nivel | |
| */ | |
| .menu-prepa, .menu-carreras{ | |
| margin: 0px; | |
| padding: 40px 0px 40px 20px; | |
| position: absolute; | |
| width:100%; | |
| } | |
| .menu-prepa .columnas, .menu-carreras .columnas{ | |
| float:left; | |
| width:25%; | |
| } | |
| .menu-carreras { | |
| background: #212121; | |
| } | |
| .menu-carreras h3 { | |
| color: #fff; | |
| height: 40px; | |
| } | |
| .menu-carreras a, .menu-prepa a { | |
| color: #988585; | |
| font-size: 10px; | |
| font-style: normal; | |
| font-weight:bold; | |
| text-decoration: none; | |
| text-transform: uppercase; | |
| } | |
| .menu-prepa{ | |
| background: #fff; | |
| } | |
| .menu-prepa h3{ | |
| color: #212121; | |
| height:40px; | |
| } | |
| /******************************** *****/ | |
| .material-icons{ | |
| font-family: 'Material Icons'; | |
| font-weight: normal; | |
| font-style: normal; | |
| font-size: 12px; | |
| line-height: 1; | |
| letter-spacing: normal; | |
| text-transform: none; | |
| display: inline-block; | |
| white-space: nowrap; | |
| word-wrap: normal; | |
| direction: ltr; | |
| -webkit-font-feature-settings: 'liga'; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| $color_list: ( | |
| ('negro', #212121), | |
| ('blanco', #fafafa), | |
| ('azul-t', #0039a6), | |
| ('cafe', #bb5600), | |
| ('rojo-b', #d32f2f), | |
| ('rojo-l', #a30000), | |
| ('morado', #790e8b), | |
| ('indigo', #26418f), | |
| ('azul', #2962ff), | |
| ('azul-c', #0277bd), | |
| ('aqua', #00838f), | |
| ('verde', #2e7d32), | |
| ('rosa-m', #c51162), | |
| ); | |
| @mixin set_colors($prop: null, $root: null) { | |
| @each $color in $color_list { | |
| @if $root { | |
| --#{nth($color,1)}: #{nth($color,2)}; | |
| --#{nth($color,1)}-tr: #{nth($color,2)}bf; | |
| --#{nth($color,1)}-25: #{nth($color,2)}40; | |
| } | |
| @else { | |
| &-#{nth($color,1)} { | |
| #{$prop}: var(--#{nth($color,1)}); | |
| &-tr { | |
| #{$prop}: var(--#{nth($color,1)}-tr); | |
| } | |
| &-25 { | |
| #{$prop}: var(--#{nth($color,1)}-25); | |
| } | |
| } | |
| } | |
| } | |
| } | |
| :root { | |
| @include set_colors($root: true); | |
| --gris: rgba(33, 33, 33, 0.75); | |
| --gris-c: rgba(250, 250, 250, 0.75); | |
| } | |
| .bg { | |
| @include set_colors('background'); | |
| } | |
| .color { | |
| @include set_colors('color'); | |
| } | |
| $color-border: var(--gris); | |
| $color-link: var(--gris); | |
| $color-link--hover: var(--negro); | |
| $color-heading: var(--negro); | |
| body { | |
| background: var(--blanco); | |
| } | |
| .light { | |
| color: var(--negro); | |
| background: var(--blanco); | |
| border-color: var(--negro); | |
| a { | |
| color: var(--gris-c) !important; | |
| } | |
| } | |
| .dark { | |
| color: var(--blanco); | |
| background: var(--negro); | |
| border-color: var(--blanco); | |
| a { | |
| color: var(--gris-c) !important; | |
| } | |
| a:hover { | |
| color: var(--blanco) !important; | |
| } | |
| } | |
| [class*=dark] { | |
| $color-link: var(--gris); | |
| $color-link--hover: var(--negro); | |
| .light { | |
| color: var(--blanco); | |
| background: var(--negro); | |
| a { | |
| color: var(--gris-c) !important; | |
| } | |
| a:hover { | |
| color: var(--blanco) !important; | |
| } | |
| } | |
| .dataTable, | |
| .dataTables_filter, | |
| .dataTable tbody tr { | |
| background: transparent !important; | |
| color: var(--blanco) !important; | |
| border-color: var(--blanco) !important; | |
| } | |
| .dataTables_paginate .previous, | |
| .dataTables_wrapper .dataTables_paginate .paginate_button.current, | |
| .dataTables_wrapper .dataTables_paginate .paginate_button.disabled { | |
| color: var(--blanco) !important; | |
| } | |
| } | |
| [class*=light] .dark { | |
| a { | |
| color: var(--gris) !important; | |
| } | |
| a:hover { | |
| color: var(--negro) !important; | |
| } | |
| color: var(--negro); | |
| background: var(--blanco); | |
| } | |
| .divcoloronwysiwyg { | |
| width: 100%; | |
| padding: 16px!important; | |
| margin-bottom: 16px; | |
| color: var(--negro); | |
| } | |
| .ck-content { | |
| min-height: 270px; | |
| } | |
| .ck-content em, | |
| .ck-content li, | |
| .ck-content ol { | |
| font-family: Georgia; | |
| font-style: italic; | |
| } | |
| .ck-content blockquote { | |
| font-family: Georgia, sans-serif; | |
| font-style: italic; | |
| border-left: 1px solid rgba(33, 33, 33, .75); | |
| padding-left: 1rem; | |
| color: rgba(33, 33, 33, .75); | |
| } | |
| .ck-content p { | |
| font-size: 16px; | |
| line-height: normal; | |
| font-family: Raleway, sans-serif; | |
| margin-bottom: 16px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment