UNPKG

evol-colorpicker

Version:

jQuery UI widget for web color picking which looks like the one in Microsoft Office 2010.

184 lines (177 loc) 3.01 kB
/* evol-colorpicker 3.4.3 (c) 2024 Olivier Giulieri http://evoluteur.github.io/colorpicker/ */ html { margin: 0; scroll-behavior: smooth; } body { margin: 0; padding: 0; font-size: 11pt; font-family: "Century Gothic", arial; color: #555; font-weight: 300; background-image: url(bg0.png); background-repeat: repeat-y; } header { position: relative; padding: 20px 20px 20px 40px; color: white; background-color: #3366cc; > nav { position: absolute; bottom: 0; right: 10px; > a { display: inline-block; padding: 5px 10px; color: white; &:hover { color: orange; } } } } section { padding: 20px 10px 10px 40px; } pre { padding: 20px; background-color: #ebebeb; overflow-y: auto; font-size: 10pt; } h1 { margin: 0; } h1 > span { font-size: 0.7em; font-weight: 400; } h2 { margin-top: 40px; } a { text-decoration: none; color: #39c; font-weight: 400; } a:hover { color: navy; } nav { > a { display: inline-block; border-top-left-radius: 10px; border-top-right-radius: 10px; } } a.sel { color: #000 !important; text-decoration: none; background: white; } label { display: block; margin: 15px 0 4px; } header { position: sticky; top: 0; } #github { position: absolute; top: -8px; right: 0; } #github iframe { margin-top: 20px; } .screenshots { display: flex; gap: 20px; margin: 10px; flex-wrap: wrap; } .demoPanel { float: left; border: 2px solid #a7c8e2 !important; margin: 4px 3px; padding: 15px; width: 212px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } .demoPanel input { width: 100px; } .footer { text-align: center; font-size: smaller; color: Gray; } .clearer { display: block; height: 0; width: 0; clear: both; } .heart { color: var(--color-text-secondary); font-size: 20px; display: inline-block; text-align: center; transition: color 1s; color: #bf360c; -webkit-animation: beat 0.35s infinite alternate; -moz-animation: beat 0.35s infinite alternate; -ms-animation: beat 0.35s infinite alternate; -o-animation: beat 0.35s infinite alternate; animation: beat 0.35s infinite alternate; -webkit-transform-origin: center; -moz-transform-origin: center; -o-transform-origin: center; -ms-transform-origin: center; transform-origin: center; } .evo-footer { margin: 10px 0 20px; } @keyframes beat { to { -webkit-transform: scale(1.4); -moz-transform: scale(1.4); -o-transform: scale(1.4); -ms-transform: scale(1.4); transform: scale(1.4); } } @-moz-keyframes beat { to { -moz-transform: scale(1.4); transform: scale(1.4); } } @-webkit-keyframes beat { to { -webkit-transform: scale(1.4); transform: scale(1.4); } } @-ms-keyframes beat { to { -ms-transform: scale(1.4); transform: scale(1.4); } } @-o-keyframes beat { to { -o-transform: scale(1.4); transform: scale(1.4); } }