Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

fix: Editor toolbar styling #52 #84

Merged
merged 2 commits into from Jan 10, 2017
Merged

fix: Editor toolbar styling #52 #84

merged 2 commits into from Jan 10, 2017

Conversation

theOrlin
Copy link
Contributor

This adds missing styles for the editor toolbar.

width: 100%;
height: 100%;
background-color: #000;
filter: alpha(opacity=50);
Copy link
Contributor

@gyoshev gyoshev Jan 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for filter, given our browser support.

}

.k-editor .k-editor-toolbar-wrap,
.k-ct-popup .k-editor-toolbar,
.k-header.k-window-content.k-content {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.k-header.k-window-content.k-content does not say much. Perhaps we need a more descriptive class, or to drop some of the selectors?

.k-ct-cell {
margin: $padding-y-sm / 2;
width: 20px;
height: 20px;
Copy link
Contributor

@gyoshev gyoshev Jan 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a relationship between the .k-ct-popup width and padding, and the .k-ct-cell margin / width and height? It may be appropriate to calculate it. E.g. .k-ct-popup { width: $cell-width * 10; } means there will be 11 cells in the popup.

@gyoshev
Copy link
Contributor

gyoshev commented Jan 10, 2017

Added some comments. Please assign reviewers when posting PRs, to keep each other up-to-date.

@gyoshev gyoshev merged commit c0b2e7c into master Jan 10, 2017
@gyoshev gyoshev deleted the editor-toolbar-styles branch January 10, 2017 14:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants