Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2387)

Unified Diff: experimental/webtry/res/webtry/sass/webtry.scss

Issue 656463002: add support for skfiddle width/height options (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add new db creation commands to the design documnt Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/webtry/res/webtry/sass/webtry.scss
diff --git a/experimental/webtry/res/webtry/sass/webtry.scss b/experimental/webtry/res/webtry/sass/webtry.scss
index 126300f9177fafe6c39f5c12bf0d9be18b61a8db..d7211b19875ea5b21986f5d21dd9839b6009b4ec 100644
--- a/experimental/webtry/res/webtry/sass/webtry.scss
+++ b/experimental/webtry/res/webtry/sass/webtry.scss
@@ -2,6 +2,60 @@
@import "bootstrap-variables";
@import "bootstrap";
+$sidebar-width: 200px;
+$content-background: white;
+$sidebar-background: #eee;
+
+html, body {
+ min-height: 100%;
+}
+
+#wrapper {
+ padding-top: 50px;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+}
+
+#lower-wrapper {
+ min-height: 100%;
+ position: relative;
+}
+
+#content {
+ height: 100%;
+ padding: 1em;
+
+ margin-left: $sidebar-width;
+ background: $content-background;
+}
+
+#sidebar {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ width: $sidebar-width;
+ background: $sidebar-background;
+ height: 100%;
+
+ padding: 5px;
+
+ .panel-heading {
+ padding: 3px 5px;
+
+ .panel-title {
+ font-size: 12px;
+ font-weight: 200;
+ }
+ }
+}
+
+.navbar {
+ margin-top: -50px;
+}
+
img {
box-shadow: 2px 2px 5px gray;
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAAXNSR0IArs4c6QAAAAJiS0dEAP+Hj8y/AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAB3RJTUUH3gUBEi4DGRAQYgAAAB1JREFUGNNjfMoAAVJQmokBDdBHgPE/lPFsYN0BABdaAwN6tehMAAAAAElFTkSuQmCC");
@@ -40,10 +94,6 @@ code {
float: left;
}
-#content {
- padding: 1em;
-}
-
#tryHistory {
position: absolute;
top: 3em;
@@ -111,6 +161,10 @@ code {
/* Twitter Bootstrap customization */
+.navbar {
+ border: none;
+}
+
.navbar-brand {
padding: 0;
« no previous file with comments | « experimental/webtry/res/webtry/sass/_bootstrap-variables.scss ('k') | experimental/webtry/scripts/fiddle_run » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698