-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathstyles.css
186 lines (161 loc) · 5.05 KB
/
styles.css
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/**
* This file is part of the Dataform module for Moodle - http://moodle.org/.
*
* The Dataform has been developed as an enhanced counterpart
* of Moodle's Database activity module (1.9.11+ (20110323)).
* To the extent that Dataform code corresponds to Database code,
* certain copyrights on the Database module may obtain.
*
* Moodle is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Moodle is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Moodle. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @package mod-dataform
* @copyright 2015 Itamar Tzadok
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
/** MODULE COURSE APPEARANCE **/
.section .activity.dataform-inlineview .activityinstance {
display: none;
}
/** PAGE MOD EMBED **/
#page-mod-dataform-embed {
margin: 0;
padding: 0;
width: 100%;
}
#page-mod-dataform-embed.pagelayout-embedded #content {
padding: 0;
}
/** QUICK MENUS **/
.path-mod-dataform .quickmenu {
}
.path-mod-dataform .quickmenus-wrapper .quickmenu,
.path-mod-dataform .quickfilters-wrapper .quickfilter{
float: left;
margin-right: 30px;
}
.path-mod-dataform .quickmenus-wrapper,
.path-mod-dataform .quickfilters-wrapper {
border: 1px solid #DDD;
padding: 10px;
margin: 10px 0;
}
/** ADD NEW ENTRY **/
.path-mod-dataform .addnewentry-wrapper {
margin: 20px 0;
}
.path-mod-dataform .addnewentry{
padding: 10px 15px;
background: #4479BA;
color: #FFF;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
border: solid 1px #20538D;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
}
.path-mod-dataform .addnewentry:hover, .addnewentry:focus {
color: #FFF;
background: #356094;
border: solid 1px #2A4E77;
text-decoration: none;
}
/** PAGING BAR **/
#page-mod-dataform-view .paging {
margin-top: 1em;
margin-bottom: 1em;
padding: 0.5em;
overflow: hidden;
}
#page-mod-dataform-view .paging div{
margin-left: 1em;
margin-right: 1em;
float: left;
min-width: 30px;
text-align: center;
border: 1 solid #EFEFEF;
}
#page-mod-dataform-view .paging div.current{
background-color: #EFEFEF;
}
/** SINGLE SELECT **/
#page-mod-dataform-view .singleselect {
margin: 0.5em 0;
}
/** ENTRIES VIEW **/
#page-mod-dataform-embed .entriesview,
#page-mod-dataform-view .entriesview {
overflow: auto;
padding: 10px;
border: 1px solid #DDD;;
}
#page-mod-dataform-embed .entriesview .entry,
#page-mod-dataform-view .entriesview .entry {
padding: 10px;
margin: 10px 0;
border: 1px solid #DDD;;
}
/** ENTRIES FORM **/
#page-mod-dataform-view .entriesform {
overflow: auto;
}
#page-mod-dataform-embed.gecko .mform fieldset.hidden,
#page-mod-dataform-view.gecko .mform fieldset.hidden {
display: table-column;
}
#page-mod-dataform-embed .mform.entriesform fieldset.hidden,
#page-mod-dataform-embed .mform.entriesform fieldset.hidden div,
#page-mod-dataform-view .mform.entriesform fieldset.hidden,
#page-mod-dataform-view .mform.entriesform fieldset.hidden div{
margin: 0;
padding: 0;
}
#page-mod-dataform-embed .mform .fitem .fitemtitle,
#page-mod-dataform-embed .mform.entriesform .fitem .fitemtitle,
#page-mod-dataform-view .mform.entriesform .fitem .fitemtitle {
float: left;
text-align: left;
width: auto;
}
#page-mod-dataform-embed .mform .fitem .felement,
#page-mod-dataform-embed .mform.entriesform .fitem .felement,
#page-mod-dataform-embed .mform .entriesform .fitem .feditor,
#page-mod-dataform-view .mform.entriesform .fitem .felement,
#page-mod-dataform-view .mform.entriesform .fitem .feditor {
margin-left: 0;
width: 100%;
}
#page-mod-dataform-embed .mform.entriesform div.fdescription.required,
#page-mod-dataform-view .mform.entriesform div.fdescription.required {
display: none;
}
/** VIEWS INDEX **/
#page-mod-dataform-view-index .viewvisibilityselector.viewdisabled select,
#page-mod-dataform-view-index .viewvisibilityselector select option[value="0"] {
background-color: #666;
color: #FFF;
}
#page-mod-dataform-view-index .viewvisibilityselector.viewvisible select,
#page-mod-dataform-view-index .viewvisibilityselector select option[value="1"] {
background-color: #FFF;
color: #555;
}
#page-mod-dataform-view-index .viewvisibilityselector.viewhidden select,
#page-mod-dataform-view-index .viewvisibilityselector select option[value="2"] {
background-color: #DDD;
color: #555;
}