diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-04-02 23:42:27 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-04-02 23:42:27 +0300 |
| commit | e568af303505e37978b0c04589fcc4925ff01d39 (patch) | |
| tree | 6787a875fd295e5b0dc8976c8fa40715a0287319 /res/client/css/partials | |
| parent | 4f6caf9e9aab978c6dd64a29493f6e37a02c0a70 (diff) | |
task-alert.scss: format, use absolute positioning for close-button
Diffstat (limited to 'res/client/css/partials')
| -rw-r--r-- | res/client/css/partials/task-alert.scss | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/res/client/css/partials/task-alert.scss b/res/client/css/partials/task-alert.scss index 898183ea..95018d59 100644 --- a/res/client/css/partials/task-alert.scss +++ b/res/client/css/partials/task-alert.scss @@ -1,36 +1,36 @@ .task-alert{ - position:relative; - width: 100%; - min-height:$four-baselines; - text-align: center; - background-color: $light-cyan; - color: $darker-cyan; - border-top: 1px solid $dark-cyan; - border-bottom: 1px solid $dark-cyan; + position:relative; + width: 100%; + min-height: $four-baselines; + text-align: center; + background-color: $light-cyan; + color: $darker-cyan; + border-top: 1px solid $dark-cyan; + border-bottom: 1px solid $dark-cyan; } .task-desc{ - display: inline-block; - font-size: $h3-size; - padding: 15px 10px; - text-align: center; + display: inline-block; + font-size: $h3-size; + padding: 15px 10px; + text-align: center; } .task-close-button { - cursor: pointer; - font-size: $h4-size; - margin: 15px $doc-margin 15px 15px; - float: right; - width: $doc-margin; - text-align: right; + cursor: pointer; + font-size: $h4-size; + position: absolute; + right: 20px; + top: 15px; + width: $doc-margin; } .task-close-button:after { - content: " "; - min-height: $icon-height; - padding-right: $icon-height; - margin-left: 4px; - background: url(../img/close-alert-button.png); - background-position: center; - background-repeat: no-repeat; + content: " "; + min-height: $icon-height; + padding-right: $icon-height; + margin-left: 4px; + background: url(../img/close-alert-button.png); + background-position: center; + background-repeat: no-repeat; } |
