split out widgets.css

This commit is contained in:
marijus 2013-12-11 21:28:42 +01:00
parent 88761ec9ec
commit dd7fea10c1
3 changed files with 132 additions and 79 deletions

98
view/css/widgets.css Normal file
View File

@ -0,0 +1,98 @@
.widget {
padding: 8px;
margin-top: 5px;
}
/* suggest */
.suggest-widget-more {
margin-top: 10px;
}
/* follow */
#side-follow-url {
margin-top: 5px;
}
#side-follow-submit {
margin-top: 15px;
}
/* notes */
#note-text {
width: 190px;
max-width: 190px;
height: 150px;
}
#note-save {
margin-top: 10px;
}
/* saved searches */
.saved-search-li {
margin-top: 3px;
}
.saved-search-li i {
opacity: 0;
}
.saved-search-li:hover i {
opacity: 1;
}
.savedsearchdrop {
opacity: 0;
}
/* fileas */
.fileas-ul li {
margin-top: 10px;
}
.fileas-link {
margin-left: 24px;
}
.fileas-all {
margin-left: 0px;
}
/* posted date */
#datebrowse-sidebar select {
margin-left: 25px;
opacity: 0.3;
filter:alpha(opacity=30);
}
#datebrowse-sidebar select:hover {
opacity: 1.0;
filter:alpha(opacity=100);
}
#posted-date-selector {
margin-left: 30px !important;
margin-top: 5px !important;
margin-right: 0px !important;
margin-bottom: 0px !important;
}
/* categories */
.categories-ul li {
margin-top: 10px;
}
.categories-link {
margin-left: 24px;
}
.categories-all {
margin-left: 0px;
}

View File

@ -13,6 +13,7 @@ head_add_css('library/colorbox/colorbox.css');
// head_add_css('library/font_awesome/css/font-awesome.min.css'); // head_add_css('library/font_awesome/css/font-awesome.min.css');
head_add_css('view/css/conversation.css'); head_add_css('view/css/conversation.css');
head_add_css('view/css/bootstrap-red.css'); head_add_css('view/css/bootstrap-red.css');
head_add_css('view/css/widgets.css');
head_add_js('js/jquery.js'); head_add_js('js/jquery.js');
head_add_js('library/bootstrap/js/bootstrap.min.js'); head_add_js('library/bootstrap/js/bootstrap.min.js');

View File

@ -331,7 +331,8 @@ footer {
margin-bottom: 10px; margin-bottom: 10px;
} }
.group-selected, .nets-selected, .fileas-selected, .categories-selected, .search-selected, .active { /*TODO: we should use .active class for all this, nets-selected probably obsolete */
.group-selected, /* .nets-selected, */ .fileas-selected, .categories-selected, .search-selected, .active {
color: #444444 !important; color: #444444 !important;
} }
@ -671,36 +672,6 @@ footer {
box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444; box-shadow: $shadowpx $shadowpx $shadowpx 0 #444444;
} }
#datebrowse-sidebar select {
margin-left: 25px;
border-radius: $radiuspx;
-moz-border-radius: $radiuspx;
opacity: 0.3;
filter:alpha(opacity=30);
}
#datebrowse-sidebar select:hover {
opacity: 1.0;
filter:alpha(opacity=100);
}
#posted-date-selector {
margin-left: 30px !important;
margin-top: 5px !important;
margin-right: 0px !important;
margin-bottom: 0px !important;
}
#posted-date-selector:hover {
box-shadow: 4px 4px 3px 0 #444444;
margin-left: 25px !important;
margin-top: 0px !important;
margin-right: 5px !important;
margin-bottom: 5px !important;
}
#side-bar-photos-albums { #side-bar-photos-albums {
margin-top: 15px; margin-top: 15px;
} }
@ -777,17 +748,16 @@ footer {
width: 12px; width: 12px;
} }
#sidebar-group-list li, #sidebar-group-list li {
.saved-search-li {
margin-top: 3px; margin-top: 3px;
} }
/* might be obsolete
.nets-ul, .fileas-ul, .categories-ul { .nets-ul {
list-style-type: none; list-style-type: none;
} }
.nets-ul li, .fileas-ul li, .categories-ul li { .nets-ul li {
margin-top: 10px; margin-top: 10px;
} }
@ -797,14 +767,7 @@ footer {
.nets-all { .nets-all {
margin-left: 42px; margin-left: 42px;
} }
*/
.fileas-link, .categories-link {
margin-left: 24px;
}
.fileas-all, .categories-all {
margin-left: 0px;
}
#search-save { #search-save {
margin-left: 5px; margin-left: 5px;
@ -813,20 +776,6 @@ footer {
margin-right: 10px; margin-right: 10px;
} }
#saved-search-ul {
list-style-type: none;
}
.saved-search-li i {
opacity: 0;
}
.saved-search-li:hover i {
opacity: 1;
}
.savedsearchterm { .savedsearchterm {
margin-left: 10px; margin-left: 10px;
} }
@ -835,7 +784,8 @@ footer {
#side-follow-wrapper { #side-follow-wrapper {
margin-top: 20px; margin-top: 20px;
} }
#side-follow-url, #side-peoplefind-url {
#side-peoplefind-url {
margin-top: 5px; margin-top: 5px;
} }
@ -851,7 +801,7 @@ footer {
font-family: FontAwesome; font-family: FontAwesome;
} }
#side-follow-submit, #side-peoplefind-submit { #side-peoplefind-submit {
margin-top: 15px; margin-top: 15px;
} }
@ -860,7 +810,7 @@ footer {
} }
.widget, .pmenu { .pmenu {
border-bottom: 1px solid #eec; border-bottom: 1px solid #eec;
padding: 8px; padding: 8px;
margin-top: 5px; margin-top: 5px;
@ -1679,12 +1629,6 @@ div.jGrowl div.info {
text-overflow: ellipsis; text-overflow: ellipsis;
} }
#datebrowse-sidebar select {
margin-left: 25px;
}
.jslider .jslider-scale ins { .jslider .jslider-scale ins {
color: #333; color: #333;
font-size: $body_font_size; font-size: $body_font_size;
@ -2255,8 +2199,7 @@ text-decoration: none;
list-style-type: none; list-style-type: none;
} }
.group-edit-icon, .group-edit-icon {
.savedsearchdrop {
opacity: 0; opacity: 0;
} }
@ -2395,8 +2338,6 @@ img.mail-list-sender-photo {
max-width: $converse_width; max-width: $converse_width;
} }
/* conv_item */
.wall-item-content-wrapper { .wall-item-content-wrapper {
border-radius: $radiuspx; border-radius: $radiuspx;
background-color: $item_colour; background-color: $item_colour;
@ -2500,8 +2441,6 @@ img.mail-list-sender-photo {
color: $toolicon_colour; color: $toolicon_colour;
} }
/* comment_item */
.my-comment-photo { .my-comment-photo {
border-radius: $radiuspx; border-radius: $radiuspx;
-moz-border-radius: $radiuspx; -moz-border-radius: $radiuspx;
@ -2538,14 +2477,29 @@ img.mail-list-sender-photo {
.comment-edit-text-full { .comment-edit-text-full {
color: black; color: black;
} }
.suggest-widget-more { margin-top: 10px; }
/* widgets */
#note-text { .widget {
width: 190px; border-bottom: 1px solid #eec;
max-width: 190px; -moz-border-radius: $radiuspx;
height: 150px; -webkit-border-radius: $radiuspx;
border-radius: $radiuspx;
} }
#note-save { margin-top: 10px; }
#saved-search-ul {
list-style-type: none;
}
.fileas-ul {
list-style-type: none;
}
#datebrowse-sidebar select {
border-radius: $radiuspx;
-moz-border-radius: $radiuspx;
}
.categories-ul {
list-style-type: none;
}