static-cms/src/index.css

377 lines
7.6 KiB
CSS
Raw Normal View History

2017-08-23 14:06:34 -04:00
@import "react-toolbox-global.css";
@import "./material-icons.css";
@import "./components/UI/theme.css";
@import "./backends/git-gateway/AuthenticationPage.css";
@import "./backends/github/AuthenticationPage.css";
@import "./components/AppHeader/AppHeader.css";
@import "./components/ControlPanel/ControlPane.css";
@import "./components/EntryEditor/EntryEditor.css";
@import "./components/EntryListing/EntryListing.css";
@import "./components/FindBar/FindBar.css";
@import "./components/PreviewPane/PreviewPane.css";
@import "./components/UI/Sticky/Sticky.css";
@import "./components/UI/card/Card.css";
@import "./components/UI/icon/Icon.css";
@import "./components/UI/loader/Loader.css";
@import "./components/UI/toast/Toast.css";
@import "./components/UI/Dialog/Dialog.css";
@import "./components/UnpublishedListing/UnpublishedListing.css";
@import "./components/UnpublishedListing/UnpublishedListingCardMeta.css";
@import "./components/Widgets/BooleanControl.css";
@import "./components/Widgets/FileControl.css";
@import "./components/Widgets/ListControl.css";
@import "./components/Widgets/Markdown/MarkdownControl/RawEditor/index.css";
@import "./components/Widgets/Markdown/MarkdownControl/Toolbar/Toolbar.css";
@import "./components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarButton.css";
@import "./components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarComponentsMenu.css";
@import "./components/Widgets/Markdown/MarkdownControl/Toolbar/ToolbarPluginForm.css";
@import "./components/Widgets/Markdown/MarkdownControl/VisualEditor/index.css";
@import "./components/Widgets/ObjectControl.css";
@import "./containers/App.css";
@import "./containers/CollectionPage.css";
@import "./containers/Sidebar.css";
@import "./components/MediaLibrary/MediaLibrary.css";
2016-09-15 18:53:24 +02:00
html {
box-sizing: border-box;
2016-07-07 19:20:53 -03:00
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
2016-07-14 17:17:18 -03:00
margin: 0;
2016-07-07 19:20:53 -03:00
}
2016-09-13 16:06:06 +02:00
2016-07-07 19:20:53 -03:00
*, *:before, *:after {
box-sizing: inherit;
}
2016-07-05 15:48:18 -03:00
body {
font-family: var(--fontFamilyPrimary);
height: 100%;
2017-04-28 10:52:46 -07:00
background-color: #fff;
2016-09-13 16:06:06 +02:00
color: #7c8382;
2016-07-14 17:17:18 -03:00
margin: 0;
}
2016-07-21 11:40:41 -03:00
h1, h2, h3, h4, h5, h6, p {
2016-07-14 17:17:18 -03:00
margin: 0;
font-family: var(--fontFamilyPrimary);
2016-07-14 17:17:18 -03:00
}
2016-08-31 11:05:03 -07:00
2016-09-13 16:06:06 +02:00
h1 {
margin: 30px auto 25px;
padding-bottom: 15px;
2017-04-29 17:13:45 -07:00
font-size: 24px;
font-weight: 800;
2017-04-29 15:14:57 -07:00
color: #313D3E;
letter-spacing: 0;
line-height: 24px;
2016-08-31 11:05:03 -07:00
}
2016-08-31 13:18:18 -07:00
2017-02-02 13:15:20 -08:00
img {
max-width: 100%;
}
.react-autosuggest__container {
position: relative;
}
.react-autosuggest__input {
width: 240px;
height: 30px;
padding: 10px 20px;
font-family: Helvetica, sans-serif;
font-weight: 300;
font-size: 16px;
border: 1px solid #aaa;
border-radius: 4px;
}
.react-autosuggest__input:focus {
outline: none;
}
.react-autosuggest__container--open .react-autosuggest__input {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.react-autosuggest__suggestions-container {
display: none;
}
.react-autosuggest__container--open .react-autosuggest__suggestions-container {
display: block;
position: absolute;
top: 51px;
width: 100%;
border: 1px solid #aaa;
background-color: #fff;
font-family: Helvetica, sans-serif;
font-weight: 300;
font-size: 16px;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
z-index: 2;
}
.react-autosuggest__suggestions-list {
margin: 0;
padding: 0;
list-style-type: none;
}
.react-autosuggest__suggestion {
cursor: pointer;
padding: 10px 20px;
}
.react-autosuggest__suggestion--focused {
background-color: #ddd;
}
.Resizer {
background: #000;
opacity: .2;
z-index: 1;
box-sizing: border-box;
background-clip: padding-box;
}
.Resizer:hover {
-webkit-transition: all 2s ease;
transition: all 2s ease;
}
.Resizer.vertical {
width: 11px;
margin: 0 -5px;
border-left: 5px solid rgba(255, 255, 255, 0);
border-right: 5px solid rgba(255, 255, 255, 0);
cursor: col-resize;
}
.Resizer.vertical:hover {
border-left: 5px solid rgba(0, 0, 0, 0.5);
border-right: 5px solid rgba(0, 0, 0, 0.5);
}
.Resizer.disabled {
cursor: not-allowed;
}
.Resizer.disabled:hover {
border-color: transparent;
}
.rdt {
position: relative;
}
.rdtPicker {
display: none;
position: absolute;
width: 250px;
padding: 4px;
margin-top: 1px;
z-index: 99999 !important;
background: #fff;
border: 2px solid var(--secondaryColor);
border-radius: 2px;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .16);
}
.rdtOpen .rdtPicker {
display: block;
}
.rdtStatic .rdtPicker {
box-shadow: none;
position: static;
}
.rdtPicker .rdtTimeToggle {
text-align: center;
}
.rdtPicker table {
width: 100%;
margin: 0;
}
.rdtPicker td,
.rdtPicker th {
text-align: center;
height: 28px;
}
.rdtPicker td {
cursor: pointer;
}
.rdtPicker td.rdtDay:hover,
.rdtPicker td.rdtHour:hover,
.rdtPicker td.rdtMinute:hover,
.rdtPicker td.rdtSecond:hover,
.rdtPicker .rdtTimeToggle:hover {
background: #eeeeee;
cursor: pointer;
}
.rdtPicker td.rdtOld,
.rdtPicker td.rdtNew {
color: #999999;
}
.rdtPicker td.rdtToday {
position: relative;
}
.rdtPicker td.rdtToday:before {
content: '';
display: inline-block;
border-left: 7px solid transparent;
border-bottom: 7px solid #428bca;
border-top-color: rgba(0, 0, 0, 0.2);
position: absolute;
bottom: 4px;
right: 4px;
}
.rdtPicker td.rdtActive,
.rdtPicker td.rdtActive:hover {
background-color: #428bca;
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.rdtPicker td.rdtActive.rdtToday:before {
border-bottom-color: #fff;
}
.rdtPicker td.rdtDisabled,
.rdtPicker td.rdtDisabled:hover {
background: none;
color: #999999;
cursor: not-allowed;
}
.rdtPicker td span.rdtOld {
color: #999999;
}
.rdtPicker td span.rdtDisabled,
.rdtPicker td span.rdtDisabled:hover {
background: none;
color: #999999;
cursor: not-allowed;
}
.rdtPicker th {
border-bottom: 1px solid #f9f9f9;
}
.rdtPicker .dow {
width: 14.2857%;
border-bottom: none;
}
.rdtPicker th.rdtSwitch {
width: 100px;
}
.rdtPicker th.rdtNext,
.rdtPicker th.rdtPrev {
font-size: 21px;
vertical-align: top;
}
.rdtPrev span,
.rdtNext span {
display: block;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none;
}
.rdtPicker th.rdtDisabled,
.rdtPicker th.rdtDisabled:hover {
background: none;
color: #999999;
cursor: not-allowed;
}
.rdtPicker thead tr:first-child th {
cursor: pointer;
}
.rdtPicker thead tr:first-child th:hover {
background: #eeeeee;
}
.rdtPicker tfoot {
border-top: 1px solid #f9f9f9;
}
.rdtPicker button {
border: none;
background: none;
cursor: pointer;
}
.rdtPicker button:hover {
background-color: #eee;
}
.rdtPicker thead button {
width: 100%;
height: 100%;
}
td.rdtMonth,
td.rdtYear {
height: 50px;
width: 25%;
cursor: pointer;
}
td.rdtMonth:hover,
td.rdtYear:hover {
background: #eee;
}
.rdtCounters {
display: inline-block;
}
.rdtCounters > div {
float: left;
}
.rdtCounter {
height: 100px;
}
.rdtCounter {
width: 40px;
}
.rdtCounterSeparator {
line-height: 100px;
}
.rdtCounter .rdtBtn {
height: 40%;
line-height: 40px;
cursor: pointer;
display: block;
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Chrome/Safari/Opera */
-khtml-user-select: none; /* Konqueror */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none;
}
.rdtCounter .rdtBtn:hover {
background: #eee;
}
.rdtCounter .rdtCount {
height: 20%;
font-size: 1.2em;
}
.rdtMilli {
vertical-align: middle;
padding-left: 8px;
width: 48px;
}
.rdtMilli input {
width: 100%;
font-size: 1.2em;
margin-top: 37px;
2016-09-11 23:08:18 +02:00
}