Commit 473d8704 authored by Michael Murtaugh's avatar Michael Murtaugh
Browse files

pre remove commit

parent 0cd8ed70
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.cceditor {
width: 100%; height: 100%;
}
.CodeMirror {
position: absolute;
left: 0; right: 0;
width: 100%; height: 100%;
font-size: 12px;
}
.CodeMirror * { box-sizing: content-box }
.ccframe iframe {
border: none;
width: 100%;
height: 100%;
}
.ccframe video {
width: 100%;
height: 100%;
}
\ No newline at end of file
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
.content {
min-width: 50px;
min-height: 50px;
display: flex;
flex-direction: column;
/*padding: 8px;*/
border: 1px solid #C0C0C0;
border-top: none;
background: white;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.urlbar {
display: flex;
flex-direction: row;
}
.urlbar input.url {
flex-grow: 10;
}
.urlbar input.fragment {
flex-grow: 1;
}
.cc-frame {
position: relative;
}
.cc-frame video {
max-width: 100%;
}
.cc-frame iframe {
width: 100%;
height: 100%;
border: none;
}
.cc-frame .eyelid {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
background: #FF000000;
display: none;
}
.cc-frame .eyelid.visible {
display: block;
}
.cc-frame-contents {
height: 100%;
}
.CodeMirror {
height: 100%;
}
.content > div {
flex: 1 1 auto;
/*border: 1px solid #C0C0C0;*/
overflow: auto;
}
.content input {
margin: 8px;
}
.red > div {
background: #E74C3C;
}
.yellow > div {
background: #F1C40F;
}
.green > div {
background: #27AE60;
}
.blue > div {
background: #3498DB;
}
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2018, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
@import '~@lumino/default-theme/style/index.css';
@import './content.css';
body {
display: flex;
......@@ -22,23 +13,92 @@ body {
overflow: hidden;
}
#menuBar {
flex: 0 0 auto;
}
#main {
flex: 1 1 auto;
}
#palette {
min-width: 300px;
border-right: 1px solid #DDDDDD;
border-right: 1px solid #ddd;
}
#dock {
padding: 4px;
}
.content {
min-width: 50px;
min-height: 50px;
display: flex;
flex-direction: column;
/* padding: 8px; */
border: 1px solid #c0c0c0;
border-top: none;
background: white;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.urlbar {
display: flex;
flex-direction: row;
}
.urlbar input.url {
flex-grow: 10;
}
.urlbar input.fragment {
flex-grow: 1;
}
.cc-frame {
position: relative;
}
.cc-frame video {
max-width: 100%;
}
.cc-frame iframe {
width: 100%;
height: 100%;
border: none;
}
.cc-frame .eyelid {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #f008;
display: none;
}
.cc-frame .eyelid.visible {
display: block;
}
.cc-frame-contents {
height: 100%;
}
.CodeMirror {
height: 100%;
}
.content > div {
flex: 1 1 auto;
/* border: 1px solid #C0C0C0; */
overflow: auto;
}
.content input {
margin: 8px;
}
......@@ -115,7 +115,7 @@ def directory_as_html(filepath, directory, prefix, editor_url=None):
ul = "<ul>\n{}\n</ul>".format('\n'.join(index_list))
body = "<body>\n{}\n{}\n</body>".format(h1, ul)
head_str = "<head>\n<title>{}</title>\n<link rel=\"stylesheet\" href=\"/include/index.css\"></script>\n<script src=\"/include/index.js\"></script>\n</head>".format(index_of)
head_str = "<head>\n<title>{}</title>\n</head>".format(index_of)
html = "<html>\n{}\n{}\n</html>".format(head_str, body)
return html
......
......@@ -22,6 +22,8 @@
"scripts": {
"build": "webpack",
"lint": "node_modules/.bin/eslint front/ --ext .js",
"lint:css": "node_modules/.bin/stylelint 'front/{**/*,*}.css'",
"fix:css": "node_modules/.bin/stylelint 'front/{**/*,*}.css' --fix",
"fix": "node_modules/.bin/eslint --fix front/ --ext .js"
},
"devDependencies": {
......@@ -32,6 +34,8 @@
"file-loader": "^6.2.0",
"source-map-loader": "^2.0.0",
"style-loader": "^2.0.0",
"stylelint": "^13.10.0",
"stylelint-config-standard": "^20.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.20.1",
"webpack-cli": "^4.5.0"
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment