File: _entityTable.less

package info (click to toggle)
matomo 5.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 95,068 kB
  • sloc: php: 289,425; xml: 127,249; javascript: 112,130; python: 202; sh: 178; makefile: 20; sql: 10
file content (117 lines) | stat: -rw-r--r-- 2,589 bytes parent folder | download
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
115
116
117
/* main data table */
table.entityTable {

  thead {
    tr {
      th {
        &:first-child {
          padding-left: 20px !important;
        }

        text-transform: none;
        background: @theme-color-background-base;
        vertical-align: middle !important;
        text-align: left !important;
        font-size: 15px;
        white-space: nowrap;
        padding: 22px 16px !important;
        margin: 0;
        font-weight: normal;
        border-radius: 0;
        color: @theme-color-text-contrast;
      }
    }
  }

  tbody {
    tr {
      &:hover {
        td {
          background-color: @theme-color-background-tinyContrast;
        }
      }
      &.highlighted td {
        background-color: #ECF9DD;
      }

      td {
        &:first-child {
          padding-left: 20px !important;
        }

        color: @theme-color-text;
        font-size: 13px;
        line-height: 16px;
        background-color: @theme-color-background-contrast;
        vertical-align: top !important;
        padding: 16px;
        border-bottom: 1px solid @theme-color-background-tinyContrast !important;
        border-radius: 0;
      }
    }
  }
}

.table-action {
  padding: 16px;
  height: auto;
  margin: 0;
  line-height: 1;
  background-color: transparent;
  border: 0;
  color: inherit !important;
  display: inline;

  a&[class^="icon-"], a&[class*=" icon-"] {
    text-decoration: none!important;
  }

  &:hover {
    background-color: @theme-color-background-base !important;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.16), 0 1px 5px 0 rgba(0,0,0,0.12);
    cursor: pointer;
  }
}

.card .tableActionBar {
  a, button {
    background-color: @theme-color-background-contrast;
    &:focus {
      background-color: @theme-color-background-contrast;
    }
  }
}

.tableActionBar {
  a,
  button {
    height: 36px;
    line-height: 36px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12) !important;
    color: @theme-color-text;
    background-image: none !important;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    background-color: inherit;
    text-align: center;
    letter-spacing: .5px;
    transition: .2s ease-out;
    border: none;
    border-radius: 3px;
    display: inline-block;
    padding: 0 2rem;
    margin-left: 16px;
    text-transform: uppercase;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
    &:hover {
      text-decoration: none;
    }
  }

  button:first-child, a:first-child {
    background-color: @theme-color-brand !important;
    color: @color-white;
  }
}