summaryrefslogtreecommitdiff
path: root/node_modules/socket.io/examples/irc-output/public/stylesheets/style.styl
blob: 2713512b9db859a2adeba1a83bc5f9f7d8bb1f58 (plain)
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
@import 'nib'

h2
  font bold 18px Helvetica Neue, Arial

#irc, #messages
  width 600px

#irc
  position relative
  border 1px solid #ccc

#connecting
  position absolute
  height 410px
  z-index 100
  left 0
  top 0
  background #fff
  text-align center
  width 600px
  font 15px Georgia
  color #666
  display block
  .wrap
    padding-top 150px

.connected
  #connecting
    display none

#messages
  height 380px
  background #eee
  overflow auto
  overflow-x hidden
  overflow-y auto
  &::-webkit-scrollbar
    width 6px
    height 6px
  &::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment
    display block
    height 10px
  &::-webkit-scrollbar-button:vertical:increment
    background-color #fff
  &::-webkit-scrollbar-track-piece
    background-color #fff
    -webkit-border-radius 3px
  &::-webkit-scrollbar-thumb:vertical
    height 50px
    background-color #ccc
    -webkit-border-radius 3px
  &::-webkit-scrollbar-thumb:horizontal
    width 50px
    background-color #fff
    -webkit-border-radius 3px
  em
    text-shadow 0 1px 0 #fff
    color #999
  p
    padding 0
    margin 0
    font 12px Helvetica, Arial
    padding 5px 10px
    b
      display inline-block
      padding-right 10px
  p:nth-child(even)
    background #fafafa