summaryrefslogtreecommitdiff
path: root/templates/assets/sass/material-kit/_lists.scss
blob: 88f4389faa2ec630dc7d753c22c327f221927a25 (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
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
// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.

.list-group {
  border-radius: 0;
  .list-group-item {
    background-color: transparent;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    padding: 0 16px;
    &.baseline {
      border-bottom: 1px solid #cecece;
      &:last-child {
        border-bottom: none;
      }
    }
    .row-picture, .row-action-primary {
      //float: left; WARNING: float can't be used with display: inline-block. Certain properties shouldn't be used with certain display property values. (display-property-grouping) Browsers: All
      display: inline-block;
      padding-right: 16px;
      img, i, label {
        display: block;
        width: 56px;
        height: 56px;
      }
      img {
        background: rgba(0,0,0,0.1);
        padding: 1px;
        &.circle {
          border-radius: 100%;
        }
      }
      i {
        background: rgba(0,0,0,0.25);
        border-radius: 100%;
        text-align: center;
        line-height: 56px;
        font-size: 20px;
        color: white;
      }
      label {
        margin-left: 7px;
        margin-right: -7px;
        margin-top: 5px;
        margin-bottom: -5px;
        .checkbox-material {
          left: -10px;
        }
      }
    }
    .row-content {
      display: inline-block;
      width: unquote("calc(100% - 92px)");
      min-height: 66px;
      .action-secondary {
        position: absolute;
        right: 16px;
        top: 16px;
        i {
          font-size: 20px;
          color: rgba(0,0,0,0.25);
          cursor: pointer;
        }
      }
      .action-secondary  ~ * {
        max-width: unquote("calc(100% - 30px)");
      }
      .least-content {
        position: absolute;
        right: 16px;
        top: 0;
        color: rgba(0,0,0,0.54);
        font-size: 14px;
      }
    }
    .list-group-item-heading {
      color: rgba(0, 0, 0, 0.77);
      font-size: 20px;
      line-height: 29px;
    }
  }
  .list-group-item.active {
    &:hover, &:focus {
      background: rgba(0,0,0,.15);
      outline: 10px solid rgba(0,0,0,.15);
    }
    .list-group-item-heading, .list-group-item-text {
      color: $mdb-text-color-primary;
    }

  }
  .list-group-separator {
    clear: both;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    &:before {
      content: "";
      width: unquote("calc(100% - 90px)");
      border-bottom: 1px solid rgba(0,0,0,0.1);
      float: right;
    }
  }
}