Subversion Repositories wimsdev

Rev

Rev 16851 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16851 Rev 16864
Line 48... Line 48...
48
}
48
}
49
 
49
 
50
 
50
 
51
/** details/summary html5 tags (accordions)  **/
51
/** details/summary html5 tags (accordions)  **/
52
details {
52
details {
53
  background-color: #4442;
-
 
54
  margin-bottom: .5rem;
53
  margin-bottom: .5rem;
55
  padding: 0 .5rem .5rem .5rem;
54
  padding: 0 .5rem .5rem .5rem;
56
  box-shadow: 0 .1rem 1rem -.5rem rgba(0,0,0,.4);
55
  box-shadow: 0 .1rem 1rem -.5rem rgba(0,0,0,.4);
57
}
56
}
58
details summary ~ div{
57
details summary ~ div{
Line 61... Line 60...
61
  transition: .6s opacity ease,.6s transform ease;
60
  transition: .6s opacity ease,.6s transform ease;
62
}
61
}
63
details[open] summary ~ div {
62
details[open] summary ~ div {
64
  opacity: 1;
63
  opacity: 1;
65
  transform: translateY(0);
64
  transform: translateY(0);
66
}
65
}
67
 
66
 
68
summary {
67
summary {
69
  padding: .5rem;
68
  padding: .5rem;
70
  margin: 0 -.5rem;
69
  margin: 0 -.5rem;
71
  background-color: #4442;
-
 
72
  cursor: pointer;
70
  cursor: pointer;
73
  transition: .4s background-color ease;
71
  transition: .4s background-color ease;
-
 
72
}
-
 
73
summary:hover::marker, summary:focus::marker{
-
 
74
  color: var(--wims_hlink_color);
-
 
75
}
-
 
76
 
-
 
77
details.wims_details {
-
 
78
  background-color: #4442;
-
 
79
}
-
 
80
 
-
 
81
.wims_details>summary {
-
 
82
  background-color: #4442;
-
 
83
  margin-bottom: .25em;
74
}
84
}
75
 
85
 
76
summary:hover, summary:focus{
86
.wims_details>summary:hover, .wims_details>summary:focus{
77
  background-color: #4444;
87
  background-color: #4444;
78
}
88
}
79
 
89
 
80
 
90
 
81
 
91