_custom.scss 3.51 KB
Newer Older
1
2
// Generic custom css (anything longer than a screen view should have its own component file)

3
4
5
.task-item .link-block .icon {
    margin-left: -8px; //correct alignment
}
6

7
8
9
10
11
12
13
14
.no-results {
    @extend .lead;
    clear: both;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.wysiwyg {
    label {
        display:block;
    }
    label  + .mce-tinymce {
        width:100%;
    }
}

.toolbar-affix.affix {
    position: fixed;
    top: 70px;
    z-index: 1;
}

.layoutthumb {
    rect {
        fill: #f2f2f2;
        stroke: #ccc;
    }
35
36
37
38
39
40

    svg {
        @media (max-width: $screen-sm-min) {
           zoom: 0.8;
       }
    }
41
}
Pat Kira's avatar
Pat Kira committed
42
43
44
45

.blocktype-radio {
    display: none;
}
Naomi Guyer's avatar
Naomi Guyer committed
46
47
48
49
50
51
52
53
54
55
56
57

// see emaillist.tpl
.email-list {
    display: block;
    @media (min-width: $screen-sm-min) {
        display: inline-block;
        width: 420px;
    }
    @media (min-width: $screen-lg-min) {
        width: 500px;
    }
}
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

// Styles for select2 in forms
// overriding select2 default styles
.select2-container-multi {
    max-width: 85% !important;
    display: inline-block;
    @media (min-width: $screen-sm-min) {
        width: 420px !important;
    }
    @media (min-width: $screen-lg-min) {
        width: 500px !important;
    }
    &.select2-dropdown-open {
        .select2-choices {
            border-radius: 4px 4px 0 0;
        }
    }
    .select2-choices {
        @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.075) inset);
        border-radius: 4px;
        background-color: #fff;
        border: 1px solid #ccc;
        background-image: none;
        width: 100%;
        .select2-search-choice {
            border: none;
        }
    }
}
Pat Kira's avatar
Pat Kira committed
87
88
89
90
91
92
93
94
95
96
97
98

// Custom styles for edit collection pages
// See views.tpl and views.json.tpl
.manage-collection-pages {
    .pagelist {
        .select-pages {
            margin: -10px 0 0 0;
            padding-top: 8px;
        }
        .add-pages {
            margin: 5px;
        }
99
100
101
102
        .error.ui-draggable {
            padding: 10px 15px;
            color: $alert-danger-text;
        }
Pat Kira's avatar
Pat Kira committed
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
    }

    .collection-pages {
        .list-group {
            .highlight {
                padding: 20px;
            }
        }
        .single-arrow-up {
            padding-right: 32px;
        }
        .single-arrow-down {
            padding-left: 38px;
        }
    }
}
119
120
121
122
123
124
125
126

// Style label institution selection
.institutionselector {
    .form-group label {
        display: inline-block;
        font-weight: bold;
    }
}
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

// Reset checkout boxes inside col in portfolio export page
.portfolio-export {
    .heading {
        margin-top: 15px;
    }
    .heading-exportable-pages {
        margin-top: 0;
        float: left;
    }
    .btn-group {
        float: right;
    }
}
.exportable-artefacts {
    .row {
        :first-child {
            clear: both;
        }
        border-bottom: 1px solid $list-group-border;
    }
    .checkbox input[type=checkbox] {
        margin-left: 0;
    }
    label {
        margin-bottom: 10px;
    }
}
.exportable-artefact-container {
    padding: 15px 15px 0;
    background-color: rgba($brand-default, 0.2);
}
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
187
188

// Tag result page
.mytags {
    margin-top: 25px;
	.tagfreq.badge {
		background-color: $brand-primary;
	}
    .tag {
        margin-right: 10px;
    }
}
.mytags .selected,
.tag-results .selected {
	font-weight: bold;
    color: $gray;
    .badge {
        background-color: $gray;
    }
}
.tag-results .btn-top-right {
	margin-right: -1px;
	margin-top: -41px;
}
.tag-filters {
	background-color: #f5f5f5;
	padding: 10px 15px;
}
.tag-type {
	font-size: $font-size-large;
}