Proyectos de Subversion Moodle

Rev

Rev 441 | Rev 443 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<style>
2
.txt-name-course{
3
    display: block;
4
    /*background-color:blue;*/
5
    line-height: normal;
6
}
7
.txt-course-category{
8
    font-size: smaller;
9
    /*background-color:green;*/
10
    display: block;
11
    line-height: normal;
12
}
13
 
14
.txt-activity-summary{
15
    font-size: smaller;
16
    /*background-color:green;*/
17
    display: block;
18
    line-height: normal;
19
}
20
 
21
.block .block-cards .progress {
22
    height: 1.5rem;
23
}
24
.block .block-cards .progress {
25
    height: 1.5rem;
26
    text-align: center;
27
}
28
.ccn_mc_progress-cesa {
29
    max-width: 300px;
30
    margin: 5px 20px;
31
    display: block;
32
    min-width: 200px;
33
}
34
.small-cesa {
35
    font-size: 80%;
36
    font-weight: 400;
37
    text-align: center;
38
    width:100%;
39
}
40
 
41
.item-cursos{
42
	/*background-color: green;*/
43
    color: white;
44
    text-align: center;
45
    margin: 10px;
46
    padding: 10px;
47
    /*background-color: grey;*/
48
    color: white;
49
    text-align: center;
50
    margin: 10px 0px;
51
    padding: 0px;
52
    /*border: 1px solid black;*/
53
	border: 0px;
54
 
55
}
56
.bloque {
57
	padding: 0px;
58
  border-radius: 3px;
59
  border: 1px solid #cccccc;
60
  /*display: inline-block;*/
61
  margin-bottom: 15px;
62
  margin-left: 0px;
63
}
64
.bloque a:hover{
65
	background-color:#bcc7ff;
66
	text-decoration: none;
67
}
68
.card-img {
442 ariadna 69
  /* width: auto; */
70
  height: 8rem;
71
  background-size: cover;
1 efrain 72
}
73
.card-body, .userprofile .profile_tree section {
442 ariadna 74
  flex: 1 1 auto;
75
  padding: 0.25rem;
1 efrain 76
}
77
.img-course{
442 ariadna 78
  object-fit: cover;
79
  min-height: 100px;
80
  aspect-ratio: 1/1;
81
  width: 100%;
1 efrain 82
}
83
.curso_progress-cesa {
442 ariadna 84
  max-width: 300px;
85
  margin: 0px 20px 5px;
86
  display: block;
1 efrain 87
}
437 ariadna 88
.list-block-cursos-catalogo-ajax {
442 ariadna 89
  display: grid;
90
  grid-template-columns: repeat(auto-fill, minmax(20vw, 1fr));
91
  width: 100%;
92
  margin: 16px 0;
93
  gap: 16px;
437 ariadna 94
}
1 efrain 95
@media only screen and (max-width: 1199.98px){
96
/*
97
.main_logo_home2 .mt20{
98
	top: 5px;
99
}
100
  .mobile-menu .header.stylehome1 a:not(.mobileBrand) {
101
    top: 5px;
102
  }
103
  .stylehome1 {
104
    bottom: 0;
105
    height: 50px;
106
  }
107
  .stylehome1 .nav_logo_img, .stylehome1.dashbord_mobile_logo .nav_logo_img {
108
    position: relative;
109
    max-height: 45px;
110
    margin-top: 5px;
111
  }
112
  .ccn_dashbord_disable_drawer .dashboard_main_content {
113
    padding-left: 10px!important;
114
  }
115
  .our-dashbord.dashbord .container-fluid {
116
    padding-right: 5px;
117
  }
118
  .dashbord .block:not(.block_cocoon_mynews):not(.block_starredcourses):not(.block_myoverview):not(.block_recentlyaccessedcourses):not(.block_cocoon_myviews):not(.block_cocoon_myorders):not(#mod_quiz_navblock) {
119
    padding: 0px;
120
  }
121
*/
122
}
123
</style>
124
<div id="block-cursos-catalogo-ajax" data-region="block-cursos-catalogo-ajax" >
125
  <h1>Cat&aacute;logo de Cursos</h1>
126
  <form id="form-block-cursos-catalogo-ajax" name="form-block-cursos-catalogo-ajax" class="mb-0">
127
    <div class="row w-100">
128
      <div class="col-md-7 col-sm-12 col-12 pl-0">
129
        <div class="form-group">
130
          <input placeholder="Buscar por nombre" class="form-control" type="text" name="search_text" id="search_text" value="" />
131
        </div>
132
      </div>
133
      <div class="col-md-5 col-sm-12 col-12">
134
        <div class="form-group">
135
          <select class="form-control" id="category_id" name="category_id">
136
            <option value="0" selected>Mostrar todos</option>
137
            {{#categories}}
138
              <option value="{{id}}">{{name}}</option>
139
              {{#childsLevel0}}
140
               <option value="{{id}}">--{{name}}</option>
141
                {{#childsLevel1}}
142
               <option value="{{id}}">----{{name}}</option>
143
                {{#childsLevel2}}
144
               <option value="{{id}}">--{{name}}</option>
145
              {{/childsLevel2}}
146
              {{/childsLevel1}}
147
              {{/childsLevel0}}
148
            {{/categories}}
149
          </select>
150
        </div>
151
      </div>
152
    </div>
153
  </form>
154
  <div id="list-block-cursos-catalogo-ajax-course-badges">
155
 
156
  </div>
437 ariadna 157
  <div id="list-block-cursos-catalogo-ajax" class="list-block-cursos-catalogo-ajax">
1 efrain 158
  </div>
159
</div>