Created
July 9, 2020 22:19
-
-
Save iceener/1a83895dde7d3d546a8248dc781c2065 to your computer and use it in GitHub Desktop.
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
| body { | |
| background: rgb(204, 204, 204); | |
| font-family: 'Droid Serif', sans-serif; | |
| margin: 0; | |
| } | |
| input[type='number']::-webkit-inner-spin-button, | |
| input[type='number']::-webkit-outer-spin-button { | |
| opacity: 1; | |
| } | |
| .details { | |
| max-width: 21cm; | |
| margin: 20px auto; | |
| position: relative; | |
| } | |
| button:hover { | |
| opacity: 0.8; | |
| } | |
| .medium-editor-toolbar { | |
| background: #662d91; | |
| z-index: 9000000; | |
| } | |
| .medium-editor-toolbar li button { | |
| border-right: 1px solid #b577e3; | |
| } | |
| .medium-editor-toolbar li button:hover, | |
| .medium-editor-toolbar li .medium-editor-button-active { | |
| background: #3f185f; | |
| } | |
| .medium-toolbar-arrow-under:after { | |
| border-color: #662d91 transparent transparent transparent; | |
| } | |
| .upload-label { | |
| position: relative; | |
| top: 7px; | |
| } | |
| .image-upload { | |
| padding: 5px 0; | |
| width: 220px; | |
| } | |
| .font-resizer, | |
| .color-changer { | |
| margin: 0; | |
| position: absolute; | |
| width: 60px; | |
| background: #662d91; | |
| border: none; | |
| padding: 6px; | |
| height: 50px; | |
| border-top: 1px solid #b577e3; | |
| color: #fff; | |
| text-align: center; | |
| } | |
| .font-resizer { | |
| z-index: 3; | |
| position: static; | |
| width: 69px; | |
| background: #a064ce; | |
| } | |
| .accept { | |
| color: #fff; | |
| padding: 14px 15px; | |
| background: #a064ce; | |
| border-right: 1px solid #222; | |
| margin-right: 15px; | |
| cursor: pointer; | |
| border-left: 1px solid #222; | |
| } | |
| .accept:hover { | |
| opacity: 0.8; | |
| } | |
| .g-font { | |
| min-width: 200px; | |
| } | |
| .g-font-list.form-control { | |
| line-height: 34px; | |
| height: 38px; | |
| max-height: 38px; | |
| margin-bottom: 0; | |
| } | |
| .actions { | |
| position: relative; | |
| padding-bottom: 30px; | |
| } | |
| .actions, | |
| .actions-row { | |
| display: flex; | |
| justify-content: flex-start; | |
| flex-wrap: wrap; | |
| width: 100vw; | |
| margin: 0 auto 20px; | |
| padding-top: 30px; | |
| max-width: 21cm; | |
| // margin-bottom: 100px; | |
| } | |
| .actions [data-prefix='fas'] { | |
| font-size: 18px; | |
| margin-top: 8px; | |
| margin-right: 15px; | |
| opacity: 0.5; | |
| width: 40px; | |
| } | |
| .actions-row { | |
| padding-top: 0; | |
| } | |
| .actions > * { | |
| margin: 0 5px 15px; | |
| } | |
| .actions-row > * { | |
| margin: 0 5px 0; | |
| } | |
| .page-wrapper { | |
| width: 21cm; | |
| height: 29.7cm; | |
| margin: 0 auto; | |
| box-shadow: 0 0 7px 3px rgba(0, 0, 0, 0.2); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .page-wrapper.horizontal { | |
| width: 29.7cm; | |
| height: 21cm; | |
| } | |
| .page { | |
| background: #ffffff; | |
| display: block; | |
| margin: 0 auto; | |
| margin-bottom: 0.5cm; | |
| // box-shadow: 0 0 0.5cm rgba(0,0,0,0.5); | |
| // position: relative; | |
| background-repeat: no-repeat; | |
| background-size: contain; | |
| } | |
| .page[size='A4'] { | |
| width: 21cm; | |
| height: 29.7cm; | |
| } | |
| .page[size='A4'].horizontal { | |
| width: 29.7cm; | |
| height: 21cm; | |
| } | |
| .trash { | |
| position: absolute; | |
| top: -90px; | |
| left: 0; | |
| right: 0; | |
| border: 1px dashed #222; | |
| height: 70px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| font-size: 24px; | |
| cursor: pointer; | |
| } | |
| .trash .fa-trash { | |
| opacity: 0.75; | |
| } | |
| .moveable { | |
| display: inline-block; | |
| position: absolute; | |
| padding: 15px; | |
| cursor: move; | |
| z-index: 3000; | |
| white-space: nowrap; | |
| } | |
| .remove-btn { | |
| position: absolute; | |
| top: 0; | |
| right: 9px; | |
| width: 10px; | |
| height: 10px; | |
| font-family: sans-serif; | |
| font-size: 16px; | |
| font-weight: bold; | |
| cursor: pointer; | |
| } | |
| .remove-btn:hover { | |
| opacity: 0.7; | |
| } | |
| .remove-btn:before { | |
| content: 'x'; | |
| background: rgba(0, 0, 0, 1); | |
| color: #fff; | |
| padding: 2px 5px; | |
| border-radius: 3px; | |
| } | |
| .moveable .span, | |
| .moveable span, | |
| .moveable b, | |
| .moveable i, | |
| .moveable u { | |
| cursor: text; | |
| } | |
| .font-sizes, | |
| .custom-colors { | |
| display: flex; | |
| position: absolute; | |
| left: 0; | |
| right: 0; | |
| background: #662d91; | |
| top: 61px; | |
| } | |
| .font-size, | |
| .custom-color { | |
| color: #fff; | |
| padding: 10px 6px; | |
| margin: 0 1px; | |
| line-height: 30px; | |
| cursor: pointer; | |
| } | |
| .color-changer { | |
| width: 85px; | |
| } | |
| .font-size:hover { | |
| background: #3f185f; | |
| } | |
| .custom-color:hover { | |
| transform: scale(1.1); | |
| } | |
| .svg-inline--fa { | |
| max-width: 20px; | |
| } | |
| .msg { | |
| text-align: center; | |
| margin-top: 10px; | |
| margin-bottom: -10px; | |
| color: #fff; | |
| margin: 0 auto; | |
| background: #5cb85c; | |
| padding: 5px 15px; | |
| position: absolute; | |
| bottom: 0; | |
| left: 55px; | |
| transition: 0.5s all ease-in-out; | |
| opacity: 0; | |
| } | |
| .msg.visible { | |
| opacity: 1; | |
| } | |
| .signature { | |
| height: 200px; | |
| width: 300px; | |
| position: absolute; | |
| display: inline-block; | |
| background-size: contain; | |
| background-repeat: no-repeat; | |
| z-index: 100; | |
| cursor: move; | |
| } | |
| .js-resizable { | |
| -moz-user-select: none; | |
| -o-user-select: none; | |
| -khtml-user-select: none; | |
| -webkit-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } | |
| .js-resizable-corner { | |
| position: absolute; | |
| right: 0px; | |
| bottom: 0px; | |
| width: 10px; | |
| height: 10px; | |
| background: #000; | |
| } | |
| input[type='file'] { | |
| display: block !important; | |
| right: 1px; | |
| top: 1px; | |
| height: 34px; | |
| opacity: 0; | |
| width: 100%; | |
| background: none; | |
| position: absolute; | |
| overflow: hidden; | |
| z-index: 2; | |
| } | |
| .control-fileupload { | |
| display: block; | |
| border: 1px solid #d6d7d6; | |
| background: #fff; | |
| border-radius: 4px; | |
| max-width: 300px; | |
| width: 300px; | |
| height: 36px; | |
| line-height: 36px; | |
| padding: 0px 10px 2px 10px; | |
| overflow: hidden; | |
| position: relative; | |
| &:before, | |
| input, | |
| label { | |
| cursor: pointer !important; | |
| } | |
| /* File upload button */ | |
| &:before { | |
| /* inherit from boostrap btn styles */ | |
| padding: 4px 12px; | |
| margin-bottom: 0; | |
| font-size: 14px; | |
| line-height: 20px; | |
| color: #333333; | |
| text-align: center; | |
| text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); | |
| vertical-align: middle; | |
| cursor: pointer; | |
| background-color: #f5f5f5; | |
| background-repeat: repeat-x; | |
| border: 1px solid #cccccc; | |
| border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); | |
| border-bottom-color: #b3b3b3; | |
| border-radius: 4px; | |
| transition: color 0.2s ease; | |
| /* add more custom styles*/ | |
| content: 'Przeglądaj'; | |
| display: block; | |
| position: absolute; | |
| z-index: 1; | |
| top: 2px; | |
| right: 2px; | |
| line-height: 20px; | |
| text-align: center; | |
| } | |
| &:hover, | |
| &:focus { | |
| &:before { | |
| color: #333333; | |
| background-color: #e6e6e6; | |
| color: #333333; | |
| text-decoration: none; | |
| background-position: 0 -15px; | |
| transition: background-position 0.2s ease-out; | |
| } | |
| } | |
| label { | |
| line-height: 24px; | |
| color: #999999; | |
| font-size: 14px; | |
| font-weight: normal; | |
| overflow: hidden; | |
| white-space: nowrap; | |
| text-overflow: ellipsis; | |
| position: relative; | |
| z-index: 1; | |
| margin-right: 90px; | |
| margin-bottom: 0px; | |
| cursor: text; | |
| line-height: 34px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment