Commit 0e5dfcaac39b848f42fed8c200f00132b018a55b

Authored by Álvaro Fernando Matos de Souza
1 parent 0740a7a8

Fixing New and Edit Category form - #807

Signed-off-by: Álvaro Fernando <alvarofernandoms@gmail.com>
src/noosfero-spb/noosfero-spb-theme/css/administration-panel.css
... ... @@ -800,3 +800,89 @@
800 800 .action-licenses-index #content .main-content td {
801 801 padding-top: 8px;
802 802 }
  803 +
  804 +/* New Category form */
  805 +
  806 +.action-categories-edit #content .main-block form input[type="text"],
  807 +.action-categories-new #content .main-block form input[type="text"] {
  808 + background: none;
  809 + display: block;
  810 + height: 19px;
  811 + padding: 6px;
  812 + border: 1px solid #ccc;
  813 + border-radius: 4px;
  814 + width: 500px;
  815 + font-size: 15px;
  816 + font-family: arial, helvetica;
  817 + color: #585858;
  818 +}
  819 +
  820 +.action-categories-edit #content .formfield input,
  821 +.action-categories-new #content .formfield input {
  822 + background: none #FFFFFF;
  823 +}
  824 +
  825 +.action-categories-edit #content .main-content #category_image_builder_uploaded_data,
  826 +.action-categories-new #content .main-content #category_image_builder_uploaded_data {
  827 + border: none;
  828 +}
  829 +
  830 +.action-categories-edit #content .main-content .formfield input,
  831 +.action-categories-new #content .main-content .formfield input {
  832 + text-indent: 0px;
  833 + padding: 0px;
  834 + font-size: 14px;
  835 +}
  836 +
  837 +.action-categories-edit #content .main-content form .formlabel,
  838 +.action-categories-new #content .main-content form .formlabel,
  839 +.action-categories-edit #content .main-content form label.formlabel.mandatory,
  840 +.action-categories-new #content .main-content form label.formlabel.mandatory {
  841 + font-size: 14px;
  842 + font-family: "open_sansregular", Arial, Helvetica, sans-serif;
  843 + margin-bottom: 5px;
  844 + color: #231f20;
  845 + font-weight: 300;
  846 +}
  847 +
  848 +.action-categories-edit .required-field label.formlabel:after,
  849 +.action-categories-new .required-field label.formlabel:after {
  850 + color: red;
  851 +}
  852 +
  853 +.action-categories-edit #content .main-content form .required-field .formlabel.mandatory:after,
  854 +.action-categories-new #content .main-content form .required-field .formlabel.mandatory:after {
  855 + color: #FF0366;
  856 + font-weight: 500;
  857 +}
  858 +
  859 +.action-categories-edit #content .main-content #category_name,
  860 +.action-categories-new #content .main-content #category_name {
  861 + margin-bottom: 10px;
  862 +}
  863 +
  864 +.action-categories-edit #content .main-content form p .required-field,
  865 +.action-categories-new #content .main-content form p .required-field {
  866 + max-width: 500px;
  867 + padding: 15px 20px;
  868 + margin: 20px 0 30px 0;
  869 + border: 1px dotted #ccc;
  870 + border-left: 5px solid #FF0366;
  871 + border-radius: 3px;
  872 + display: block;
  873 + background: #fff;
  874 + line-height: 20px;
  875 + font-size: 13px;
  876 +}
  877 +
  878 +.action-categories-edit .explanation,
  879 +.action-categories-new .explanation {
  880 + font-style: italic;
  881 + font-size: 10px;
  882 +}
  883 +
  884 +.action-categories-edit #content .main-content .field_with_errors input[type="text"],
  885 +.action-categories-new #content .main-content .field_with_errors input[type="text"] {
  886 + border: 1px solid #FF0366;
  887 + box-shadow: none;
  888 +}
... ...