css: Extract popovers.css.

This commit is contained in:
Tim Abbott 2017-03-22 16:54:00 -07:00
parent 9b6e648acb
commit 5672618b82
3 changed files with 95 additions and 94 deletions

View File

@ -0,0 +1,93 @@
.popover {
width: auto;
}
.popover-title {
overflow-x: hidden;
text-overflow: ellipsis;
text-align: center;
font-size: inherit;
line-height: inherit;
}
.popover-title:empty {
display: none;
}
.popover_info {
text-align: center;
}
.popover hr {
margin-top: 5px;
margin-bottom: 5px;
}
.popover-left,
.popover-right {
max-width: 200px;
}
.streams_popover .popover_sub_unsub_button::after {
content: " Unsubscribe";
}
.streams_popover .sp-container {
background: white;
cursor: pointer;
border: none;
}
.sp-container {
z-index: 100;
}
.streams_popover .sp-palette-container {
border-right: none;
}
.streams_popover .colorpicker-container {
display: inline-block;
margin-right: 10px;
}
.streams_popover .popover_sub_unsub_button {
margin-top: 0px;
float: none;
}
ul.sender_info_popover i {
display: inline-block;
width: 14px;
text-align: center;
margin-right: 3px;
}
ul.actions_popover i {
display: inline-block;
width: 14px;
text-align: center;
margin-right: 3px;
}
.user_popover {
top: 100px!important;
margin: -15px;
}
.popover-avatar .popover-inner {
width: 240px;
}
.popover-avatar {
height: 240px;
width: 240px;
background-size: cover;
background-position: center;
margin-top: -8px;
margin-left: -14px;
margin-right: -8px;
margin-bottom: -8px;
position: relative;
}

View File

@ -1961,37 +1961,6 @@ div.floating_recipient {
color: red;
}
.popover {
width: auto;
}
.popover-title {
overflow-x: hidden;
text-overflow: ellipsis;
text-align: center;
font-size: inherit;
line-height: inherit;
}
.popover-title:empty {
display: none;
}
.popover_info {
text-align: center;
}
.popover hr {
margin-top: 5px;
margin-bottom: 5px;
}
.popover-left,
.popover-right {
max-width: 200px;
}
.hotkeys_table {
width: 245px;
margin-right: 10px;
@ -2090,34 +2059,6 @@ div.floating_recipient {
cursor: pointer;
}
.streams_popover .sp-container {
background: white;
cursor: pointer;
border: none;
}
.sp-container {
z-index: 100;
}
.streams_popover .sp-palette-container {
border-right: none;
}
.streams_popover .colorpicker-container {
display: inline-block;
margin-right: 10px;
}
.streams_popover .popover_sub_unsub_button {
margin-top: 0px;
float: none;
}
.streams_popover .popover_sub_unsub_button::after {
content: " Unsubscribe";
}
.stream_sub_unsub_button {
min-width: 140px;
margin-top: 9px;
@ -2620,38 +2561,3 @@ button.topic_edit_cancel {
margin-top: 10px;
}
}
ul.sender_info_popover i {
display: inline-block;
width: 14px;
text-align: center;
margin-right: 3px;
}
ul.actions_popover i {
display: inline-block;
width: 14px;
text-align: center;
margin-right: 3px;
}
.user_popover {
top: 100px!important;
margin: -15px;
}
.popover-avatar .popover-inner {
width: 240px;
}
.popover-avatar {
height: 240px;
width: 240px;
background-size: cover;
background-position: center;
margin-top: -8px;
margin-left: -14px;
margin-right: -8px;
margin-bottom: -8px;
position: relative;
}

View File

@ -705,6 +705,7 @@ PIPELINE = {
'styles/left-sidebar.css',
'styles/right-sidebar.css',
'styles/lightbox.css',
'styles/popovers.css',
'styles/pygments.css',
'third/thirdparty-fonts.css',
'styles/media.css',
@ -730,6 +731,7 @@ PIPELINE = {
'styles/left-sidebar.css',
'styles/right-sidebar.css',
'styles/lightbox.css',
'styles/popovers.css',
'styles/pygments.css',
'third/thirdparty-fonts.css',
'styles/fonts.css',