test.blade.php
5.08 KB
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
118
119
120
121
<style>
/* Accordion */
[data-toggle="collapse"] i:before {
content: "\f068";
}
[data-toggle="collapse"].collapsed i:before {
content: "\f067";
}
#accordion {
.card-header{
margin-bottom: 8px;
}
.accordion-title{
position: relative;
display: block;
padding:8px 0 8px 50px;
background: #213744;
border-radius: 8px;
overflow: hidden;
text-decoration: none;
color: #fff;
font-size: 16px;
font-weight: 700;
width: 100%;
text-align: left;
transition: all .4s ease-in-out;
i{
position: absolute;
width: 40px;
height: 100%;
left: 0;
top: 0;
color: #fff;
background: radial-gradient(rgba(#213744, .8), #213744);
text-align: center;
border-right: 1px solid transparent;
}
&:hover{
padding-left: 60px;
background: #213744;
color: #fff;
i {
border-right: 1px solid #fff;
}
}
}
.accordion-body{
padding: 40px 55px;
ul {
list-style: none;
margin-left: 0;
padding-left: 0;
}
li {
padding-left: 1.2rem;
text-indent: -1.2rem;
&:before {
content: "\f10a";
padding-right: 5px;
font-family: "Flaticon";
font-size: 16px;
font-style: normal;
color: #213744;
}
}
}
}
/* End Accordion */
</style>
<link href="https://cdn.jsdelivr.net/npm/@coreui/coreui@4.2.0/dist/css/coreui.min.css" rel="stylesheet" integrity="sha384-UkVD+zxJKGsZP3s/JuRzapi4dQrDDuEf/kHphzg8P3v8wuQ6m9RLjTkPGeFcglQU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/@coreui/coreui@4.2.0/dist/js/coreui.bundle.min.js" integrity="sha384-n0qOYeB4ohUPebL1M9qb/hfYkTp4lvnZM6U6phkRofqsMzK29IdkBJPegsyfj/r4" crossorigin="anonymous"></script>
@extends('frontend.layout.app')
{{-- background-color: #f5f5f5!important; --}}
@section('content')
<div class="accordion" id="accordionExample">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-coreui-toggle="collapse" data-coreui-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Kepala Bagian Materi dan Komunikasi Pimpinan
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-coreui-parent="#accordionExample">
<div class="accordion-body">
<strong>Kepala Bagian Materi dan Komunikasi Pimpinan,</strong> mempunyai tugas melaksanakan penyiapan bahan pelaksanaan kebijakan, pelaksanaan koordinasi, fasilitasi, pemantauan dan evaluasi di bidang penyiapan materi pimpinan, komunikasi pimpinan, publikasi dan dokumentasi pimpinan.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-coreui-toggle="collapse" data-coreui-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Accordion Item Ting
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-coreui-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the second item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-coreui-toggle="collapse" data-coreui-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Accordion Item #3
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-coreui-parent="#accordionExample">
<div class="accordion-body">
<strong>This is the third item's accordion body.</strong> It is hidden by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
</div>
</div>
</div>
</div>
@endsection