summaryrefslogtreecommitdiffstats
path: root/assets/css
diff options
context:
space:
mode:
authorTeddy Wing2013-11-09 15:48:40 -0500
committerTeddy Wing2013-11-09 15:48:40 -0500
commit26ddd8e6ca882d30e1545ab84fa8e8b505e0b79d (patch)
tree1854571b3cd782609464e3e3b1003875a483e8db /assets/css
parentcab4fc2e272a119ccd5ca07818c34b5dfb07790e (diff)
downloadclip-play-26ddd8e6ca882d30e1545ab84fa8e8b505e0b79d.tar.bz2
Set up progress bar and clip chooser
Initial setup for a progress bar and basic interface for choosing a sample clip. Includes a bar with two draggable lines to set a range within the bar.
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/application.css6
-rw-r--r--assets/css/reset.css1
-rw-r--r--assets/css/sample-editor.css30
3 files changed, 37 insertions, 0 deletions
diff --git a/assets/css/application.css b/assets/css/application.css
new file mode 100644
index 0000000..255ff68
--- /dev/null
+++ b/assets/css/application.css
@@ -0,0 +1,6 @@
+/* Application */
+/* General global styles */
+
+#samples {
+ margin: 3em 2em;
+} \ No newline at end of file
diff --git a/assets/css/reset.css b/assets/css/reset.css
new file mode 100644
index 0000000..bdcdb83
--- /dev/null
+++ b/assets/css/reset.css
@@ -0,0 +1 @@
+html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0} \ No newline at end of file
diff --git a/assets/css/sample-editor.css b/assets/css/sample-editor.css
new file mode 100644
index 0000000..b497b86
--- /dev/null
+++ b/assets/css/sample-editor.css
@@ -0,0 +1,30 @@
+/* Sample Editor */
+/* Progress bars and inputs to create & edit samples */
+
+.edit-sample > div {
+ display: inline-block;
+}
+
+.progress-bar {
+ border: 1px solid #777;
+ width: 50%;
+ height: 2em;
+ background-color: #ddd; /* change to something more pleasant later */
+}
+
+.clip-line {
+ display: inline-block;
+ position: relative;
+ width: 1px;
+ height: 2em;
+ background-color: #222;
+}
+
+.drag-handle {
+ width: 1em;
+ height: 1em;
+ position: relative;
+ top: 0.5em;
+ left: -0.5em;
+ background-color: yellow;
+} \ No newline at end of file