Unix line endings

This commit is contained in:
Jason Barnabe 2015-02-08 21:32:06 -06:00
parent ce0940c526
commit e9c34da152

214
edit.html
View File

@ -1,107 +1,107 @@
<html> <html>
<head> <head>
<script src="codemirror/lib/codemirror.js"></script> <script src="codemirror/lib/codemirror.js"></script>
<link rel="stylesheet" href="codemirror/lib/codemirror.css"> <link rel="stylesheet" href="codemirror/lib/codemirror.css">
<script src="codemirror/mode/css/css.js"></script> <script src="codemirror/mode/css/css.js"></script>
<style type="text/css"> <style type="text/css">
body { body {
margin: 0px; margin: 0px;
font: 12px arial,sans-serif; font: 12px arial,sans-serif;
} }
#header { #header {
height: 100%; height: 100%;
width: 250px; width: 250px;
position: fixed; position: fixed;
top: 0px; top: 0px;
padding: 15px; padding: 15px;
border-right: 1px dashed #AAA; border-right: 1px dashed #AAA;
} }
.notmac #header { .notmac #header {
-webkit-box-shadow: 0px 0px 50px -18px black; -webkit-box-shadow: 0px 0px 50px -18px black;
} }
#sections { #sections {
padding-left: 290px; padding-left: 290px;
} }
h2 { h2 {
margin-top: 8px; margin-top: 8px;
} }
#basic-info { #basic-info {
margin-bottom: 12px; margin-bottom: 12px;
} }
#name { #name {
width: 185px; width: 185px;
} }
#sections > div { #sections > div {
margin: 10px; margin: 10px;
padding: 0px 15px; padding: 0px 15px;
} }
#sections > div:not(:first-child) { #sections > div:not(:first-child) {
border-top: 2px solid black; border-top: 2px solid black;
} }
label { label {
display: inline-block; display: inline-block;
width: 10em; width: 10em;
vertical-align: top; vertical-align: top;
} }
#header label { #header label {
width: 60px; width: 60px;
} }
.code { .code {
height: 10em; height: 10em;
width: 40em; width: 40em;
} }
.CodeMirror { .CodeMirror {
border: solid #CCC 1px; border: solid #CCC 1px;
} }
.applies-to ul { .applies-to ul {
display: inline-block; display: inline-block;
margin: 0; margin: 0;
} }
.applies-to li { .applies-to li {
list-style-type: none; list-style-type: none;
} }
.applies-to li .add-applies-to { .applies-to li .add-applies-to {
display: none; display: none;
} }
.applies-to li:last-child .add-applies-to { .applies-to li:last-child .add-applies-to {
display: inline; display: inline;
} }
body > section > *:not(h2) { body > section > *:not(h2) {
padding-left: 15px; padding-left: 15px;
} }
#sections > div { #sections > div {
padding-top: 1em; padding-top: 1em;
padding-bottom: 1em; padding-bottom: 1em;
} }
#sections > div:only-of-type .remove-section { #sections > div:only-of-type .remove-section {
display: none; display: none;
} }
#sections > div .add-section { #sections > div .add-section {
display: none; display: none;
} }
#sections > div:last-of-type .add-section { #sections > div:last-of-type .add-section {
display: inline; display: inline;
} }
.applies-to img { .applies-to img {
vertical-align: bottom; vertical-align: bottom;
} }
</style> </style>
<script src="localization.js"></script> <script src="localization.js"></script>
</head> </head>
<body id="stylish-edit"> <body id="stylish-edit">
<div id="header"> <div id="header">
<h1 id="heading"></h1> <h1 id="heading"></h1>
<section id="basic-info"> <section id="basic-info">
<div><label for="name" id="name-label"></label><input id="name"><div> <div><label for="name" id="name-label"></label><input id="name"><div>
<div><label for="enabled" id="enabled-label"></label><input type="checkbox" id="enabled"></div> <div><label for="enabled" id="enabled-label"></label><input type="checkbox" id="enabled"></div>
</section> </section>
<button id="to-mozilla"></button><img id="to-mozilla-help" src="help.png"><br><br> <button id="to-mozilla"></button><img id="to-mozilla-help" src="help.png"><br><br>
<button id="save-button"></button> <button id="save-button"></button>
<a href="manage.html"><button id="cancel-button"></button></a> <a href="manage.html"><button id="cancel-button"></button></a>
</div> </div>
<section id="sections"> <section id="sections">
<h2><span id="sections-heading"></span> <img id="sections-help" src="help.png"></h2> <h2><span id="sections-heading"></span> <img id="sections-help" src="help.png"></h2>
</section> </section>
<script src="edit.js"></script> <script src="edit.js"></script>
</body> </body>
</html> </html>