lte-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +37 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +94 -0
- data/LICENSE +22 -0
- data/README.md +4 -0
- data/Rakefile +52 -0
- data/lib/lte/rails/engine.rb +13 -0
- data/lib/lte/rails/version.rb +7 -0
- data/lib/lte/rails.rb +7 -0
- data/lib/lte-rails.rb +1 -0
- data/lte-rails.gemspec +40 -0
- data/vendor/assets/stylesheets/AdminLTE/.csslintrc +23 -0
- data/vendor/assets/stylesheets/AdminLTE/404_500_errors.less +36 -0
- data/vendor/assets/stylesheets/AdminLTE/AdminLTE.less +68 -0
- data/vendor/assets/stylesheets/AdminLTE/alerts.less +44 -0
- data/vendor/assets/stylesheets/AdminLTE/bootstrap-social.less +114 -0
- data/vendor/assets/stylesheets/AdminLTE/boxes.less +483 -0
- data/vendor/assets/stylesheets/AdminLTE/buttons.less +159 -0
- data/vendor/assets/stylesheets/AdminLTE/callout.less +48 -0
- data/vendor/assets/stylesheets/AdminLTE/carousel.less +18 -0
- data/vendor/assets/stylesheets/AdminLTE/control-sidebar.less +280 -0
- data/vendor/assets/stylesheets/AdminLTE/core.less +171 -0
- data/vendor/assets/stylesheets/AdminLTE/direct-chat.less +172 -0
- data/vendor/assets/stylesheets/AdminLTE/dropdown.less +347 -0
- data/vendor/assets/stylesheets/AdminLTE/forms.less +94 -0
- data/vendor/assets/stylesheets/AdminLTE/fullcalendar.less +88 -0
- data/vendor/assets/stylesheets/AdminLTE/header.less +244 -0
- data/vendor/assets/stylesheets/AdminLTE/info-box.less +69 -0
- data/vendor/assets/stylesheets/AdminLTE/invoice.less +16 -0
- data/vendor/assets/stylesheets/AdminLTE/labels.less +23 -0
- data/vendor/assets/stylesheets/AdminLTE/lockscreen.less +68 -0
- data/vendor/assets/stylesheets/AdminLTE/login_and_register.less +50 -0
- data/vendor/assets/stylesheets/AdminLTE/mailbox.less +77 -0
- data/vendor/assets/stylesheets/AdminLTE/miscellaneous.less +529 -0
- data/vendor/assets/stylesheets/AdminLTE/mixins.less +302 -0
- data/vendor/assets/stylesheets/AdminLTE/modal.less +73 -0
- data/vendor/assets/stylesheets/AdminLTE/navs.less +182 -0
- data/vendor/assets/stylesheets/AdminLTE/print.less +48 -0
- data/vendor/assets/stylesheets/AdminLTE/products.less +44 -0
- data/vendor/assets/stylesheets/AdminLTE/profile.less +29 -0
- data/vendor/assets/stylesheets/AdminLTE/progress-bars.less +107 -0
- data/vendor/assets/stylesheets/AdminLTE/select2.less +102 -0
- data/vendor/assets/stylesheets/AdminLTE/sidebar-mini.less +138 -0
- data/vendor/assets/stylesheets/AdminLTE/sidebar.less +157 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/_all-skins.less +13 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black-light.less +64 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black.less +64 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue-light.less +61 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue.less +58 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green-light.less +56 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green.less +56 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple-light.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red-light.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow-light.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow.less +55 -0
- data/vendor/assets/stylesheets/AdminLTE/small-box.less +89 -0
- data/vendor/assets/stylesheets/AdminLTE/social-widgets.less +78 -0
- data/vendor/assets/stylesheets/AdminLTE/table.less +71 -0
- data/vendor/assets/stylesheets/AdminLTE/timeline.less +111 -0
- data/vendor/assets/stylesheets/AdminLTE/users-list.less +39 -0
- data/vendor/assets/stylesheets/AdminLTE/variables.less +120 -0
- data/vendor/assets/stylesheets/lte-rails.less +1 -0
- metadata +200 -0
@@ -0,0 +1,280 @@
|
|
1
|
+
/*
|
2
|
+
* Component: Control sidebar. By default, this is the right sidebar.
|
3
|
+
*/
|
4
|
+
//The sidebar's background control class
|
5
|
+
//This is a hack to make the background visible while scrolling
|
6
|
+
.control-sidebar-bg {
|
7
|
+
position: fixed;
|
8
|
+
z-index: 1000;
|
9
|
+
bottom: 0;
|
10
|
+
}
|
11
|
+
//Transitions
|
12
|
+
.control-sidebar-bg,
|
13
|
+
.control-sidebar {
|
14
|
+
top: 0;
|
15
|
+
right: -@control-sidebar-width;
|
16
|
+
width: @control-sidebar-width;
|
17
|
+
.transition(right @transition-speed ease-in-out);
|
18
|
+
}
|
19
|
+
//The sidebar
|
20
|
+
.control-sidebar {
|
21
|
+
position: absolute;
|
22
|
+
padding-top: @navbar-height;
|
23
|
+
z-index: 1010;
|
24
|
+
//Fix position after header collapse
|
25
|
+
@media (max-width: @screen-sm) {
|
26
|
+
padding-top: @navbar-height + 50;
|
27
|
+
}
|
28
|
+
//Tab panes
|
29
|
+
> .tab-content {
|
30
|
+
padding: 10px 15px;
|
31
|
+
}
|
32
|
+
//Open state with slide over content effect
|
33
|
+
&.control-sidebar-open {
|
34
|
+
&,
|
35
|
+
+ .control-sidebar-bg {
|
36
|
+
right: 0;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
//Open without slide over content
|
41
|
+
.control-sidebar-open {
|
42
|
+
.control-sidebar-bg,
|
43
|
+
.control-sidebar {
|
44
|
+
right: 0;
|
45
|
+
}
|
46
|
+
@media(min-width: @screen-sm) {
|
47
|
+
.content-wrapper,
|
48
|
+
.right-side,
|
49
|
+
.main-footer {
|
50
|
+
margin-right: @control-sidebar-width;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
//Control sidebar tabs
|
55
|
+
.nav-tabs.control-sidebar-tabs {
|
56
|
+
> li {
|
57
|
+
&:first-of-type > a {
|
58
|
+
&,
|
59
|
+
&:hover,
|
60
|
+
&:focus {
|
61
|
+
border-left-width: 0;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
> a {
|
65
|
+
.border-radius(0);
|
66
|
+
|
67
|
+
//Hover and active states
|
68
|
+
&,
|
69
|
+
&:hover {
|
70
|
+
border-top: none;
|
71
|
+
border-right: none;
|
72
|
+
border-left: 1px solid transparent;
|
73
|
+
border-bottom: 1px solid transparent;
|
74
|
+
}
|
75
|
+
.icon {
|
76
|
+
font-size: 16px;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
//Active state
|
80
|
+
&.active {
|
81
|
+
> a {
|
82
|
+
&,
|
83
|
+
&:hover,
|
84
|
+
&:focus,
|
85
|
+
&:active {
|
86
|
+
border-top: none;
|
87
|
+
border-right: none;
|
88
|
+
border-bottom: none;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
//Remove responsiveness on small screens
|
94
|
+
@media(max-width: @screen-sm) {
|
95
|
+
display: table;
|
96
|
+
>li {
|
97
|
+
display: table-cell;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
//Headings in the sidebar content
|
102
|
+
.control-sidebar-heading {
|
103
|
+
font-weight: 400;
|
104
|
+
font-size: 16px;
|
105
|
+
padding: 10px 0;
|
106
|
+
margin-bottom: 10px;
|
107
|
+
}
|
108
|
+
//Subheadings
|
109
|
+
.control-sidebar-subheading {
|
110
|
+
display: block;
|
111
|
+
font-weight: 400;
|
112
|
+
font-size: 14px;
|
113
|
+
}
|
114
|
+
//Control Sidebar Menu
|
115
|
+
.control-sidebar-menu {
|
116
|
+
list-style: none;
|
117
|
+
padding: 0;
|
118
|
+
margin: 0 -15px;
|
119
|
+
> li > a {
|
120
|
+
.clearfix();
|
121
|
+
display: block;
|
122
|
+
padding: 10px 15px;
|
123
|
+
> .control-sidebar-subheading {
|
124
|
+
margin-top: 0;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
.menu-icon {
|
128
|
+
float: left;
|
129
|
+
width: 35px;
|
130
|
+
height: 35px;
|
131
|
+
border-radius: 50%;
|
132
|
+
text-align: center;
|
133
|
+
line-height: 35px;
|
134
|
+
}
|
135
|
+
.menu-info {
|
136
|
+
margin-left: 45px;
|
137
|
+
margin-top: 3px;
|
138
|
+
> .control-sidebar-subheading {
|
139
|
+
margin: 0;
|
140
|
+
}
|
141
|
+
> p {
|
142
|
+
margin: 0;
|
143
|
+
font-size: 11px;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
.progress {
|
147
|
+
margin: 0;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
//Dark skin
|
151
|
+
.control-sidebar-dark {
|
152
|
+
color: @sidebar-dark-color;
|
153
|
+
// Background
|
154
|
+
&,
|
155
|
+
+ .control-sidebar-bg {
|
156
|
+
background: @sidebar-dark-bg;
|
157
|
+
}
|
158
|
+
// Sidebar tabs
|
159
|
+
.nav-tabs.control-sidebar-tabs {
|
160
|
+
border-bottom: darken(@sidebar-dark-bg, 3%);
|
161
|
+
> li {
|
162
|
+
> a {
|
163
|
+
background: darken(@sidebar-dark-bg, 5%);
|
164
|
+
color: @sidebar-dark-color;
|
165
|
+
//Hover and active states
|
166
|
+
&,
|
167
|
+
&:hover,
|
168
|
+
&:focus {
|
169
|
+
border-left-color: darken(@sidebar-dark-bg, 7%);
|
170
|
+
border-bottom-color: darken(@sidebar-dark-bg, 7%);
|
171
|
+
}
|
172
|
+
&:hover,
|
173
|
+
&:focus,
|
174
|
+
&:active {
|
175
|
+
background: darken(@sidebar-dark-bg, 3%);
|
176
|
+
}
|
177
|
+
&:hover {
|
178
|
+
color: #fff;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
//Active state
|
182
|
+
&.active {
|
183
|
+
> a {
|
184
|
+
&,
|
185
|
+
&:hover,
|
186
|
+
&:focus,
|
187
|
+
&:active {
|
188
|
+
background: @sidebar-dark-bg;
|
189
|
+
color: #fff;
|
190
|
+
}
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
//Heading & subheading
|
196
|
+
.control-sidebar-heading,
|
197
|
+
.control-sidebar-subheading {
|
198
|
+
color: #fff;
|
199
|
+
}
|
200
|
+
//Sidebar list
|
201
|
+
.control-sidebar-menu {
|
202
|
+
> li {
|
203
|
+
> a {
|
204
|
+
&:hover {
|
205
|
+
background: @sidebar-dark-hover-bg;
|
206
|
+
}
|
207
|
+
.menu-info {
|
208
|
+
> p {
|
209
|
+
color: @sidebar-dark-color;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
}
|
216
|
+
//Light skin
|
217
|
+
.control-sidebar-light {
|
218
|
+
color: lighten(@sidebar-light-color, 10%);
|
219
|
+
// Background
|
220
|
+
&,
|
221
|
+
+ .control-sidebar-bg {
|
222
|
+
background: @sidebar-light-bg;
|
223
|
+
border-left: 1px solid @gray;
|
224
|
+
}
|
225
|
+
// Sidebar tabs
|
226
|
+
.nav-tabs.control-sidebar-tabs {
|
227
|
+
border-bottom: @gray;
|
228
|
+
> li {
|
229
|
+
> a {
|
230
|
+
background: darken(@sidebar-light-bg, 5%);
|
231
|
+
color: @sidebar-light-color;
|
232
|
+
//Hover and active states
|
233
|
+
&,
|
234
|
+
&:hover,
|
235
|
+
&:focus {
|
236
|
+
border-left-color: @gray;
|
237
|
+
border-bottom-color: @gray;
|
238
|
+
}
|
239
|
+
&:hover,
|
240
|
+
&:focus,
|
241
|
+
&:active {
|
242
|
+
background: darken(@sidebar-light-bg, 3%);
|
243
|
+
}
|
244
|
+
}
|
245
|
+
//Active state
|
246
|
+
&.active {
|
247
|
+
> a {
|
248
|
+
&,
|
249
|
+
&:hover,
|
250
|
+
&:focus,
|
251
|
+
&:active {
|
252
|
+
background: @sidebar-light-bg;
|
253
|
+
color: #111;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
//Heading & subheading
|
260
|
+
.control-sidebar-heading,
|
261
|
+
.control-sidebar-subheading {
|
262
|
+
color: #111;
|
263
|
+
}
|
264
|
+
//Sidebar list
|
265
|
+
.control-sidebar-menu {
|
266
|
+
margin-left: -14px;
|
267
|
+
> li {
|
268
|
+
> a {
|
269
|
+
&:hover {
|
270
|
+
background: @sidebar-light-hover-bg;
|
271
|
+
}
|
272
|
+
.menu-info {
|
273
|
+
> p {
|
274
|
+
color: lighten(@sidebar-light-color, 10%);
|
275
|
+
}
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
@@ -0,0 +1,171 @@
|
|
1
|
+
/*
|
2
|
+
* Core: General Layout Style
|
3
|
+
* -------------------------
|
4
|
+
*/
|
5
|
+
html,
|
6
|
+
body {
|
7
|
+
min-height: 100%;
|
8
|
+
.layout-boxed & {
|
9
|
+
height: 100%;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
body {
|
14
|
+
-webkit-font-smoothing: antialiased;
|
15
|
+
-moz-osx-font-smoothing: grayscale;
|
16
|
+
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
17
|
+
font-weight: 400;
|
18
|
+
overflow-x: hidden;
|
19
|
+
overflow-y: auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
/* Layout */
|
23
|
+
.wrapper {
|
24
|
+
.clearfix();
|
25
|
+
min-height: 100%;
|
26
|
+
position: static;
|
27
|
+
overflow: hidden;
|
28
|
+
.layout-boxed & {
|
29
|
+
max-width: 1250px;
|
30
|
+
margin: 0 auto;
|
31
|
+
min-height: 100%;
|
32
|
+
box-shadow: 0 0 8px rgba(0,0,0,0.5);
|
33
|
+
position: relative;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.layout-boxed {
|
38
|
+
background: url('@{boxed-layout-bg-image-path}') repeat fixed;
|
39
|
+
}
|
40
|
+
|
41
|
+
/*
|
42
|
+
* Content Wrapper - contains the main content
|
43
|
+
* ```.right-side has been deprecated as of v2.0.0 in favor of .content-wrapper ```
|
44
|
+
*/
|
45
|
+
.content-wrapper,
|
46
|
+
.right-side,
|
47
|
+
.main-footer {
|
48
|
+
//Using disposable variable to join statements with a comma
|
49
|
+
@transition-rule: @transition-speed @transition-fn,
|
50
|
+
margin @transition-speed @transition-fn;
|
51
|
+
.transition-transform(@transition-rule);
|
52
|
+
margin-left: @sidebar-width;
|
53
|
+
z-index: 820;
|
54
|
+
//Top nav layout
|
55
|
+
.layout-top-nav & {
|
56
|
+
margin-left: 0;
|
57
|
+
}
|
58
|
+
@media (max-width: @screen-xs-max) {
|
59
|
+
margin-left: 0;
|
60
|
+
}
|
61
|
+
//When opening the sidebar on large screens
|
62
|
+
.sidebar-collapse & {
|
63
|
+
@media (min-width: @screen-sm) {
|
64
|
+
margin-left: 0;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
//When opening the sidebar on small screens
|
68
|
+
.sidebar-open & {
|
69
|
+
@media (max-width: @screen-xs-max) {
|
70
|
+
.translate(@sidebar-width, 0);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
.content-wrapper,
|
76
|
+
.right-side {
|
77
|
+
min-height: 100%;
|
78
|
+
background-color: @body-bg;
|
79
|
+
z-index: 800;
|
80
|
+
}
|
81
|
+
.main-footer {
|
82
|
+
background: #fff;
|
83
|
+
padding: 15px;
|
84
|
+
color: #444;
|
85
|
+
border-top: 1px solid @gray;
|
86
|
+
}
|
87
|
+
|
88
|
+
/* Fixed layout */
|
89
|
+
.fixed {
|
90
|
+
.main-header,
|
91
|
+
.main-sidebar,
|
92
|
+
.left-side {
|
93
|
+
position: fixed;
|
94
|
+
}
|
95
|
+
.main-header {
|
96
|
+
top: 0;
|
97
|
+
right: 0;
|
98
|
+
left: 0;
|
99
|
+
}
|
100
|
+
.content-wrapper,
|
101
|
+
.right-side {
|
102
|
+
padding-top: 50px;
|
103
|
+
@media (max-width: @screen-header-collapse) {
|
104
|
+
padding-top: 100px;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
&.layout-boxed {
|
108
|
+
.wrapper {
|
109
|
+
max-width: 100%;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
body.hold-transition {
|
115
|
+
.content-wrapper,
|
116
|
+
.right-side,
|
117
|
+
.main-footer,
|
118
|
+
.main-sidebar,
|
119
|
+
.left-side,
|
120
|
+
.main-header > .navbar,
|
121
|
+
.main-header .logo {
|
122
|
+
/* Fix for IE */
|
123
|
+
.transition(none);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
/* Content */
|
128
|
+
.content {
|
129
|
+
min-height: 250px;
|
130
|
+
padding: 15px;
|
131
|
+
.container-fixed(@grid-gutter-width);
|
132
|
+
}
|
133
|
+
|
134
|
+
/* H1 - H6 font */
|
135
|
+
h1,
|
136
|
+
h2,
|
137
|
+
h3,
|
138
|
+
h4,
|
139
|
+
h5,
|
140
|
+
h6,
|
141
|
+
.h1,
|
142
|
+
.h2,
|
143
|
+
.h3,
|
144
|
+
.h4,
|
145
|
+
.h5,
|
146
|
+
.h6 {
|
147
|
+
font-family: 'Source Sans Pro', sans-serif;
|
148
|
+
}
|
149
|
+
/* General Links */
|
150
|
+
a {
|
151
|
+
color: @link-color;
|
152
|
+
}
|
153
|
+
a:hover,
|
154
|
+
a:active,
|
155
|
+
a:focus {
|
156
|
+
outline: none;
|
157
|
+
text-decoration: none;
|
158
|
+
color: @link-hover-color;
|
159
|
+
}
|
160
|
+
|
161
|
+
/* Page Header */
|
162
|
+
.page-header {
|
163
|
+
margin: 10px 0 20px 0;
|
164
|
+
font-size: 22px;
|
165
|
+
|
166
|
+
> small {
|
167
|
+
color: #666;
|
168
|
+
display: block;
|
169
|
+
margin-top: 5px;
|
170
|
+
}
|
171
|
+
}
|
@@ -0,0 +1,172 @@
|
|
1
|
+
/*
|
2
|
+
* Component: Direct Chat
|
3
|
+
* ----------------------
|
4
|
+
*/
|
5
|
+
.direct-chat {
|
6
|
+
.box-body {
|
7
|
+
.border-bottom-radius(0);
|
8
|
+
position: relative;
|
9
|
+
overflow-x: hidden;
|
10
|
+
padding: 0;
|
11
|
+
}
|
12
|
+
&.chat-pane-open {
|
13
|
+
.direct-chat-contacts {
|
14
|
+
.translate(0, 0);
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
.direct-chat-messages {
|
19
|
+
.translate(0, 0);
|
20
|
+
padding: 10px;
|
21
|
+
height: 250px;
|
22
|
+
overflow: auto;
|
23
|
+
}
|
24
|
+
.direct-chat-msg,
|
25
|
+
.direct-chat-text {
|
26
|
+
display: block;
|
27
|
+
}
|
28
|
+
.direct-chat-msg {
|
29
|
+
.clearfix();
|
30
|
+
margin-bottom: 10px;
|
31
|
+
}
|
32
|
+
.direct-chat-messages,
|
33
|
+
.direct-chat-contacts {
|
34
|
+
.transition-transform(.5s ease-in-out);
|
35
|
+
}
|
36
|
+
.direct-chat-text {
|
37
|
+
.border-radius(5px);
|
38
|
+
position: relative;
|
39
|
+
padding: 5px 10px;
|
40
|
+
background: @direct-chat-default-msg-bg;
|
41
|
+
border: 1px solid @direct-chat-default-msg-border-color;
|
42
|
+
margin: 5px 0 0 50px;
|
43
|
+
color: @direct-chat-default-font-color;
|
44
|
+
|
45
|
+
//Create the arrow
|
46
|
+
&:after,
|
47
|
+
&:before {
|
48
|
+
position: absolute;
|
49
|
+
right: 100%;
|
50
|
+
top: 15px;
|
51
|
+
border: solid transparent;
|
52
|
+
border-right-color: @direct-chat-default-msg-border-color;
|
53
|
+
content: ' ';
|
54
|
+
height: 0;
|
55
|
+
width: 0;
|
56
|
+
pointer-events: none;
|
57
|
+
}
|
58
|
+
|
59
|
+
&:after {
|
60
|
+
border-width: 5px;
|
61
|
+
margin-top: -5px;
|
62
|
+
}
|
63
|
+
&:before {
|
64
|
+
border-width: 6px;
|
65
|
+
margin-top: -6px;
|
66
|
+
}
|
67
|
+
.right & {
|
68
|
+
margin-right: 50px;
|
69
|
+
margin-left: 0;
|
70
|
+
&:after,
|
71
|
+
&:before {
|
72
|
+
right: auto;
|
73
|
+
left: 100%;
|
74
|
+
border-right-color: transparent;
|
75
|
+
border-left-color: @direct-chat-default-msg-border-color;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
.direct-chat-img {
|
80
|
+
.border-radius(50%);
|
81
|
+
float: left;
|
82
|
+
width: 40px;
|
83
|
+
height: 40px;
|
84
|
+
.right & {
|
85
|
+
float: right;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
.direct-chat-info {
|
89
|
+
display: block;
|
90
|
+
margin-bottom: 2px;
|
91
|
+
font-size: 12px;
|
92
|
+
}
|
93
|
+
.direct-chat-name {
|
94
|
+
font-weight: 600;
|
95
|
+
}
|
96
|
+
.direct-chat-timestamp {
|
97
|
+
color: #999;
|
98
|
+
}
|
99
|
+
//Direct chat contacts pane
|
100
|
+
.direct-chat-contacts-open {
|
101
|
+
.direct-chat-contacts {
|
102
|
+
.translate(0, 0);
|
103
|
+
}
|
104
|
+
}
|
105
|
+
.direct-chat-contacts {
|
106
|
+
.translate(101%, 0);
|
107
|
+
position: absolute;
|
108
|
+
top: 0;
|
109
|
+
bottom: 0;
|
110
|
+
height: 250px;
|
111
|
+
width: 100%;
|
112
|
+
background: #222d32;
|
113
|
+
color: #fff;
|
114
|
+
overflow: auto;
|
115
|
+
}
|
116
|
+
|
117
|
+
//Contacts list -- for displaying contacts in direct chat contacts pane
|
118
|
+
.contacts-list {
|
119
|
+
&:extend(.list-unstyled);
|
120
|
+
> li {
|
121
|
+
.clearfix();
|
122
|
+
border-bottom: 1px solid rgba(0,0,0,0.2);
|
123
|
+
padding: 10px;
|
124
|
+
margin: 0;
|
125
|
+
&:last-of-type {
|
126
|
+
border-bottom: none;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
.contacts-list-img {
|
131
|
+
.border-radius(50%);
|
132
|
+
width: 40px;
|
133
|
+
float: left;
|
134
|
+
}
|
135
|
+
.contacts-list-info {
|
136
|
+
margin-left: 45px;
|
137
|
+
color: #fff;
|
138
|
+
}
|
139
|
+
.contacts-list-name,
|
140
|
+
.contacts-list-status {
|
141
|
+
display: block;
|
142
|
+
}
|
143
|
+
.contacts-list-name {
|
144
|
+
font-weight: 600;
|
145
|
+
}
|
146
|
+
.contacts-list-status {
|
147
|
+
font-size: 12px;
|
148
|
+
}
|
149
|
+
.contacts-list-date {
|
150
|
+
color: #aaa;
|
151
|
+
font-weight: normal;
|
152
|
+
}
|
153
|
+
.contacts-list-msg {
|
154
|
+
color: #999;
|
155
|
+
}
|
156
|
+
|
157
|
+
//Direct Chat Variants
|
158
|
+
.direct-chat-danger {
|
159
|
+
.direct-chat-variant(@red);
|
160
|
+
}
|
161
|
+
.direct-chat-primary {
|
162
|
+
.direct-chat-variant(@light-blue);
|
163
|
+
}
|
164
|
+
.direct-chat-warning {
|
165
|
+
.direct-chat-variant(@yellow);
|
166
|
+
}
|
167
|
+
.direct-chat-info {
|
168
|
+
.direct-chat-variant(@aqua);
|
169
|
+
}
|
170
|
+
.direct-chat-success {
|
171
|
+
.direct-chat-variant(@green);
|
172
|
+
}
|