1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
body {
font-family: Avenir, Verdana, Helvetica, sans-serif;
color: #170e0b;
}
.display-block {
display: block;
}
.display-none {
display: none !important;
}
.margin-top-70 {
margin-top: 70px;
}
.padding-13 {
padding: 13px;
}
.position-relative {
position: relative;
}
.position-fixed {
position: fixed;
}
.top-0 {
top: 0;
}
.min-height-100\% {
min-height: 100%;
}
.header {
background-color: rgb(229, 226, 216);
width: 100%;
height: 30px;
padding: 20px;
.right-button {
position: absolute;
right: 40px;
top: -33px;
}
}
$sidebar-width: 250px;
.sidebar {
background-color: rgb(242, 239, 239);
width: $sidebar-width;
height: 100%;
border-right: 2px solid rgb(234, 224, 224);
overflow: auto;
.sidebar-link {
border-bottom: 1px solid rgb(213, 202, 202);
color: rgb(18, 113, 18);
text-decoration: none;
}
.sidebar-link:hover,
.active {
background: #249124; /* Old browsers */
background: -moz-linear-gradient(top, #249124 0%, #127112 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#249124), color-stop(100%,#127112)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #249124 0%,#127112 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #249124 0%,#127112 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #249124 0%,#127112 100%); /* IE10+ */
background: linear-gradient(to bottom, #249124 0%,#127112 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#249124', endColorstr='#127112',GradientType=0 ); /* IE6-9 */
color: #ddd;
}
.delete-link {
position: absolute;
display: block;
margin-left: 220px;
margin-top: -34px;
height: 24px;
width: 24px;
background-color: #E75F5F;
border-radius: 50%;
color: #FFFCFC;
font-size: 25px;
text-decoration: none;
span {
position: relative;
left: 3px;
}
&:hover {
background-color: #E54343;
}
&:active {
background-color: #D22121;
}
}
}
.note-editor {
margin-left: $sidebar-width;
padding: 12px 15px;
font: 18px/1.7 Georgia, Times, serif;
outline: none;
}
.button {
padding: 12px 15px;
background-color: rgb(18, 113, 18);
color: #ddd;
text-decoration: none;
border-radius: 6px;
}
.button:hover {
background-color: #178E17;
color: #eee;
}
.button:active {
color: #ddd;
-webkit-box-shadow:inset 0 2px 4px 0 #0D4F0D;
box-shadow:inset 0 2px 4px 0 #0D4F0D;
}
|