/usr/share/python-djangocms-admin-style-common/sass/components/_modal.scss is in python-djangocms-admin-style-common 1.2.2+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | //##############################################################################
// MODAL
.cms-admin-modal,
.cms_modal-window {
background: $white;
.module {
h2 {
font-size: $font-size-large !important;
}
}
&.dashboard {
#content-related {
padding-top: 30px !important;
}
#content {
margin-top: 74px !important;
}
}
}
.popup,
.cms-admin-modal,
.cms_modal-window {
#container .breadcrumbs + .messagelist + #content,
#container .breadcrumbs + #content {
margin-left: 20px !important;
}
&.app-aldryn_bootstrap3 .filerFile .filerClearer {
// make sure that file clear button has the correct size #140
width: 36px !important;
height: 36px !important;
}
background-color: $white;
form {
padding: 0;
margin-bottom: 0;
background-color: transparent;
box-shadow: none;
fieldset {
width: 100%;
}
// resets checkbox row margin and padding in modal window because of wrapping border #188
.checkbox-row {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px !important;
}
}
.calendarbox table {
td {
padding: 0 !important;
}
}
&.change-list {
#changelist {
&.filtered {
// make sure that changelist form is floated left next to filter #238
#changelist-form {
float: left;
width: calc(100% - #{$filtered-changelist-margin}) !important;
.results {
margin-right: 0 !important
}
#result_list tbody th,
#result_list tbody td {
height: auto;
}
}
}
&.cms-pagetree-root {
// since 3.3 no need to do that for pagetree
#changelist-form {
float: none;
width: 100% !important;
}
}
#changelist-filter {
// removes background color if there is a white background not as on dashboard gray
background: none !important;
}
#changelist-form > input + .results {
clear: both;
}
}
#result_list {
tbody td,
tbody th {
height: 41px;
}
}
}
// resets table styles in modal window #189
table {
margin-left: 0;
box-shadow: none !important;
td > select {
width: auto !important;
}
}
input[type=text],
input[type=password],
.vURLField,
.vTextField,
textarea,
select,
.select2-container,
.sortedm2m-container,
form .cke,
.field-image {
max-width: inherit !important;
box-sizing: border-box;
}
#container {
min-width: inherit !important;
}
#content,
&.filebrowser #content {
margin: 20px 20px 0 !important;
}
#content .submit-row {
margin: 20px -20px 0 !important;
padding: 20px 20px !important;
}
.form-row {
padding-left: 0;
padding-right: 0;
.btn-group-context label {
margin-top: 0 !important;
margin-bottom: 5px;
&.active {
margin-top: -1px !important;
margin-bottom: 4px;
}
}
.field-box {
float: left;
margin-right: 20px !important;
margin-top: 0;
&.field-registration_deadline_at {
margin-right: 0 !important;
}
}
}
// resets column width on bootstrap row plugin #59
.bootstrap3-column {
.form-row {
overflow: hidden;
padding: 14px 0 10px;
border-bottom: solid 1px $gray-lighter;
&.field-create {
input {
width: 70px !important;
}
label {
display: inline-block;
float: left;
width: 160px !important;
}
}
.field-box {
label {
display: inline-block;
float: left;
width: 70px !important;
}
input {
width: auto !important;
}
input[type="number"] {
width: 60px !important;
}
}
}
.module {
margin-bottom: 20px;
}
}
.inline-group {
overflow: auto;
.module {
overflow: visible;
width: 100%;
}
.field-user,
.field-group {
min-width: 215px;
}
}
&.delete-confirmation {
#container .breadcrumbs + .messagelist + #content,
#container .breadcrumbs + #content {
// make sure that margin is same as on modal window
margin-left: 20px !important;
}
.colM {
box-shadow: none;
> p {
@include icon(trash);
margin-top: -5px;
margin-bottom: 0;
&:before {
font-size: 40px;
}
}
&#content {
padding: 0 !important;
}
ul {
margin: 10px -20px 0;
li {
padding: 10px 0 10px 20px;
}
ul {
margin: 10px 0 -10px -20px;
li {
padding: 10px 0 10px 20px;
}
ul {
margin-left: 0;
margin-right: 0;
}
}
}
}
.cancel-link {
display: none;
}
}
ul.messagelist + #content {
margin-top: 90px !important;
}
// resets margin top of content if messagelist is empty #244
ul.messagelist:empty + #content {
margin-top: 20px !important;
}
.well-wrapper {
margin-bottom: 20px;
}
}
// make sure that upload file field has correct height and full width #267
.cms-admin-modal.model-file {
form input[type=file] {
width: 100% !important;
padding: 8px !important;
}
}
.cms-admin-modal {
#header,
.breadcrumbs {
// there is no need for breadcrumbs and header on modal windows #242
display: none;
}
&.change-list #changelist {
// make sure that changelist doesn't overlap object-tools #242
margin-top: 50px;
#changelist-filter {
// adds z-index of 2000 because page tree has z-index of 1000 #242
z-index: 2000;
// needs a background color because filter is positioned absolute and appears over page tree #242
background-color: $white !important;
}
}
&.change-list #changelist.cms-pagetree-root {
margin-top: 40px;
}
}
|