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
// there are 2 patches, also see: https://github.com/codemirror/CodeMirror/issues/5594 | |
// line 8703 | |
function onCopyCut(e) { | |
if (signalDOMEvent(cm, e)) { return } | |
if (cm.somethingSelected()) { | |
setLastCopied({lineWise: false, text: cm.getSelections()}) | |
if (e.type == "cut") { cm.replaceSelection("", null, "cut") } | |
} else if (!cm.options.lineWiseCopyCut) { | |
return | |
} else { |
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
/** | |
* @summmary | |
* window.utils | |
* ------------ | |
* @desc | |
* A global object with utility functions. | |
* @var {Object} window.utils | |
*/ | |
window.utils = window.utils || {}; |
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
/** | |
* Login form | |
*/ | |
html, body { | |
height: 100%; | |
} | |
body { | |
background-color: #D9DEE2; | |
background-image: -moz-linear-gradient(center top , #EBEEF2, #D9DEE2); | |
font: 12px 'Lucida Sans Unicode','Trebuchet MS',Arial,Helvetica; |
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
/** | |
* Progress bar | |
*/ | |
.progress-bar { | |
background-color: #1a1a1a; | |
height: 25px; | |
padding: 5px; | |
width: 350px; | |
margin: 50px 0; | |
-moz-border-radius: 5px; |
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
#pricing-table { | |
margin: 50px auto; | |
text-align: center; | |
width: 892px; /* total computed width = 222 x 3 + 226 */ | |
} | |
#pricing-table .plan { |
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
/** | |
* Tucked corners | |
*/ | |
.tucked-corners-top { | |
position: relative; | |
width: 500px; min-height: 200px; | |
margin: 50px auto; padding: 20px; | |
background-color: #cccccc; /* Fallback */ | |
background: linear-gradient(45deg, transparent 10px, #cccccc 10px), | |
linear-gradient(135deg, transparent 10px, #cccccc 10px), |
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
/** | |
* Sticker shadow | |
*/ | |
body:before | |
{ | |
content: ""; | |
position: fixed; | |
top: -10px; | |
left: 0; | |
width: 100%; |