OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/assets/stylesheets/content/_modal.sass

115 lines
2.1 KiB

$ng-modal-padding: 3em
$ng-modal-background: $base-body-color
$ng-modal-close-color: $light-gray
$ng-modal-image-height: 135px
$ng-modal-image-width: $ng-modal-image-height
// Based on code by Kasper Mikiewicz
.ng-modal-open
overflow: hidden
.ng-modal-window
// overlay
+position(fixed, 0px 0px 0px 0px)
background: rgba(0, 0, 0, 0.5)
text-align: left
z-index: 10000
.ng-modal-bg
+position(absolute, 0px 0px 0px 0px)
cursor: pointer
&.ng-enter
+transition(opacity 0.25s ease)
opacity: 0
visibility: hidden
&.ng-enter.ng-enter-active
opacity: 1
visibility: visible
.ng-modal-inner
top: 0
.ng-modal-inner
+transition(opacity 0.25s ease)
background: $ng-modal-background
margin: auto
max-height: 95%
position: relative
overflow: auto
width: 95%
padding: $ng-modal-padding / 2
margin-top: .6em
//+media($medium-screen)
//padding: $ng-modal-padding
//width: 50%
//max-height: 50%
//margin-top: 10em
//+media($large-screen)
width: 40%
margin-top: 10em
.modal-header
padding: 0
i
float: right
cursor: pointer
label
padding: 0 50px 0 0
& > input
margin-left: 50px
input
width: 230px
height: 30px
line-height: 30px
padding: 0 5px
background: #ffffff
border: 1px solid #cacaca
font-size: 13px
color: #222222
border-radius: 2px
button
margin: 30px 7px 0 0
.select2-container
margin: 0 0 10px 0
#modal-sorting
.select2-container
@media(max-width: 1800px)
width: 280px
@media(max-width: 1400px)
width: 230px
@media(max-width: 1100px)
width: 160px
@media(max-width: 800px)
width: 120px
ul.export-options
margin: 0
padding: 0
list-style-type: none
li
float: left
margin: 0 40px 20px 0
text-align: center
cursor: pointer
a
display: block
text-decoration: none
color: $global_font_color
font-weight: normal
&:hover, &:active
text-decoration: none
color: $global_font_color
label
display: block