Commit a6afdeb51c52b44b57f35738f03e536540722911

Authored by Macartur Sousa
1 parent 8badd05d
Exists in master and in 1 other branch mezuro_spb

Fixed colab tabs

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
src/colab-spb-theme-plugin/colab_spb_theme/static/css/screen.css
... ... @@ -796,20 +796,29 @@ body &gt; .alert,
796 796 font-family: "open_sansregular",Arial, Helvetica,sans-serif;
797 797 font-weight: 300;
798 798 text-transform: uppercase;
799   - margin-bottom: 40px;
  799 + margin-bottom: 45px;
800 800 }
801 801  
802 802 div#main-content .col-lg-12 a.gravatar {
803   - margin-bottom: 60px;
  803 + font-family: "open_sansregular",Arial, Helvetica,sans-serif;
  804 + font-size: 12px;
804 805 display: block;
805 806 color: #2c66ce;
806 807 text-decoration: underline;
807 808 }
808 809  
  810 +div#main-content .col-lg-12 h3 {
  811 + font-size: 18px;
  812 + font-weight: bold;
  813 +}
  814 +
  815 +div#main-content .col-lg-12 {
  816 + margin-bottom: 60px;
  817 +}
  818 +
809 819 body div#main-content {
810 820 margin-top: 0;
811 821 color: #172738;
812   - padding: 40px 0 60px 0;
813 822 }
814 823  
815 824 #main-content > div > h3 > img {
... ... @@ -876,3 +885,54 @@ body div#main-content {
876 885 #gitlab_profile-content #user_login {
877 886 margin-bottom: 10px;
878 887 }
  888 +
  889 +
  890 +/* tabs */
  891 +
  892 +.nav.nav-tabs li > a, ul.nav.nav-projects-tabs li > a {
  893 + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  894 + margin-right: 5px;
  895 + line-height: 20px;
  896 + border-color: #EEE;
  897 + color: #888;
  898 + border-bottom: 1px solid #ddd;
  899 +}
  900 +
  901 +.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  902 + font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  903 + color:#333;
  904 + cursor: default;
  905 + background-color: #fff;
  906 + border: 1px solid #ddd;
  907 + border-bottom-color: transparent;
  908 + font-weight: bold;
  909 + font-size:14px;
  910 +}
  911 +
  912 +.nav-tabs > li > a {
  913 + font-size:14px;
  914 + margin-right: 2px;
  915 + line-height: 1.428571429;
  916 + border-radius: 4px 4px 0 0;
  917 +}
  918 +
  919 +.nav > li > a {
  920 + position: relative;
  921 + display: block;
  922 + padding: 10px 15px;
  923 + font-size: 14px;
  924 +}
  925 +
  926 +.nav-tabs > li {
  927 + float: left;
  928 + margin-bottom: -1px;
  929 +}
  930 +.nav > li {
  931 + position: relative;
  932 + display: block;
  933 +}
  934 +
  935 +.nav li > a {
  936 + color: #888;
  937 + text-decoration: none;
  938 +}
... ...
src/colab-spb-theme-plugin/colab_spb_theme/templates/accounts/user_update_form.html
... ... @@ -151,8 +151,6 @@ jQuery(function() {
151 151 {% trans "Change your avatar at Gravatar.com" %}
152 152 </a>
153 153 </div>
154   - <br>
155   - <br>
156 154  
157 155 <style type="text/css">
158 156 .tab-pane{
... ...