Skip to content

Commit f9facf1

Browse files
author
Jean-Baptiste Doderlein
committed
Initial Commit
1 parent f4b1ff7 commit f9facf1

File tree

112 files changed

+14784
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+14784
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# BetterPython
22
WIP : A small but efficient, intuitive and responsive Python IDE right in your browser! Ships Micro Python, interpreter by your browser (so it works offline!), compiled with pyscript.
3+
4+
## TODO
5+
- Write a good README
6+
- Test on real programm (=debug)
7+
- Change icon and name from BetterOCaml
8+
- Change XtermJS look to better match BetterEditor design
9+
- Make script to build from the sources the libs in the repo
10+
- Update PWA settings
11+
- Make CI/CD to publish on github pages
12+
- Clean up JS to remove every useless functions

src/css/codemirror/codemirror.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/codemirror/dialog.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.CodeMirror-dialog {
2+
position: absolute;
3+
left: 0; right: 0;
4+
background: inherit;
5+
z-index: 15;
6+
padding: .1em .8em;
7+
overflow: hidden;
8+
color: inherit;
9+
}
10+
11+
.CodeMirror-dialog-top {
12+
border-bottom: 1px solid #eee;
13+
top: 0;
14+
}
15+
16+
.CodeMirror-dialog-bottom {
17+
border-top: 1px solid #eee;
18+
bottom: 0;
19+
}
20+
21+
.CodeMirror-dialog input {
22+
border: none;
23+
outline: none;
24+
background: transparent;
25+
width: 20em;
26+
color: inherit;
27+
font-family: monospace;
28+
}
29+
30+
.CodeMirror-dialog button {
31+
font-size: 70%;
32+
}

src/css/codemirror/show-hint.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.CodeMirror-hints {
2+
position: absolute;
3+
z-index: 10;
4+
overflow: hidden;
5+
list-style: none;
6+
7+
margin: 0;
8+
padding: 2px;
9+
10+
-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
11+
-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
12+
box-shadow: 2px 3px 5px rgba(0,0,0,.2);
13+
border-radius: 3px;
14+
border: 1px solid silver;
15+
16+
background: white;
17+
font-size: 90%;
18+
font-family: monospace;
19+
20+
max-height: 20em;
21+
overflow-y: auto;
22+
}
23+
24+
.CodeMirror-hint {
25+
margin: 0;
26+
padding: 0 4px;
27+
border-radius: 2px;
28+
white-space: pre;
29+
color: black;
30+
cursor: pointer;
31+
}
32+
33+
li.CodeMirror-hint-active {
34+
background: #08f;
35+
color: white;
36+
}

src/css/icon.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@font-face {
2+
font-family: 'Material Icons';
3+
font-style: normal;
4+
font-weight: 400;
5+
src: url(iconfont/MaterialIcons-Regular.eot); /* For IE6-8 */
6+
src: local('Material Icons'),
7+
local('MaterialIcons-Regular'),
8+
url(iconfont/MaterialIcons-Regular.woff2) format('woff2'),
9+
url(iconfont/MaterialIcons-Regular.woff) format('woff'),
10+
url(iconfont/MaterialIcons-Regular.ttf) format('truetype');
11+
}
12+
13+
.material-icons {
14+
font-family: 'Material Icons';
15+
font-weight: normal;
16+
font-style: normal;
17+
font-size: 24px; /* Preferred icon size */
18+
display: inline-block;
19+
line-height: 1;
20+
text-transform: none;
21+
letter-spacing: normal;
22+
word-wrap: normal;
23+
white-space: nowrap;
24+
direction: ltr;
25+
26+
/* Support for all WebKit browsers. */
27+
-webkit-font-smoothing: antialiased;
28+
/* Support for Safari and Chrome. */
29+
text-rendering: optimizeLegibility;
30+
31+
/* Support for Firefox. */
32+
-moz-osx-font-smoothing: grayscale;
33+
34+
/* Support for IE. */
35+
font-feature-settings: 'liga';
36+
}
91.6 KB
Binary file not shown.
225 KB
Binary file not shown.
103 KB
Binary file not shown.
80.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)