Ghost/ghost/admin/app/styles/components/publishmenu.css

296 lines
5.7 KiB
CSS
Raw Normal View History

2017-03-11 14:23:44 +03:00
/* Publish Menu
/* ---------------------------------------------------------- */
.gh-publishmenu-trigger {
color: var(--blue);
border: none;
cursor: pointer;
text-shadow: none;
background: none;
box-shadow: none;
}
.gh-publishmenu-trigger:hover {
background: none;
box-shadow: none;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-trigger svg {
height: 8px;
width: 8px;
}
.gh-publishmenu-trigger svg path {
stroke: var(--blue);
stroke-width: 1px;
}
2017-03-11 14:23:44 +03:00
.gh-publishmenu-trigger:focus {
outline: 0;
}
.gh-publishmenu {
position: relative;
z-index: 1000;
display: flex;
align-items: center;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-dropdown {
position: absolute;
top: 100%;
right: 0;
2017-03-11 14:23:44 +03:00
margin: 5px 0 20px 0;
2019-11-08 07:46:38 +03:00
padding: 0px;
2019-11-07 07:32:10 +03:00
width: 320px;
2017-03-11 14:23:44 +03:00
background-color: #fff;
background-clip: padding-box;
border-radius: 4px;
2019-11-08 07:46:38 +03:00
box-shadow: 0 0 0 1px rgba(99,114,130,0.06), 0 8px 16px rgba(27,39,51,0.08);
2017-03-11 14:23:44 +03:00
list-style: none;
text-align: left;
text-transform: none;
font-size: 1.4rem;
font-weight: normal;
will-change: transform, opacity;
z-index: 99999; /* needs to sit on top of preview modal */
}
.gh-publishmenu-dropdown.ember-basic-dropdown--transitioning-in {
animation: fade-in-scale 0.2s;
animation-fill-mode: forwards;
}
.gh-publishmenu-dropdown.ember-basic-dropdown--transitioning-out {
animation: fade-out 0.5s;
animation-fill-mode: forwards;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-heading {
margin: 0 0 15px 0;
2019-11-08 07:46:38 +03:00
padding: 20px 20px 0;
2017-03-11 14:23:44 +03:00
font-size: 1.8rem;
2019-11-08 12:46:03 +03:00
line-height: 1.25em;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-content {
border-bottom: var(--lightgrey) 1px solid;
}
.gh-publishmenu-footer {
2019-11-08 07:46:38 +03:00
margin: 15px 0 0 0;
padding: 0 20px 20px;
2017-03-11 14:23:44 +03:00
display: flex;
align-items: center;
justify-content: flex-end;
}
.gh-publishmenu-button {
float: right;
margin-left: 8px;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-radio {
display: flex;
2019-11-08 07:46:38 +03:00
margin: 20px 0;
}
.gh-publishmenu-section {
padding: 0 20px;
border-top: var(--lightgrey) 1px solid;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-radio-button {
flex-shrink: 0;
position: relative;
width: 15px;
height: 15px;
border: color-mod(var(--lightgrey) l(-10%)) 1px solid;
2017-03-11 14:23:44 +03:00
border-radius: 100%;
background: #fff;
}
.gh-publishmenu-radio-content {
display: flex;
flex-direction: column;
margin: 0 0 0 15px;
width: 100%;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-radio-label {
2019-11-06 14:33:43 +03:00
display: block;
2017-03-11 14:23:44 +03:00
font-size: 1.4rem;
line-height: 1.2em;
font-weight: 500;
}
.gh-publishmenu-radio-desc {
font-size: 1.3rem;
line-height: 1.4em;
2019-11-22 13:53:57 +03:00
font-weight: 300;
color: color-mod(var(--midgrey) l(+10%));
2019-11-07 07:32:10 +03:00
margin-top: 2px;
2017-03-11 14:23:44 +03:00
}
.gh-publishmenu-radio-label:hover,
.gh-publishmenu-radio-button:hover {
cursor: pointer;
}
.gh-publishmenu-radio.active .gh-publishmenu-radio-button {
border-color: color-mod(var(--blue) l(-12%));
2017-03-11 14:23:44 +03:00
background: var(--blue);
}
.gh-publishmenu-radio.active .gh-publishmenu-radio-button:before {
display: block;
content: "";
position: absolute;
top: 3px;
left: 3px;
width: 7px;
height: 7px;
background: #fff;
border-radius: 100%;
box-shadow: rgba(0,0,0,0.25) 0 1px 3px;
}
.gh-date-time-picker {
2017-03-11 14:23:44 +03:00
display: flex;
align-items: center;
justify-content: space-between;
}
.gh-date-time-picker .ember-basic-dropdown{
width: 100%;
}
2017-03-11 14:23:44 +03:00
.gh-date-time-picker-date,
.gh-date-time-picker-time {
2017-03-11 14:23:44 +03:00
display: flex;
align-items: center;
position: relative;
height: 32px;
2017-03-11 14:23:44 +03:00
margin: 7px 0 4px;
padding: 6px 8px;
border: var(--input-border);
2017-03-11 14:23:44 +03:00
border-radius: 3px;
transition: border-color 0.15s linear;
background: var(--input-bg-color);
2017-03-11 14:23:44 +03:00
}
.gh-date-time-picker-time {
2017-03-11 14:23:44 +03:00
margin-left: 10px;
width: calc(100% - 4px);
2017-03-11 14:23:44 +03:00
}
.gh-date-time-picker-date.error,
.gh-date-time-picker-time.error {
border-color: var(--red);
}
.gh-date-time-picker input {
2017-03-11 14:23:44 +03:00
display: block;
padding: 0;
width: 100%;
border: none;
color: color-mod(var(--midgrey) l(-18%));
2017-03-11 14:23:44 +03:00
font-size: 1.3rem;
line-height: 1em;
font-weight: 400;
user-select: text;
background: transparent;
2017-03-11 14:23:44 +03:00
-webkit-appearance: none;
}
.gh-date-time-picker input:focus {
outline: 0;
2017-03-11 14:23:44 +03:00
}
.gh-date-time-picker-date:focus,
.gh-date-time-picker-time:focus {
border-color: color-mod(var(--lightgrey) l(-15%) s(-10%));
2017-03-11 14:23:44 +03:00
}
.gh-date-time-picker-date svg {
width: 14px;
2017-03-11 14:23:44 +03:00
height: 14px;
fill: color-mod(var(--midgrey) l(+15%));
2017-03-11 14:23:44 +03:00
}
.gh-date-time-picker-timezone {
2017-03-11 14:23:44 +03:00
font-size: 1.1rem;
2019-11-22 13:53:57 +03:00
font-weight: 300;
color: color-mod(var(--midgrey) l(+17%));
margin-left: -30px;
2017-03-11 14:23:44 +03:00
}
.gh-date-time-picker-error {
display: block;
font-size: 1.3rem;
line-height: 1.4em;
2019-11-22 13:53:57 +03:00
font-weight: 300;
color: var(--red);
}
2019-11-06 07:01:42 +03:00
2019-11-08 07:46:38 +03:00
.gh-publishmenu-email {
margin: 15px 0;
justify-content: space-between;
align-items: center;
}
2019-11-06 07:01:42 +03:00
.for-checkbox .gh-publishmenu-email-checkbox {
margin-right: 0;
2019-11-07 07:32:10 +03:00
margin-top: -2px;
2019-11-06 07:01:42 +03:00
background: var(--white);
}
2019-11-07 09:21:14 +03:00
.gh-publishmenu-email-label.disabled {
pointer-events: none;
}
2019-11-08 07:46:38 +03:00
.gh-publishmenu-content .for-switch.pe-none {
opacity: 0.6;
2019-11-08 12:46:03 +03:00
}
.gh-publishmenu-email-info {
margin: 15px 0;
color: var(--midgrey);
}
.gh-publishmenu-send-to-option {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.gh-publishmenu-send-to-option p {
color: var(--darkgrey);
margin: 0;
}
.gh-publishmenu-send-to-option .for-switch {
line-height: 1;
}
.gh-publishmenu-send-to-option .for-switch label {
margin: 0;
width: 38px !important;
height: 22px !important;
}
.gh-publishmenu-emailcount {
color: var(--midlightgrey);
}
.gh-publishmenu-checkbox-disabled {
color: var(--midlightgrey);
opacity: 0.6;
pointer-events: none;
}
.gh-publishmenu-checkbox-disabled p {
color: var(--midgrey) !important;
}