Skip to content

Commit c55c729

Browse files
committed
Move console styles out of inbox
1 parent 463f79c commit c55c729

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

client/stylesheets/application.sass

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@
6565
// Inbox
6666
// -------------------------------------
6767
68-
// We use <code> blocks to indicate weight in the console
69-
.console-msg
70-
p
71-
line-height: 25px
72-
code
73-
background-color: #fff
74-
color: #333
75-
border-radius: 4px
76-
padding: 4px
77-
7868
// Animations are handled using Angulars ng-animate which adds and
7969
// removes classes during various phases. If this doesn't work we can
8070
// do something different, but ng-animate is pretty crazy flexible in the timing

client/stylesheets/structures/_console.sass

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// Console
44
// -> Terminal window
55
//
6+
// Dependencies: .CodeMirror .cm-*
7+
//
68
// -------------------------------------
79
// Template (Haml)
810
// -------------------------------------
@@ -27,19 +29,18 @@
2729
width: 100%
2830

2931
ul
30-
@extend .lr
32+
+list-reset
3133

3234
li
3335
color: $console-color
3436

35-
.CodeMirror,
36-
.cm-s-vibrant-ink.CodeMirror,
37+
.CodeMirror
3738
background: $console-background
3839
color: $console-color
3940

40-
div.CodeMirror-cursor
41+
.CodeMirror-cursor
4142
border-color: $console-color
42-
border-size: $console-cursor-size
43+
border-width: $console-cursor-size
4344

4445
// -------------------------------------
4546
// Modifiers
@@ -68,8 +69,17 @@
6869
6970
.console-msg
7071
color: $c-subdue
72+
line-height: 1.5
7173
margin-top: $b-space-s
7274

75+
code
76+
background-color: $console-color
77+
border-radius: $b-borderRadius
78+
color: $console-background
79+
display: inline-block
80+
padding-left: 0.5ch
81+
padding-right: 0.5ch
82+
7383
// Error
7484
7585
.console-msg--error

0 commit comments

Comments
 (0)