summaryrefslogtreecommitdiffstats
path: root/public/css/widget/quick-actions.less
blob: bddea438587137356a79e8b4e88157779a1bb7d3 (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
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0 -.5em;
  padding: 0;

  a {
    text-decoration: none;
  }

  a,
  button {
    padding: .25em;
    .rounded-corners();
    display: inline-flex;
    align-items: baseline;

    &:hover {
      background: @gray-lighter;
    }
  }

  li {
    margin: 0 .25em .5em .25em;
    vertical-align: middle;
    white-space: nowrap;
  }
}

.controls:not(.default-layout) > .quick-actions:last-child,
.controls > .quick-actions:last-child {
  margin-bottom: 0;
}

#layout.twocols:not(.wide-layout) {
  .quick-actions {
    justify-content: space-between;
    min-width: 100%;
  }
}

#layout.wide-layout .controls {
  .quick-actions {
    float: left;
  }
}