Commit aec7692d by Brian Talbot

studio html editor - revised header styles for editing/displaying HTML…

studio html editor - revised header styles for editing/displaying HTML components (including separating studio editing chrome from style rules)
parent 13945994
...@@ -21,6 +21,7 @@ h1 { ...@@ -21,6 +21,7 @@ h1 {
font-size: 2em; font-size: 2em;
line-height: 1.4em; line-height: 1.4em;
letter-spacing: 1px; letter-spacing: 1px;
margin: 0 0 1.416em 0;
} }
h2 { h2 {
...@@ -34,16 +35,32 @@ h2 { ...@@ -34,16 +35,32 @@ h2 {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
h3, h4, h5, h6 {
margin: 0 0 10px 0;
font-weight: 600;
}
h3 { h3 {
font-size: 1.2em; font-size: 1.2em;
font-weight: 600; }
h4 {
font-size: 1em;
}
h5 {
font-size: .83em;
}
h6 {
font-size: 0.75em;
} }
p { p {
margin-bottom: 1.416em; margin-bottom: 1.416em;
font-size: 1em; font-size: 1em;
line-height: 1.6em !important; line-height: 1.6em !important;
color: $baseFontColor; color: #3c3c3c;
} }
em, i { em, i {
...@@ -61,6 +78,7 @@ p + p, ul + p, ol + p { ...@@ -61,6 +78,7 @@ p + p, ul + p, ol + p {
ol, ul { ol, ul {
margin: 1em 0; margin: 1em 0;
padding: 0 0 0 1em; padding: 0 0 0 1em;
color: #3c3c3c;
} }
ol li, ul li { ol li, ul li {
...@@ -86,6 +104,7 @@ img { ...@@ -86,6 +104,7 @@ img {
code { code {
font-family: monospace, serif; font-family: monospace, serif;
background: none; background: none;
color: #3c3c3c;
} }
table { table {
......
...@@ -199,7 +199,7 @@ code { ...@@ -199,7 +199,7 @@ code {
padding: 20px; padding: 20px;
} }
h4 { .header {
padding: 6px 14px; padding: 6px 14px;
border-bottom: 1px solid $mediumGrey; border-bottom: 1px solid $mediumGrey;
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
<div class="sidebar"> <div class="sidebar">
<div class="unit-settings window"> <div class="unit-settings window">
<h4>Page Settings</h4> <h4 class="header">Page Settings</h4>
<div class="window-contents"> <div class="window-contents">
<div class="row visibility"> <div class="row visibility">
<label class="inline-label">Visibility:</label> <label class="inline-label">Visibility:</label>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<div class="sidebar"> <div class="sidebar">
<div class="unit-settings window id-holder" data-id="${subsection.location}"> <div class="unit-settings window id-holder" data-id="${subsection.location}">
<h4>Subsection Settings</h4> <h4 class="header">Subsection Settings</h4>
<div class="window-contents"> <div class="window-contents">
<div class="scheduled-date-input row"> <div class="scheduled-date-input row">
<label>Release date:<!-- <span class="description">Determines when this subsection and the units within it will be released publicly.</span>--></label> <label>Release date:<!-- <span class="description">Determines when this subsection and the units within it will be released publicly.</span>--></label>
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<div class="sidebar"> <div class="sidebar">
<div class="unit-settings window"> <div class="unit-settings window">
<h4>Unit Settings</h4> <h4 class="header">Unit Settings</h4>
<div class="window-contents"> <div class="window-contents">
<div class="row visibility"> <div class="row visibility">
<label class="inline-label">Visibility:</label> <label class="inline-label">Visibility:</label>
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</div> </div>
</div> </div>
<div class="window unit-location"> <div class="window unit-location">
<h4>Unit Location</h4> <h4 class="header">Unit Location</h4>
<div class="window-contents"> <div class="window-contents">
<div><input type="text" class="url" value="/courseware/${section.url_name}/${subsection.url_name}" disabled /></div> <div><input type="text" class="url" value="/courseware/${section.url_name}/${subsection.url_name}" disabled /></div>
<ol> <ol>
......
...@@ -7,6 +7,7 @@ h1 { ...@@ -7,6 +7,7 @@ h1 {
color: $baseFontColor; color: $baseFontColor;
font: normal 2em/1.4em $sans-serif; font: normal 2em/1.4em $sans-serif;
letter-spacing: 1px; letter-spacing: 1px;
margin: 0 0 1.416em 0;
} }
h2 { h2 {
...@@ -18,9 +19,25 @@ h2 { ...@@ -18,9 +19,25 @@ h2 {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
} }
h3, h4, h5, h6 {
margin: 0 0 10px 0;
font-weight: 600;
}
h3 { h3 {
font-size: 1.2em; font-size: 1.2em;
font-weight: 600; }
h4 {
font-size: 1em;
}
h5 {
font-size: .83em;
}
h6 {
font-size: 0.75em;
} }
p { p {
...@@ -75,3 +92,22 @@ code { ...@@ -75,3 +92,22 @@ code {
font-family: monospace, serif; font-family: monospace, serif;
background: none; background: none;
} }
table {
width: 100%;
border-collapse: collapse;
font-size: 16px;
}
th {
background: #eee;
font-weight: bold;
}
table td, th {
margin: 20px 0;
padding: 10px;
border: 1px solid #ccc !important;
text-align: left;
font-size: 14px;
}
\ No newline at end of file
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