cirandas.net

ref: master

public/stylesheets/chat/conversation.scss


  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
& {
  height: 100%;
}

.header {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 40px;
  background-color: #333;
  .other-name {
   color: #EEE;
  }
  .chat-target span {
    max-width: 140px;
    font-weight: 900;
    color: white;
    display: inline-block;
  }
}

.conversation {
  height: 100%;
  position: relative;

  .conversation-header {
    position: absolute;
    right: 0;
    left: 0;
    background-color: #2e3436;
    color: white;
    width: 284px;
    height: 45px;
    font-size: 18px;
    text-align: center;
    .chat-target {
      line-height: 45px;
    }
  }

  .author {
    width: 32px;
    display: inline-block;
    vertical-align: top;
    float: left;
  }
  .self .author {
    float: right;
  }

  .room-action {
    position: absolute;
    bottom: 100px;
    left: 7px;
    right: 79px;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    color: white;
    border-radius: 3px;
    font-size: 14px;
  }

  .join {
   background-color: #4E9A06;
  }

  .leave {
   background-color: #A40000;
  }

  .input-div {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 33px;
    height: 80px;
    padding-left: 7px;
    .icon-chat {
      width: 16px;
      height: 16px;
      position: relative;
      bottom: -23px;
      left: 5px;
    }
  }

  textarea {
    height: 100%;
    width: 304px;
    overflow: auto;
    padding-left: 25px;
    padding-top: 3px;
  }
  div.occupants {
    bottom: 118px;
    background-color: #2e3436;
  }
}

.history {
  overflow: hidden;
  position: absolute;
  right: 66px;
  left: 0;
  top: 45px;
  bottom: 100px;
  min-width: 284px;
}

.history.room {
  bottom: 132px;
}