Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 /* | 1 /* |
2 Copyright 2009 the Melange authors. | 2 Copyright 2009 the Melange authors. |
3 | 3 |
4 Licensed under the Apache License, Version 2.0 (the "License"); | 4 Licensed under the Apache License, Version 2.0 (the "License"); |
5 you may not use this file except in compliance with the License. | 5 you may not use this file except in compliance with the License. |
6 You may obtain a copy of the License at | 6 You may obtain a copy of the License at |
7 | 7 |
8 http://www.apache.org/licenses/LICENSE-2.0 | 8 http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 |
10 Unless required by applicable law or agreed to in writing, software | 10 Unless required by applicable law or agreed to in writing, software |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
638 } | 638 } |
639 | 639 |
640 .plaintext { | 640 .plaintext { |
641 background:transparent none repeat scroll 0 0; | 641 background:transparent none repeat scroll 0 0; |
642 border:0 none; | 642 border:0 none; |
643 color:black; | 643 color:black; |
644 } | 644 } |
645 | 645 |
646 /* Surveys */ | 646 /* Surveys */ |
647 | 647 |
648 | 648 |
Mario Ferraro
2009/06/23 23:42:36
From here to line 671 it lacks indentation
ajaksu
2009/06/25 06:31:03
Done.
| |
649 div #survey_widget { | 649 div #survey_widget { |
650 margin: 20px; | 650 margin: 20px; |
651 -moz-border-radius: 5px; | 651 -moz-border-radius: 5px; |
652 -webkit-border-radius: 5px; | 652 -webkit-border-radius: 5px; |
653 background-color: #FFFEEB; | 653 background-color: #FFFEEB; |
654 border: 5px solid #F7CA75; | 654 border: 5px solid #F7CA75; |
655 padding: 15px; | 655 padding: 15px; |
656 width:600px; | 656 /*max-width: 700px;*/ |
657 } | 657 float: left; |
658 } | |
659 | |
658 | 660 |
659 div #survey_widget.survey_admin { | 661 div #survey_widget.survey_admin { |
660 /*margin-left:-100px;*/ | 662 /* TODO(ajaksu) remove if unnecessary */ |
Mario Ferraro
2009/06/23 23:42:36
Is this still necessary?
ajaksu
2009/06/25 06:31:03
Don't think so :)
Removed.
| |
661 } | 663 } |
662 | 664 |
663 div #survey_widget tr { | 665 div #survey_widget tr { |
664 float:left; | 666 float: left; |
665 clear:both; | 667 clear: both; |
666 } | 668 } |
667 | 669 |
668 div #survey_widget th, div #survey_widget td { | 670 div #survey_widget th, |
Mario Ferraro
2009/06/23 23:42:36
Never thought about it, but I think the style you
ajaksu
2009/06/25 06:31:03
But remember to indent! Fixed indentation.
| |
669 padding-top:15px; | 671 div #survey_widget td { |
672 padding-top: 15px; | |
670 } | 673 } |
671 | 674 |
672 /* fields */ | 675 /* fields */ |
673 | 676 |
674 div #survey_widget textarea { | 677 div #survey_widget textarea { |
675 padding: 10px; | 678 padding: 10px; |
676 width:300px; | 679 width: 300px; |
677 } | 680 } |
678 | 681 |
679 div #survey_widget input .text_question { | 682 div #survey_widget input.text_question { |
680 width:320px; | 683 width: 320px; |
Mario Ferraro
2009/06/23 23:42:36
Indentation
ajaksu
2009/06/25 06:31:03
Done.
| |
681 } | 684 } |
682 | 685 |
683 div #survey_widget td.formfieldlabel { | 686 div #survey_widget td.formfieldlabel { |
Mario Ferraro
2009/06/23 23:42:36
It seems there are two spaces between widget and t
ajaksu
2009/06/25 06:31:03
Done.
| |
684 font-size:medium; | 687 font-size: medium; |
Mario Ferraro
2009/06/23 23:42:36
Indentation
ajaksu
2009/06/25 06:31:03
Done.
| |
685 } | 688 } |
686 | 689 |
687 #survey_widget.view input[disabled="disabled"], | 690 #survey_widget.view input[disabled="disabled"], |
688 #survey_widget.view textarea[disabled="disabled"], | 691 #survey_widget.view textarea[disabled="disabled"], |
689 #survey_widget.view select[disabled="disabled"], | 692 #survey_widget.view select[disabled="disabled"], |
690 #survey_widget.view option { | 693 #survey_widget.view option { |
691 color: black; | 694 color: black; |
692 } | 695 } |
693 | 696 |
694 | 697 #survey_widget.quant_radio input, |
695 #survey_widget .quant_radio input, #survey_widget .quant_radio label { | 698 #survey_widget.quant_radio label { |
Mario Ferraro
2009/06/23 23:42:36
See style in line 687
ajaksu
2009/06/25 06:31:03
You mean removing the space before the dot? (goes
| |
696 display: inline; | 699 clear: left; |
700 display: block; | |
701 float: left; | |
702 margin: 4px; | |
697 } | 703 } |
698 | 704 |
699 /* options */ | 705 /* options */ |
700 | 706 |
701 div #survey_options button { | 707 div #survey_options button { |
702 display: block; | 708 display: block; |
703 margin: 10px 0 0; | 709 margin: 10px 0 0; |
704 } | 710 } |
705 | 711 |
706 div #survey_options { | 712 div #survey_options { |
707 margin: 20px 0 0 0; | 713 margin: 20px 0 0 0; |
708 } | 714 } |
709 | 715 |
710 div #survey_widget a.delete { | 716 div #survey_widget a.delete { |
711 margin: 0 7px; | 717 margin: 0 7px; |
712 } | 718 } |
713 | 719 |
714 div #survey_widget th label { | 720 div #survey_widget th label { |
715 display: block; | 721 display: block; |
716 max-width: 180px; | 722 max-width: 180px; |
717 } | 723 } |
718 | 724 |
719 div #survey_widget tr.role-specific label{ | 725 div #survey_widget tr.role-specific label { |
720 color:#666666; | 726 color: #666666; |
Mario Ferraro
2009/06/23 23:42:36
indentation
ajaksu
2009/06/25 06:31:03
Done.
| |
721 } | 727 } |
722 | 728 |
723 | 729 |
724 span.formfieldlabel { | 730 span.formfieldlabel { |
725 font-weight: bold; | 731 font-weight: bold; |
726 font-size: small; | 732 font-size: small; |
727 } | 733 } |
728 | 734 |
729 | 735 .sortable_li { |
730 .sortable_li {border: solid 1px !important; padding:5px !important;} | 736 border: solid 1px !important; |
Mario Ferraro
2009/06/23 23:42:36
I suggest to put it in multiple lines
ajaksu
2009/06/25 06:31:03
Done.
| |
731 | 737 padding: 5px !important; |
732 | 738 } |
733 .sortable_li, div #survey_widget fieldset{ | 739 |
Mario Ferraro
2009/06/23 23:42:36
See style in line 687
ajaksu
2009/06/25 06:31:03
Done.
| |
734 -moz-border-radius: 5px; | 740 .sortable_li, |
735 -webkit-border-radius: 5px; | 741 div #survey_widget fieldset { |
Mario Ferraro
2009/06/23 23:42:36
Indentation
ajaksu
2009/06/25 06:31:03
Done.
| |
736 } | 742 -moz-border-radius: 5px; |
737 | 743 -webkit-border-radius: 5px; |
738 | 744 } |
Mario Ferraro
2009/06/23 23:42:36
Fix new lines and indentation from here to line 74
ajaksu
2009/06/25 06:31:03
Done.
| |
739 #dialog {font-size: 62.5%;} | 745 |
740 #dialog label, input { display:block; } | 746 div #survey_widget fieldset, |
741 #dialog p{ text-align:center; padding-left: 0;} | 747 div #survey_widget th, |
742 #dialog input.text { margin-bottom:12px; width:95%; padding: .4em; } | 748 div #survey_widget td, |
743 #dialog fieldset { padding:0; border:0; margin-top:25px; } | 749 div #survey_widget select { |
744 #dialog h1 { font-size: 1.2em; margin: .6em 0; } | 750 max-width:700px; |
745 | 751 } |
746 | 752 |
747 .ui-button {outline: 0; margin:0; padding: .4em 1em .5em; | 753 #dialog { |
Mario Ferraro
2009/06/23 23:42:36
Change the whole class and put each statement line
ajaksu
2009/06/25 06:31:03
Done line per line, can you explain the change the
| |
748 text-decoration:none; cursor:pointer; position: relative; | 754 font-size: 62.5%; |
749 text-align: center; | 755 } |
750 } | 756 |
751 .ui-dialog .ui-state-highlight, .ui-dialog .ui-state-error { padding: .3em; } | 757 #dialog input { |
Mario Ferraro
2009/06/23 23:42:36
See style in line 687
ajaksu
2009/06/25 06:31:03
Done.
| |
758 margin: 5px; | |
759 } | |
760 | |
761 #dialog label, #dialog input { | |
762 display: block; | |
763 } | |
764 | |
765 #dialog p { | |
766 text-align: center; | |
767 padding-left: 0; | |
768 } | |
769 | |
770 #dialog input.text { | |
771 margin-bottom: 12px; | |
772 width: 95%; | |
773 padding: .4em; | |
774 } | |
775 | |
776 #dialog fieldset { | |
777 padding: 0; | |
778 border: 0; | |
779 margin-top: 25px; | |
780 } | |
781 | |
782 #dialog h1 { | |
783 font-size: 1.2em; | |
784 margin: .6em 0; | |
785 } | |
786 | |
787 .ui-button { | |
788 outline: 0; | |
789 margin: 0; | |
790 padding: .4em 1em .5em; | |
791 text-decoration: none; | |
792 cursor:pointer; | |
793 position: relative; | |
794 text-align: center; | |
795 } | |
796 | |
797 .ui-dialog .ui-state-highlight, | |
798 .ui-dialog .ui-state-error { | |
799 padding: .3em; | |
800 } | |
752 | 801 |
753 .pick_multi input { | 802 .pick_multi input { |
754 display: inline; | 803 display: inline; |
755 } | 804 } |
756 | 805 |
757 /* NEWS FEED FEEDS */ | 806 /* NEWS FEED FEEDS */ |
758 .news_feed { | 807 .news_feed { |
759 border: 10px solid #e5ecf9; | 808 border: 10px solid #e5ecf9; |
760 border-top: 1px solid #3366cc; | 809 border-top: 1px solid #3366cc; |
761 float:left; | 810 float:left; |
762 } | 811 } |
763 | 812 |
764 .news_feed .inner{ | 813 .news_feed .inner{ |
765 padding:0 20px; | 814 padding:0 20px; |
Mario Ferraro
2009/06/23 23:42:36
Indentation
ajaksu
2009/06/25 06:31:03
Done.
| |
766 } | 815 } |
767 | 816 |
768 .news_feed h2 { | 817 .news_feed h2 { |
769 margin-top: 0.1em; | 818 margin-top: 0.1em; |
770 background-color: #e5ecf9; | 819 background-color: #e5ecf9; |
771 } | 820 } |
772 | 821 |
773 .news_feed h2 a { | 822 .news_feed h2 a { |
774 text-decoration: none; | 823 text-decoration: none; |
775 color: black; | 824 color: black; |
776 } | 825 } |
777 | 826 |
778 .news_feed h2 a:visited { | 827 .news_feed h2 a:visited { |
779 text-decoration: none; | 828 text-decoration: none; |
780 color: black; | 829 color: black; |
781 } | 830 } |
782 | 831 |
783 | |
Mario Ferraro
2009/06/23 23:42:36
Delete this line :)
ajaksu
2009/06/25 06:31:03
Done.
| |
784 .news_feed .entry { | 832 .news_feed .entry { |
785 margin:1em 0.3em; | 833 margin:1em 0.3em; |
786 } | 834 } |
787 | 835 |
788 .news_feed .title { | 836 .news_feed .title { |
789 font-size: medium; | 837 font-size: medium; |
790 } | 838 } |
791 | 839 |
792 .news_feed .time { | 840 .news_feed .time { |
793 color: gray; | 841 color: gray; |
794 margin-bottom: 0.5em; | 842 margin-bottom: 0.5em; |
795 } | 843 } |
796 | 844 |
797 .news_feed .snippet { | 845 .news_feed .snippet { |
798 background-color: white; | 846 background-color: white; |
799 } | 847 } |
800 | 848 |
801 a#feed_icon img{ | 849 a#feed_icon img{ |
802 margin:-1px 0; | 850 margin:-1px 0; |
Mario Ferraro
2009/06/23 23:42:36
Indentation
ajaksu
2009/06/25 06:31:03
Done.
| |
803 } | 851 } |
LEFT | RIGHT |