Advertisement
Guest User

Message System LESS

a guest
Mar 29th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.28 KB | None | 0 0
  1. #message-wrap{
  2.     overflow: hidden;
  3. }
  4.  
  5. #messagePage{
  6.     background: lighten(#F2F2F2, 10%);
  7.     border: 1px solid #ccc;
  8.     height: 500px;
  9.     margin-bottom: 80px;
  10.     overflow: hidden;
  11.     ul.collection{
  12.         margin: 0 0 1rem;
  13.         position: relative;
  14.         li{
  15.             background-color: #fff;
  16.             border-bottom: 1px solid #e0e0e0;
  17.             line-height: 1.5rem;
  18.             margin: 0;
  19.             padding: 10px 20px 10px 60px;
  20.             position: relative;
  21.             cursor: pointer;
  22.             transition: 0.6s all;
  23.             &:hover{
  24.                 background: #F6F6F7;
  25.                 transition: 0.3s all;
  26.             }
  27.             &.active{
  28.                 box-shadow: inset 5px 0 0 0 #26CAD3;
  29.             }
  30.             i{
  31.                 display: inline-block;
  32.                 height: 42px;
  33.                 left: 10px;
  34.                 overflow: hidden;
  35.                 position: absolute;
  36.                 text-align: center;
  37.                 top: 20px;
  38.                 vertical-align: middle;
  39.                 width: 42px;
  40.             }
  41.             span{
  42.                 display: block;
  43.                 font-size: 16px;
  44.                 font-weight: 500;
  45.             }
  46.             p{
  47.                 color: #9e9e9e;
  48.                 font-size: 0.8rem;
  49.                 display: block;
  50.                 overflow: hidden;
  51.                 text-overflow: ellipsis;
  52.                 white-space: nowrap;
  53.             }
  54.             time{
  55.                 font-size: 12px;
  56.                 position: absolute;
  57.                 right: 15px;
  58.                 top: 10px;
  59.             }
  60.         }
  61.     }
  62.     #message-list{
  63.         border-right: 1px solid #ccc;
  64.         display: inline;
  65.         float: left;
  66.         height: 500px;
  67.         overflow: auto;
  68.         width: 30%;
  69.         ul{
  70.             margin-bottom: 0px;
  71.         }
  72.     }
  73.     #email-details{
  74.         background: #fff none repeat scroll 0 0;
  75.         display: inline;
  76.         float: left;
  77.         height: 500px;
  78.         overflow: auto;
  79.         padding: 15px;
  80.         width: 70%;
  81.         h3{
  82.             font-size:1.2rem;
  83.             display: block;
  84.             overflow: hidden;
  85.             text-overflow: ellipsis;
  86.             white-space: nowrap;
  87.             margin: 10px 0 20px 0;
  88.             span{
  89.  
  90.             }
  91.         }
  92.         .email-content-wrap{
  93.             position: relative;
  94.             .meta-message{
  95.                 background-color: #fff;
  96.                 border-radius: 2px;
  97.                 ul.collection{
  98.                     li{
  99.                         padding: 10px 20px 10px 80px;
  100.                         cursor: auto;
  101.                         &:hover{
  102.                             background: none;
  103.                         }
  104.                     }
  105.                     li.collection-item{
  106.                         &.avatar{
  107.  
  108.                         }
  109.  
  110.                         img{
  111.                             border-radius: 50%;
  112.                             display: inline-block;
  113.                             height: 42px;
  114.                             left: 15px;
  115.                             overflow: hidden;
  116.                             position: absolute;
  117.                             vertical-align: middle;
  118.                             width: 42px;
  119.                             color: #fff;
  120.                             display: inline-block;
  121.                             font-size: 1.5rem;
  122.                             font-weight: 300;
  123.                             height: 42px;
  124.                             left: 15px;
  125.                             overflow: hidden;
  126.                             padding: 10px;
  127.                             position: absolute;
  128.                             text-align: center;
  129.                             vertical-align: middle;
  130.                             width: 42px;
  131.                             padding: 0;
  132.                         }
  133.                         span.email-title{
  134.                             line-height: 16px;
  135.                         }
  136.                         p{
  137.                             color: #9e9e9e;
  138.                             line-height: 1.5rem;
  139.                             font-size: 0.8rem;
  140.                             margin: 0;
  141.                             padding: 0;
  142.                         }
  143.                     }
  144.                 }
  145.                
  146.             }
  147.             .email-actions{
  148.                 position: absolute;
  149.                 right: 20px;
  150.                 a{
  151.                     span{
  152.                         i{
  153.  
  154.                         }
  155.                     }
  156.                 }
  157.             }
  158.             .email-content{
  159.                 p{
  160.  
  161.                 }
  162.             }
  163.         }
  164.         .email-reply{
  165.             textarea{
  166.                 padding: 5px;
  167.                 border: 1px solid #ccc;
  168.                 border-radius: 3px;
  169.                 margin:0 0 20px 0;
  170.                 height: 100px;
  171.             }
  172.             input[type="submit"]{
  173.                 background: #26cad3 none repeat scroll 0 0;
  174.                 border: medium none;
  175.                 border-radius: 3px;
  176.                 color: #fff;
  177.                 cursor: pointer;
  178.                 float: right;
  179.                 margin: 0 0 20px;
  180.                 padding: 5px 10px;
  181.             }
  182.         }
  183.     }
  184. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement