Merge pull request #1327 from opf/fix/stylesheet-style-fixes

Stylesheet style fixes
pull/1344/head^2
ulferts 11 years ago
commit 08d49ce9cc
  1. 1
      app/assets/stylesheets/_reset.sass
  2. 2
      app/assets/stylesheets/_work_packages.scss
  3. 1
      app/assets/stylesheets/content/_action_menu_main.sass
  4. 1
      app/assets/stylesheets/content/_calendar.sass
  5. 2
      app/assets/stylesheets/content/_flash_messages.sass
  6. 8
      app/assets/stylesheets/content/_headings.sass
  7. 1
      app/assets/stylesheets/content/_links.sass
  8. 2
      app/assets/stylesheets/content/_modal.sass
  9. 1
      app/assets/stylesheets/content/_my_page.sass
  10. 2
      app/assets/stylesheets/content/_wiki.sass
  11. 8
      app/assets/stylesheets/content/_work_packages_table.sass
  12. 9
      app/assets/stylesheets/fonts/_openproject_icon_font.sass
  13. 28
      app/assets/stylesheets/global/_mixins.sass
  14. 16
      app/assets/stylesheets/global/_variables.sass
  15. 1
      app/assets/stylesheets/jstoolbar.css.sass
  16. 1
      app/assets/stylesheets/layout/_breadcrumb.sass
  17. 8
      app/assets/stylesheets/layout/_drop_down.sass
  18. 1
      app/assets/stylesheets/layout/_footer.sass
  19. 1
      app/assets/stylesheets/layout/_main_menu.sass
  20. 8
      app/assets/stylesheets/print.css
  21. 21
      app/assets/stylesheets/rtl.css

@ -41,4 +41,3 @@ blockquote, q
table table
border-collapse: collapse border-collapse: collapse
border-spacing: 0 border-spacing: 0

@ -46,4 +46,4 @@ See doc/COPYRIGHT.rdoc for more details.
select.to-validate.ng-dirty.ng-valid, input.to-validate.ng-dirty.ng-valid { border:1px solid Green; } select.to-validate.ng-dirty.ng-valid, input.to-validate.ng-dirty.ng-valid { border:1px solid Green; }
select.to-validate.ng-dirty.ng-invalid, input.to-validate.ng-dirty.ng-invalid { border:1px solid Red; } select.to-validate.ng-dirty.ng-invalid, input.to-validate.ng-dirty.ng-invalid { border:1px solid Red; }
select.to-validate.ng-dirty.ng-valid ~ span.ok, input.to-validate.ng-dirty.ng-valid ~ span.ok { color:green; display:inline; } select.to-validate.ng-dirty.ng-valid ~ span.ok, input.to-validate.ng-dirty.ng-valid ~ span.ok { color:green; display:inline; }
select.to-validate.ng-dirty.ng-invalid ~ span.ko, input.to-validate.ng-dirty.ng-invalid ~ span.ko { color:red; display:inline; } select.to-validate.ng-dirty.ng-invalid ~ span.ko, input.to-validate.ng-dirty.ng-invalid ~ span.ko { color:red; display:inline; }

@ -66,4 +66,3 @@
@include icon-action-menu-rules @include icon-action-menu-rules
.icon-sub-menu .icon-sub-menu
@include icon-sub-menu-rules @include icon-sub-menu-rules

@ -74,4 +74,3 @@ table.cal
p.cal.legend span p.cal.legend span
display: block display: block

@ -57,5 +57,3 @@ div.flash.notice
div.flash.warning, .nodata, .warning div.flash.warning, .nodata, .warning
background-color: $content_flash_warning_msg_bg_color background-color: $content_flash_warning_msg_bg_color

@ -29,15 +29,13 @@
#content #content
h2 h2
padding-right: 340px padding-right: 340px
h1 h1
@include default-headline-h1 @include default-headline-h1
h2 h2
@include default-headline-h2 @include default-headline-h2
h3 h3
@include default-headline-h3 @include default-headline-h3
h4 h4
@include default-headline-h4 @include default-headline-h4

@ -62,4 +62,3 @@ a.icon:hover, a.icon-context:hover
#content table th a.no-decoration-on-hover:hover, a.no-decoration-on-hover:hover #content table th a.no-decoration-on-hover:hover, a.no-decoration-on-hover:hover
text-decoration: none text-decoration: none

@ -57,7 +57,7 @@ $ng-modal-image-width: $ng-modal-image-height
i i
float: right float: right
cursor: pointer cursor: pointer
label label
padding: 0 50px 0 0 padding: 0 50px 0 0
input input

@ -57,4 +57,3 @@ div.mypage-box p.summary
div.mypage-box div.overview p.author div.mypage-box div.overview p.author
margin-bottom: 7px margin-bottom: 7px

@ -164,4 +164,4 @@ h1:hover, h2:hover, h3:hover
.controller-wiki .controller-wiki
#content #content
overflow: visible overflow: visible

@ -41,7 +41,7 @@
opacity: 1 opacity: 1
&.ng-leave &.ng-leave
@include animation(0.5s fade-out) @include animation(0.5s fade-out)
table.workpackages-table table.workpackages-table
border-collapse: collapse border-collapse: collapse
width: 100% width: 100%
@ -64,7 +64,7 @@ table.workpackages-table
tr td tr td
text-align: left text-align: left
line-height: 34px line-height: 34px
&.icon-table &.icon-table
font-size: 20px font-size: 20px
&.checkbox &.checkbox
width: 20px width: 20px
@ -72,7 +72,7 @@ table.workpackages-table
width: 20px width: 20px
p p
padding: 0 8px padding: 0 8px
margin: 0 margin: 0
p:hover p:hover
background: #fff598 background: #fff598
@ -83,4 +83,4 @@ div.active-column
border: 1px solid #dddddd border: 1px solid #dddddd
height: 139px height: 139px
width: 105px width: 105px
background: none background: none

@ -73,7 +73,7 @@
@mixin icon-button-rules @mixin icon-button-rules
padding: 0 5px 0 0 padding: 0 5px 0 0
font-size: 13px font-size: 13px
@mixin icon-dropdown-menu-rules @mixin icon-dropdown-menu-rules
padding: 0 8px 0 0 padding: 0 8px 0 0
font-size: 14px font-size: 14px
@ -84,14 +84,14 @@
@mixin icon-table-rules @mixin icon-table-rules
padding: 0 0 0 0 padding: 0 0 0 0
@mixin icon-action-menu-rules @mixin icon-action-menu-rules
padding: 0 10px 0 0 padding: 0 10px 0 0
font-size: 15px font-size: 15px
line-height: 5px line-height: 5px
vertical-align: -40% vertical-align: -40%
@mixin icon-sub-menu-rules @mixin icon-sub-menu-rules
padding: 0 0 0 0 padding: 0 0 0 0
float: right float: right
font-size: 15px font-size: 15px
@ -883,4 +883,3 @@ dt > .icon-wiki-page:before,
.icon-pre:before .icon-pre:before
content: "\e0d9" content: "\e0d9"

@ -42,34 +42,34 @@ $button_gray_font_color: #222222
font-size: $headline_h1_font_size font-size: $headline_h1_font_size
font-family: $font_family_normal font-family: $font_family_normal
font-weight: normal font-weight: normal
padding: 0 0 8px 0 padding: 0 0 8px 0
margin: 0 margin: 0
@mixin default-headline-h2 @mixin default-headline-h2
color: $headline_h2_font-color color: $headline_h2_font-color
font-size: $headline_h2_font_size font-size: $headline_h2_font_size
font-family: $font_family_normal font-family: $font_family_normal
font-weight: normal font-weight: normal
text-transform: uppercase text-transform: uppercase
padding: 0 0 8px 0 padding: 0 0 8px 0
margin: 0 margin: 0
@mixin default-headline-h3 @mixin default-headline-h3
color: $headline_h3_font-color color: $headline_h3_font-color
font-size: $headline_h3_font_size font-size: $headline_h3_font_size
font-family: $font_family_normal font-family: $font_family_normal
font-weight: normal font-weight: normal
border-bottom: 1px solid #dddddd border-bottom: 1px solid #dddddd
padding: 0 0 8px 0 padding: 0 0 8px 0
margin: 0 0 20px 0 margin: 0 0 20px 0
@mixin default-headline-h4 @mixin default-headline-h4
color: $headline_h4_font-color color: $headline_h4_font-color
font-size: $headline_h4_font_size font-size: $headline_h4_font_size
font-family: $font_family_normal font-family: $font_family_normal
font-weight: normal font-weight: normal
padding: 0 0 5px 0 padding: 0 0 5px 0
margin: 0 0 20px 0 margin: 0 0 20px 0
@mixin default-font-normal($color, $font-size: 13px) @mixin default-font-normal($color, $font-size: 13px)
color: $color color: $color
@ -133,7 +133,7 @@ $button_gray_font_color: #222222
background: -o-linear-gradient(top, #ffffff 0%,#eeeeee 40%,#ddd 100%) background: -o-linear-gradient(top, #ffffff 0%,#eeeeee 40%,#ddd 100%)
background: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 40%,#ddd 100%) background: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 40%,#ddd 100%)
background: linear-gradient(to bottom, #ffffff 0%,#eeeeee 40%,#ddd 100%) background: linear-gradient(to bottom, #ffffff 0%,#eeeeee 40%,#ddd 100%)
@mixin button-active-background @mixin button-active-background
border: 1px solid #CCCCCC border: 1px solid #CCCCCC
background: #EEEEEE background: #EEEEEE
@ -163,7 +163,7 @@ $button_gray_font_color: #222222
color: $button_highlight_font_hover_color color: $button_highlight_font_hover_color
&:hover &:hover
text-decoration: none text-decoration: none
@mixin button @mixin button
color: $button_font_color color: $button_font_color
@include button-common @include button-common
@ -172,13 +172,13 @@ $button_gray_font_color: #222222
color: $button_font_hover_color color: $button_font_hover_color
&:hover &:hover
text-decoration: none text-decoration: none
@mixin button-active @mixin button-active
color: $button_active_font_color color: $button_active_font_color
@include button-common @include button-common
@include button-normal-size @include button-normal-size
@include button-active-background @include button-active-background
&:hover &:hover
text-decoration: none text-decoration: none

@ -30,14 +30,14 @@ $global_font_color: #555555 !default
$global_font_size: 13px !default $global_font_size: 13px !default
$global_line_height: 1.5 !default $global_line_height: 1.5 !default
$headline_h1_font_size: 28px !default $headline_h1_font_size: 28px !default
$headline_h1_font-color: #555555 !default $headline_h1_font-color: #555555 !default
$headline_h2_font_size: 22px !default $headline_h2_font_size: 22px !default
$headline_h2_font-color: #06799F !default $headline_h2_font-color: #06799F !default
$headline_h3_font_size: 19px !default $headline_h3_font_size: 19px !default
$headline_h3_font-color: #555555 !default $headline_h3_font-color: #555555 !default
$headline_h4_font_size: 17px !default $headline_h4_font_size: 17px !default
$headline_h4_font-color: #555555 !default $headline_h4_font-color: #555555 !default
$header_height: 55px !default $header_height: 55px !default
$header_bg_color: #3493B3 !default $header_bg_color: #3493B3 !default

@ -123,4 +123,3 @@
.jstb_img:before .jstb_img:before
content: "\e06c" content: "\e06c"

@ -85,4 +85,3 @@ ul.breadcrumb
#breadcrumb a.breadcrumb-project-title #breadcrumb a.breadcrumb-project-title
font-size: $breadcrumb_highlighted_font_size font-size: $breadcrumb_highlighted_font_size

@ -35,7 +35,7 @@
#settingsDropdown #settingsDropdown
margin: 10px 0 0 0 margin: 10px 0 0 0
.dropdown .dropdown
position: absolute position: absolute
z-index: 9999999 z-index: 9999999
@ -109,7 +109,7 @@
line-height: 18px line-height: 18px
padding: 3px 32px padding: 3px 32px
white-space: nowrap white-space: nowrap
.dropdown .dropdown-menu LI > A:hover, .dropdown .dropdown-menu LI > A:hover,
.dropdown .dropdown-menu LABEL:hover .dropdown .dropdown-menu LABEL:hover
background-color: #F0F0F0 background-color: #F0F0F0
@ -122,7 +122,7 @@
line-height: 18px line-height: 18px
padding: 3px 10px padding: 3px 10px
white-space: nowrap white-space: nowrap
.dropdown .dropdown-menu .dropdown-divider .dropdown .dropdown-menu .dropdown-divider
font-size: 1px font-size: 1px
@ -135,5 +135,3 @@
padding-left: 30px padding-left: 30px
background-position: 8px center background-position: 8px center
background-repeat: no-repeat background-repeat: no-repeat

@ -47,4 +47,3 @@
a a
text-decoration: underline text-decoration: underline
@include default-font-normal($footer_content_link_color) @include default-font-normal($footer_content_link_color)

@ -264,4 +264,3 @@ $toggler-width: 40px
border: none border: none
li a li a
padding: 0px padding: 0px

@ -32,9 +32,9 @@ See doc/COPYRIGHT.rdoc for more details.
#top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; } #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
#main { background: #fff; } #main { background: #fff; }
#content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;} #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
#wiki_add_attachment { display:none; } #wiki_add_attachment { display:none; }
.hide-when-print { display: none; } .hide-when-print { display: none; }
.autoscroll {overflow-x: visible;} .autoscroll {overflow-x: visible;}
table.list {margin-top:0.5em;} table.list {margin-top:0.5em;}
table.list th, table.list td {border: 1px solid #aaa;} table.list th, table.list td {border: 1px solid #aaa;}
} }

@ -38,18 +38,18 @@ body, #wrapper { direction: rtl;}
#top-menu li { float: right; } #top-menu li { float: right; }
.tabular label.floating .tabular label.floating
{ {
margin-right: 0; margin-right: 0;
margin-left: auto; margin-left: auto;
text-align: right; text-align: right;
} }
.tabular label .tabular label
{ {
float: right; float: right;
margin-left: auto; margin-left: auto;
} }
.tabular p .tabular p
{ {
clear: right; clear: right;
} }
.tabular label.block { text-align: right; } .tabular label.block { text-align: right; }
.icon .icon
@ -60,9 +60,9 @@ body, #wrapper { direction: rtl;}
} }
div#activity dt, #search-results dt div#activity dt, #search-results dt
{ {
background-position: 100% 50%; background-position: 100% 50%;
padding-right: 20px; padding-right: 20px;
padding-left: 0px; padding-left: 0px;
} }
#content .tabs ul li { float: right; } #content .tabs ul li { float: right; }
#content .tabs ul { padding-left: auto; padding-right: 1em; } #content .tabs ul { padding-left: auto; padding-right: 1em; }
@ -89,4 +89,3 @@ div#issue-changesets div.wiki { direction: ltr; padding-left: 2em }
#activity dt, .journal { clear: right; } #activity dt, .journal { clear: right; }
.journal-link { float: left; } .journal-link { float: left; }
div.wiki pre { direction: ltr; } div.wiki pre { direction: ltr; }

Loading…
Cancel
Save