Merge pull request #792 from pafcu/cssrefactor
Make redbasic css more modular
This commit is contained in:
commit
43671a0a32
23
view/theme/redbasic/css/mod_events.css
Normal file
23
view/theme/redbasic/css/mod_events.css
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#event-start-text, #event-finish-text {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#event-nofinish-checkbox, #event-nofinish-text, #event-adjust-checkbox, #event-adjust-text {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
#event-datetime-break {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#event-nofinish-break, #event-adjust-break {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#event-desc-text, #event-location-text {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
#event-submit {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
32
view/theme/redbasic/css/mod_group.php
Normal file
32
view/theme/redbasic/css/mod_group.php
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#group-members {
|
||||||
|
margin-top: 20px;
|
||||||
|
padding: 10px;
|
||||||
|
height: 250px;
|
||||||
|
overflow: auto;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
#group-members-end {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#group-separator {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#group-all-contacts {
|
||||||
|
padding: 10px;
|
||||||
|
height: 450px;
|
||||||
|
overflow: auto;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
#group-all-contacts-end {
|
||||||
|
clear: both;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#group-edit-desc {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
10
view/theme/redbasic/css/mod_profile_photo.css
Normal file
10
view/theme/redbasic/css/mod_profile_photo.css
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
#cropimage-wrapper, #cropimage-preview-wrapper {
|
||||||
|
float: left;
|
||||||
|
padding: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#crop-image-form {
|
||||||
|
margin-top: 30px;
|
||||||
|
clear: both;
|
||||||
|
}
|
39
view/theme/redbasic/css/mod_profiles.css
Normal file
39
view/theme/redbasic/css/mod_profiles.css
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#profile-edit-wrapper .field label {
|
||||||
|
margin-top: 20px;
|
||||||
|
width: 175px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile-edit-wrapper .field input[type="text"] {
|
||||||
|
margin-top: 20px;
|
||||||
|
width: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#profile-edit-links {
|
||||||
|
max-width: $converse_width;
|
||||||
|
padding-top: 15px;
|
||||||
|
padding-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile-edit-links .btn {
|
||||||
|
margin: 0 10px 15px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-import {
|
||||||
|
vertical-align: top;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-import b {
|
||||||
|
color: $link_colour;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-import input {
|
||||||
|
color: $font_colour;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#profile-edit-drop-link {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
32
view/theme/redbasic/css/mod_profperm.css
Normal file
32
view/theme/redbasic/css/mod_profperm.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#prof-members {
|
||||||
|
margin-top: 20px;
|
||||||
|
padding: 10px;
|
||||||
|
height: 250px;
|
||||||
|
overflow: auto;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
#prof-members-end {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
#prof-separator {
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#prof-all-contacts {
|
||||||
|
padding: 10px;
|
||||||
|
height: 450px;
|
||||||
|
overflow: auto;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
#prof-all-contacts-end {
|
||||||
|
clear: both;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#prof-edit-desc {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
@ -358,61 +358,11 @@ footer {
|
|||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Not used anymore?
|
||||||
#cropimage-wrapper, #cropimage-preview-wrapper {
|
|
||||||
float: left;
|
|
||||||
padding: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#crop-image-form {
|
|
||||||
margin-top: 30px;
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
#page-profile .title {
|
#page-profile .title {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile-edit-wrapper .field label {
|
|
||||||
margin-top: 20px;
|
|
||||||
width: 175px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#profile-edit-wrapper .field input[type="text"] {
|
|
||||||
margin-top: 20px;
|
|
||||||
width: 220px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#profile-edit-links {
|
|
||||||
max-width: $converse_width;
|
|
||||||
padding-top: 15px;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#profile-edit-links .btn {
|
|
||||||
margin: 0 10px 15px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profile-import {
|
|
||||||
vertical-align: top;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profile-import b {
|
|
||||||
color: $link_colour;
|
|
||||||
}
|
|
||||||
|
|
||||||
.profile-import input {
|
|
||||||
color: $font_colour;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#profile-edit-drop-link {
|
|
||||||
color: #FFF;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fn {
|
.fn {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@ -1044,15 +994,18 @@ footer {
|
|||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not used anymore? */
|
||||||
#identity-manage-desc {
|
#identity-manage-desc {
|
||||||
margin-top:15px;
|
margin-top:15px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not used anymore? */
|
||||||
#identity-manage-choose {
|
#identity-manage-choose {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not used anymore? */
|
||||||
#identity-submit {
|
#identity-submit {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
@ -1100,114 +1053,27 @@ footer {
|
|||||||
.side-link {
|
.side-link {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#group-members {
|
|
||||||
margin-top: 20px;
|
|
||||||
padding: 10px;
|
|
||||||
height: 250px;
|
|
||||||
overflow: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
#group-members-end {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
#group-separator {
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#group-all-contacts {
|
|
||||||
padding: 10px;
|
|
||||||
height: 450px;
|
|
||||||
overflow: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
#group-all-contacts-end {
|
|
||||||
clear: both;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#group-edit-desc {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#prof-members {
|
|
||||||
margin-top: 20px;
|
|
||||||
padding: 10px;
|
|
||||||
height: 250px;
|
|
||||||
overflow: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
#prof-members-end {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
#prof-separator {
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#prof-all-contacts {
|
|
||||||
padding: 10px;
|
|
||||||
height: 450px;
|
|
||||||
overflow: auto;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
}
|
|
||||||
|
|
||||||
#prof-all-contacts-end {
|
|
||||||
clear: both;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#prof-edit-desc {
|
|
||||||
margin-top: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.required {
|
.required {
|
||||||
color: #FF0000;
|
color: #FF0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#event-start-text, #event-finish-text {
|
/* Not used anymore? */
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#event-nofinish-checkbox, #event-nofinish-text, #event-adjust-checkbox, #event-adjust-text {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
#event-datetime-break {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#event-nofinish-break, #event-adjust-break {
|
|
||||||
clear: both;
|
|
||||||
}
|
|
||||||
|
|
||||||
#event-desc-text, #event-location-text {
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
#event-submit {
|
|
||||||
margin-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#item-delete-selected {
|
#item-delete-selected {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not used anymore? */
|
||||||
#item-delete-selected-end {
|
#item-delete-selected-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not used anymore? */
|
||||||
#item-delete-selected-icon, #item-delete-selected-desc {
|
#item-delete-selected-icon, #item-delete-selected-desc {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Not used anymore? */
|
||||||
#item-delete-selected-desc:hover {
|
#item-delete-selected-desc:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user