1/**
2 * DokuWiki Plugin ExtList; _description.less
3 * @author     Satoshi Sahara <sahara.satoshi@gmail.com>
4 */
5
6/* --------------------------------------------------------
7 *  Description list - generic
8 * --------------------------------------------------------
9 */
10div.wrap_box {
11  dl.generic {
12    border-bottom: none !important;
13    >dt:first-child {
14      border-top: none !important;
15    }
16  }
17}
18dl.generic {
19  margin: 0.4em 0;
20  padding: 1px 0 0.5em 0;
21  border-bottom: 1px dotted #bbb;
22  &:after {
23    content: "";
24    display: block;
25    clear: left;
26    height: 0;
27    visibility: hidden;
28  }
29  dd {
30    position: relative;
31    margin-left: 10.6em;
32    margin-top: 0.5em;
33    // background-color: rgba(0,0,255,0.1);
34  }
35  dt {
36    position: relative;
37    margin-top: 0.5em;
38    font-weight: normal;
39    text-shadow: 1px 1px 3px rgba(0,0,0,.2);
40    &:not(.compact) {
41      padding-top: 0.5em;
42      padding-left: 0.2em;
43      // background-color: rgba(255,0,0,0.1);
44
45      &:after {
46        display: block;
47        position: absolute;
48        content: "◸";
49        top: 0em;
50        left: -0.5em;
51        color: #bbb;
52        font-size: x-small;
53      }
54
55    }
56    &:first-child {
57      border-top: 1px dotted #bbb;
58    }
59  }
60  dt.compact {
61    span {
62      display: inline-block;
63      position: relative;
64      margin-top: 0.5em;
65      padding-left: 0.2em;
66      // background-color: rgba(255,0,0,0.1);
67      clear: left;
68      float: left;
69      max-width: 9em;
70
71      &::after {
72        display: block;
73        position: absolute;
74        content: "◸";
75        top: 0em;
76        left: -0.5em;
77        color: #bbb;
78        font-size: x-small;
79      }
80
81    }
82  }
83  dd+dt {
84    border-top: 1px dotted #bbb;
85  }
86}
87
88